Commit Graph

104 Commits

Author SHA1 Message Date
obrien
236192998a Raw devices are now the normal device name, not prefixed with 'r'. 2000-04-19 18:51:28 +00:00
kato
08de6c23e6 Changes for PC-98. 2000-03-29 15:10:28 +00:00
charnier
d3e67e05d3 lowercase error message 2000-03-26 15:14:16 +00:00
imp
7490d23031 Fix fd leak in libdisk's Disk_Names() 2000-03-10 22:54:04 +00:00
jlemon
3aed83ac7e Fix pointer addition bug (3 -> 4).
Submitted by:	 david.w.james@bt.com
2000-03-09 15:05:20 +00:00
jlemon
0979b5871c Correct device naming for IDA disk nodes (idad) 2000-03-08 18:14:02 +00:00
jkh
0f7850f3bd Hide more debugging behind isDebug(); what's currently
spewing out will only alarm people.
2000-02-18 03:06:43 +00:00
rgrimes
7e1486bf06 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
phk
f28edb7136 Just on the off-chance that somebody might use libdisk in a totally
lobotomized environment, say booted from a floppy with no /etc full
of password and group files, give sensible fallbacks for roots uid
and operators gid.

This might fix sysinstall.
1999-12-22 19:06:29 +00:00
jkh
d8dffce1b6 Catch up to the fact that block devices are toast.
Teach about the afd driver.
Teach new char dev for ad driver.
Make ownerships correct.

Submitted by:	jhb
1999-12-15 08:33:56 +00:00
msmith
027e862956 Remove 'sd' support. SCSI disks are known as 'da' these days. 1999-11-27 21:20:57 +00:00
phk
fac9222e39 Remove BAD144 support 1999-11-27 14:33:30 +00:00
msmith
44d68af88d Teach libdisk about the AMI and Mylex RAID drivers. You should be able
to install directly to arrays managed by these controllers now.
1999-11-02 03:40:14 +00:00
phantom
c556b18f65 fix couple mdoc error
mention library name in header (.Nd field) - it allows to use "man -k libdisk"
1999-10-28 15:42:48 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
msmith
d8cfa84e80 Merge from -stable; support for the 'ida' driver, move fla to major 102 1999-07-05 09:43:29 +00:00
msmith
883bf21445 Fix my own Pie Floater.
(Correctly handle 'wd' devices)
1999-05-12 23:50:50 +00:00
dfr
4536a3279d Back out the last change to disk.c - a kernel change removed the need.
Enabled writing to the disklabel when writing a disk (only affects alpha).
1999-05-09 11:34:58 +00:00
dfr
cf57941de6 Make libdisk see the existing partitiions on the alpha. 1999-05-08 21:21:50 +00:00
msmith
7cdcf31fad Clean up after another half-Danish.
Add 'ad' as another known disk driver of the same kind as 'wd'.
1999-05-04 22:44:48 +00:00
imp
f1f37e06fc More egcs warning fixes:
o use braces to avoid potentially ambiguous else
	o don't default to type int (and also remove a useless register
	  modifier).
	o Use parens around assignment values used as truth values.
	o Remove unused function.

Reviewed by: obrien and chuckr
1999-04-25 22:29:30 +00:00
jkh
c2e0a94cf6 More support for Alpha installs.
Submitted by:   dfr
1999-01-29 11:39:24 +00:00
phk
5333d73643 Bring us one step closer to sysinstall'ing on a DOC2k device. 1999-01-14 21:48:13 +00:00
jkh
b129238b19 Changes for alpha support.
Submitted by:	dfr
1999-01-08 00:32:19 +00:00
jkh
eb44c2f146 Eliminate all dependence on boot1 and boot2. This is passed in by
Set_Boot_Blocks() anyway and should thus have never been a part of
libdisk, it should have been provided by the client of libdisk since
passing the information in is already part of the API.
1998-12-31 02:35:43 +00:00
jkh
509bf72ab8 Transition libdisk to use /boot since what it's looking for (boot1 and boot2)
are now there.
1998-12-30 13:29:11 +00:00
bde
5a3f3b65eb Backed out previous commit. It depends on a.out utilities and libraries
somehow being available even on pure elf systems.
1998-12-30 12:06:08 +00:00
bde
11ee3cc9f6 Fixed bootstrapping of /usr/mdec/boot[12]. 1998-12-30 11:26:24 +00:00
phk
df2885f059 Add "fla" to Disk_Names() 1998-12-19 18:48:33 +00:00
msmith
e695d3b3f2 Fixes for handling 'wfd' (and any other disk with a non-2-character name)
Submitted by:	Some from Satoh Junichi (junichi@astec.co.jp)
1998-10-27 21:14:03 +00:00
dfr
e01c61b501 Teach libdisk about alpha boot blocks. 1998-10-06 11:57:08 +00:00
jkh
6e4324cb4b Eliminate unaligned access on Alpha and also neaten up this code a little.
Submitted by:	dfr
1998-09-30 21:40:51 +00:00
gibbs
d81106c34e Remove references to the "od" device. 1998-09-15 10:23:17 +00:00
jdp
6b386e4816 Extend the existing hackery to set the disk type to SCSI for the
"da" and "od" devices.  Formerly ESDI was used for them, causing
problems for fresh installations of CAM systems.
1998-06-27 02:01:25 +00:00
jkoshy
93bb25d88b Spelling corrections.
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00
obrien
a8f52629d7 Add new NetBSD FFS with FDISK partition ID 0xa9
Obtained from:	Frank van der Linden <frank@wins.uva.nl>
1998-05-19 11:15:44 +00:00
obrien
a5ecfdf0d2 Change an arbitarly hardcoded `10' to MAX_NO_DISKS, which is currently "20".
Otherwise can't see sd10 (obtained using wired down sd unit numbers),
reguardless of the number of actual disks you have.
1998-05-15 21:17:01 +00:00
jkh
accb36828d Add Compaq & SCO partition types.
PR:		6092
Submitted by:	Drew Derbyshire <ahd@kew.com>
1998-03-22 07:41:23 +00:00
jkh
f645e98460 MF22: teach about LS-120 devices. 1998-03-20 23:43:04 +00:00
charnier
46f7bb5b5b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq 1998-03-19 07:34:22 +00:00
ache
2157ecc86d Add more AIX/DOS/Win95 partition types 1998-03-14 21:14:31 +00:00
ache
946b6b0c98 Add primary fat-32 1998-03-07 08:45:46 +00:00
obrien
de9fafafa5 Reconized OpenBSD partitions. 1998-03-05 03:08:16 +00:00
jkh
99d9b60dd4 Be more verbose if we can't determine device major/minor. 1998-02-10 17:19:12 +00:00
bde
260d71f280 Fixed #includes in the synopsis and in an example. <sys/socket.h>
isn't a prerequisite, since it isn't required for the prototypes
and isn't always needed to call the functions (the address family
might be a variable).
1998-01-20 11:03:15 +00:00
jkh
7afbd8f11b Non-intrusive changes to support Justin's CAM stuff. 1998-01-16 12:50:36 +00:00
jdp
d83073a6b8 Fix erroneous format string. 1997-11-18 05:34:45 +00:00
bde
18f4e7d7bd Fixed this header to compile with gcc -pedantic -Werror (removed comma
at end of enum).
1997-03-19 01:54:04 +00:00
peter
3447762204 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
obrien
50a88ec0cc Adds slice_type_name() which extends chunk_n[] for subtype's too.
Curorary review by:	phk
1997-01-23 06:29:01 +00:00