David E. O'Brien
6cb66086a5
MFC rev 1.35
1998-05-19 11:16:41 +00:00
David E. O'Brien
408c25a375
MFC rev 1.34
1998-05-15 21:18:59 +00:00
Jordan K. Hubbard
632da78512
Shorten names, add freebsd alias for a tweaked freebsd partition ID (some
...
popular boot manager likes to OR in 16).
Submitted by: Drew Derbyshire <[email protected] >
1998-03-23 03:28:04 +00:00
Jordan K. Hubbard
b908a7017e
MFC: PR#6092
1998-03-22 07:41:49 +00:00
Jordan K. Hubbard
9f918aee67
Deal with device names > 2 chars in length.
1998-03-21 00:32:20 +00:00
Jordan K. Hubbard
534868f7e8
Teach libdisk about wfd drives.
1998-03-20 23:27:20 +00:00
Andrey A. Chernov
085c0b8eca
MFC: more partition types
1998-03-14 21:15:52 +00:00
Andrey A. Chernov
8185204e06
MFC: add "da" device to devices list
...
MFC: add primary fat-32
1998-03-07 22:04:12 +00:00
David E. O'Brien
56f0dfd16e
MFC rev 1.29.
1998-03-05 03:08:57 +00:00
Jordan K. Hubbard
e954be3560
MFC: style points.
1998-02-17 20:02:54 +00:00
Jordan K. Hubbard
9b14c24177
MFC: verbose major/minor check.
1998-02-10 17:19:52 +00:00
John Polstra
ae9a28ea86
Merge from main branch 1.18 -> 1.19: Fix erroneous format string.
1997-11-18 05:35:48 +00:00
Jordan K. Hubbard
609f1afc83
Merge slicing naming changes from -current.
1997-01-24 21:08:30 +00:00
Joerg Wunsch
03ae2d20fd
YAMFC
1996-12-14 11:59:07 +00:00
Poul-Henning Kamp
f1709b7eea
YAMFC
1996-11-28 22:07:16 +00:00
Peter Wemm
c5c878699b
cmp -s || install -c ==> install -C
1996-08-30 01:51:09 +00:00
Jordan K. Hubbard
aa6e3d23d0
Cast lseek arguments appropriately.
...
Submitted-By: "Frank ten Wolde" <[email protected] >
1996-07-09 12:17:46 +00:00
Bruce Evans
078a9c9415
Removed -g from CFLAGS.
1996-06-23 13:11:59 +00:00
Wolfram Schneider
9fb933075e
`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
Jordan K. Hubbard
4f3fd9ad3f
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
Jordan K. Hubbard
d402093152
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 Wunsch
e2c8e21d6b
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
Jordan K. Hubbard
198c323e44
Fix bogus MLINKS line. When is the old libdisk going to go away, BTW?
1996-03-18 15:15:42 +00:00
Joerg Wunsch
6db03f75e4
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 Wemm
635d02db6f
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 Wemm
40b0c0d936
Update the -current sources from the 2.1 branch.
...
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
David Greenman
bdc3c66075
Brought in changes from rev 1.14.2.1 into main branch.
1995-08-26 04:57:03 +00:00
Rodney W. Grimes
d3628763db
Merge RELENG_2_0_5 into HEAD
1995-06-11 19:33:05 +00:00
Rodney W. Grimes
e5370bd7fe
Remove trailing whitespace.
1995-05-30 08:29:07 +00:00
Poul-Henning Kamp
6331da9711
Remove Ontrack special from All_FreeBSD().
...
Add chunk->disk pointer.
1995-05-25 06:14:49 +00:00
Jordan K. Hubbard
2f2a4e7a4a
Align slices to cylinder boundries.
...
Submitted By: phk
1995-05-24 08:59:40 +00:00
Poul-Henning Kamp
c5cc77ec44
Fix a typo, now there should always be an active slice.
1995-05-21 07:47:24 +00:00
Poul-Henning Kamp
13da1b0612
Do not allocate the first track.
1995-05-20 19:11:44 +00:00
Poul-Henning Kamp
739618d119
Remove two printfs before Jordan has a fit over them.
1995-05-18 22:25:37 +00:00
Poul-Henning Kamp
86577745c3
Fixed the calculation of the reserved space for bad144. Thanks Rod!
1995-05-15 19:03:08 +00:00
Poul-Henning Kamp
ff88273903
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
Poul-Henning Kamp
7b92fbb848
Added MakeDevDisk(struct disk*, char *path);
...
fixed bug in extended slice naming.
1995-05-12 18:50:00 +00:00
Poul-Henning Kamp
8f9c995787
Get the CHUNK_COMPAT_BSD flag right.
1995-05-11 05:22:54 +00:00
Poul-Henning Kamp
59618a8666
Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.
1995-05-10 05:57:04 +00:00
Poul-Henning Kamp
d81adf1ebe
Recognize slice type #6 as dos
...
handle OnTrack Disk manager correctly.
1995-05-08 02:08:33 +00:00
Poul-Henning Kamp
fccc689116
Add check for rootfs > cyl 1024.
1995-05-08 01:34:31 +00:00
Poul-Henning Kamp
c0b8ca15f5
I bet Jordan is tearing his hair out, trying to figure the previous patch
...
out... here is the real thing.
1995-05-08 01:26:47 +00:00
Poul-Henning Kamp
f768aaceb4
Fix bug.
1995-05-08 00:44:46 +00:00
Jordan K. Hubbard
5ff77a9985
Whoops! An extra paren somehow got in there. Fixed.
1995-05-07 01:28:16 +00:00
Jordan K. Hubbard
3906ebee12
Always zero new chunks - keeps things like the private structures from having
...
bogus data in them.
1995-05-07 01:25:22 +00:00
Poul-Henning Kamp
b83d7daff4
General sanitation and cleanup. Killed the "reserved" type, it wasn't.
1995-05-06 03:28:32 +00:00
Poul-Henning Kamp
0be90238f6
If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we will
...
align this chunk properly. Have at it Jordan...
1995-05-05 07:07:45 +00:00
Poul-Henning Kamp
e9851d87a8
Make the partitions names even more sensible
...
CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
1995-05-04 07:00:57 +00:00
Poul-Henning Kamp
afb3a9c529
Add the private void *pointer to the chunks, and the functions to manage it.
...
Make the reassignment of partition names less bogus.
1995-05-03 22:36:52 +00:00
Jordan K. Hubbard
a7a5bb1246
Export the chunk names properly.
1995-05-03 17:38:00 +00:00