Commit Graph

75 Commits

Author SHA1 Message Date
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
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
fc49e1a7f9 Close PR#2198:
I've added an installation from optical disk drive facility.
	This enables FreeBSD to be installed from an optical disk, which
	may be formatted in "super floppy" style or sliced into MSDOS-FS
	and UFS partitions.

	Note:  ncr.c should be reviewed by Stefan Esser <se@freebsd.org>
	and cd.c by Joerg Wunsch <joerg@freebsd.org> before bringing this
	into 2.2.

Submitted-By: Shunsuke Akiyama <akiyama@kme.mei.co.jp>
1996-12-13 07:55:14 +00:00
phk
6fe3523b33 Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better. 1996-11-27 22:44:43 +00:00
peter
922fb4c05a cmp -s || install -c ==> install -C 1996-08-30 01:51:09 +00:00
jkh
a0dc234108 Cast lseek arguments appropriately.
Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
1996-07-09 12:17:46 +00:00
bde
7bf08fa027 Removed -g from CFLAGS. 1996-06-23 13:11:59 +00:00
wosch
5c15c67589 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
jkh
b80215eb1c Fix mis-declared static arrays that made sysinstall SEGV in
Set_Boot_Blocks().  Boy, this one had me tearing my hair out!
I hate how the loader distinguishes between `extern char *foo' and
`extern char foo[]' sometimes! :-)
1996-04-29 06:45:33 +00:00
jkh
651486babf Move some warn()'s into DEBUG space since I don't need them coming
out in my curses interfaces and spamming my screen.
1996-04-29 05:03:02 +00:00
joerg
cd7a57c7c6 Make libdisk C++ aware:
- add __BEGIN_DECLS and __END_DECLS,
- add a bunch of ``const'' qualifiers all over the place,
- rename the `private' struct member into `private_data' to avoid the
  clash with the C++ keyword.
1996-03-24 18:55:39 +00:00
jkh
39a2361e7b Fix bogus MLINKS line. When is the old libdisk going to go away, BTW? 1996-03-18 15:15:42 +00:00
joerg
278e19b11f libdisk is now `adult':
. install libdisk.h into /usr/include
. add a (preliminary) manpage, mostly featured after phk's comments
  in libdisk.h
1996-03-17 23:20:09 +00:00
peter
b85cca6b4e Repository copy src/release/libdisk to src/lib/libdisk as per recent
discussion on -core about disk partitioning tools etc.

Add NOPIC=yes to Makefile to prevent any possibility of version mismatch
because of the potential grave consequences. (as suggested by phk)

Note that this is also on RELENG_2_1_0, since the sysinstall stuff is
hopefully going to remain in sync.
1996-03-17 19:02:07 +00:00
peter
ae9bf15783 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
dg
65482ae0f6 Brought in changes from rev 1.14.2.1 into main branch. 1995-08-26 04:57:03 +00:00
rgrimes
8f6e1a9b69 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
rgrimes
53a5a3530d Remove trailing whitespace. 1995-05-30 08:29:07 +00:00
phk
3537558970 Remove Ontrack special from All_FreeBSD().
Add chunk->disk pointer.
1995-05-25 06:14:49 +00:00
jkh
8bb242c874 Align slices to cylinder boundries.
Submitted By: phk
1995-05-24 08:59:40 +00:00
phk
79b61c2c1f Fix a typo, now there should always be an active slice. 1995-05-21 07:47:24 +00:00
phk
99877d15b5 Do not allocate the first track. 1995-05-20 19:11:44 +00:00
phk
f2c8791ce8 Remove two printfs before Jordan has a fit over them. 1995-05-18 22:25:37 +00:00
phk
eaab6089f5 Fixed the calculation of the reserved space for bad144. Thanks Rod! 1995-05-15 19:03:08 +00:00
phk
e0d1c787ee Create_Chunk_DWIM will not allocate anything in the last cylinder of a
CHUNK_BAD144 slice.
Also mknod the 'c' partition for freebsd slices, so bad144(8) will have
something to work on.
1995-05-15 00:58:25 +00:00
phk
a14915bc29 Added MakeDevDisk(struct disk*, char *path);
fixed bug in extended slice naming.
1995-05-12 18:50:00 +00:00
phk
6bc5425294 Get the CHUNK_COMPAT_BSD flag right. 1995-05-11 05:22:54 +00:00
phk
0745688e91 Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies. 1995-05-10 05:57:04 +00:00
phk
e9cc7d7082 Recognize slice type #6 as dos
handle OnTrack Disk manager correctly.
1995-05-08 02:08:33 +00:00
phk
03e2607a10 Add check for rootfs > cyl 1024. 1995-05-08 01:34:31 +00:00