aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk
Commit message (Collapse)AuthorAgeFilesLines
* Add Compaq & SCO partition types.Jordan K. Hubbard1998-03-221-1/+3
| | | | | | | | PR: 6092 Submitted by: Drew Derbyshire <ahd@kew.com> Notes: svn path=/head/; revision=34776
* MF22: teach about LS-120 devices.Jordan K. Hubbard1998-03-202-3/+5
| | | | Notes: svn path=/head/; revision=34729
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.AqPhilippe Charnier1998-03-191-3/+4
| | | | Notes: svn path=/head/; revision=34669
* Add more AIX/DOS/Win95 partition typesAndrey A. Chernov1998-03-141-4/+12
| | | | Notes: svn path=/head/; revision=34579
* Add primary fat-32Andrey A. Chernov1998-03-071-1/+3
| | | | Notes: svn path=/head/; revision=34148
* Reconized OpenBSD partitions.David E. O'Brien1998-03-051-1/+3
| | | | Notes: svn path=/head/; revision=34037
* Be more verbose if we can't determine device major/minor.Jordan K. Hubbard1998-02-101-1/+2
| | | | Notes: svn path=/head/; revision=33219
* Fixed #includes in the synopsis and in an example. <sys/socket.h>Bruce Evans1998-01-201-2/+2
| | | | | | | | | 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). Notes: svn path=/head/; revision=32647
* Non-intrusive changes to support Justin's CAM stuff.Jordan K. Hubbard1998-01-162-3/+5
| | | | Notes: svn path=/head/; revision=32558
* Fix erroneous format string.John Polstra1997-11-181-2/+2
| | | | Notes: svn path=/head/; revision=31222
* Fixed this header to compile with gcc -pedantic -Werror (removed commaBruce Evans1997-03-191-2/+2
| | | | | | | at end of enum). Notes: svn path=/head/; revision=24014
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-2212-12/+12
| | | | Notes: svn path=/head/; revision=22993
* Adds slice_type_name() which extends chunk_n[] for subtype's too.David E. O'Brien1997-01-234-1/+63
| | | | | | | Curorary review by: phk Notes: svn path=/head/; revision=21958
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-1412-12/+12
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Close PR#2198:Jordan K. Hubbard1996-12-132-3/+5
| | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=20390
* Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better.Poul-Henning Kamp1996-11-275-65/+57
| | | | Notes: svn path=/head/; revision=19989
* cmp -s || install -c ==> install -CPeter Wemm1996-08-301-5/+2
| | | | Notes: svn path=/head/; revision=17930
* Cast lseek arguments appropriately.Jordan K. Hubbard1996-07-092-8/+8
| | | | | | | Submitted-By: "Frank ten Wolde" <franky@pinewood.nl> Notes: svn path=/head/; revision=17032
* Removed -g from CFLAGS.Bruce Evans1996-06-231-2/+2
| | | | Notes: svn path=/head/; revision=16613
* ``mv'' -> ``mv -f''Wolfram Schneider1996-05-071-1/+3
| | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root Notes: svn path=/head/; revision=15679
* Fix mis-declared static arrays that made sysinstall SEGV inJordan K. Hubbard1996-04-291-2/+2
| | | | | | | | | 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! :-) Notes: svn path=/head/; revision=15444
* Move some warn()'s into DEBUG space since I don't need them comingJordan K. Hubbard1996-04-293-11/+34
| | | | | | | out in my curses interfaces and spamming my screen. Notes: svn path=/head/; revision=15441
* Make libdisk C++ aware:Joerg Wunsch1996-03-246-137/+147
| | | | | | | | | | - 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. Notes: svn path=/head/; revision=14792
* Fix bogus MLINKS line. When is the old libdisk going to go away, BTW?Jordan K. Hubbard1996-03-181-2/+1
| | | | Notes: svn path=/head/; revision=14669
* libdisk is now `adult':Joerg Wunsch1996-03-172-1/+353
| | | | | | | | | . install libdisk.h into /usr/include . add a (preliminary) manpage, mostly featured after phk's comments in libdisk.h Notes: svn path=/head/; revision=14665
* Repository copy src/release/libdisk to src/lib/libdisk as per recentPeter Wemm1996-03-171-0/+1
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=14657
* Update the -current sources from the 2.1 branch.Peter Wemm1995-12-075-234/+311
| | | | | | | Approved (in spirit) by: jkh Notes: svn path=/head/; revision=12661
* Brought in changes from rev 1.14.2.1 into main branch.David Greenman1995-08-261-1/+10
| | | | Notes: svn path=/head/; revision=10286
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-118-26/+140
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-308-79/+79
| | | | Notes: svn path=/head/; revision=8881
* Remove Ontrack special from All_FreeBSD().Poul-Henning Kamp1995-05-253-8/+9
| | | | | | | Add chunk->disk pointer. Notes: svn path=/head/; revision=8745
* Align slices to cylinder boundries.Jordan K. Hubbard1995-05-243-7/+18
| | | | | | | Submitted By: phk Notes: svn path=/head/; revision=8721
* Fix a typo, now there should always be an active slice.Poul-Henning Kamp1995-05-211-2/+2
| | | | Notes: svn path=/head/; revision=8670
* Do not allocate the first track.Poul-Henning Kamp1995-05-201-1/+5
| | | | Notes: svn path=/head/; revision=8657
* Remove two printfs before Jordan has a fit over them.Poul-Henning Kamp1995-05-181-4/+1
| | | | Notes: svn path=/head/; revision=8617
* Fixed the calculation of the reserved space for bad144. Thanks Rod!Poul-Henning Kamp1995-05-151-2/+2
| | | | Notes: svn path=/head/; revision=8538
* Create_Chunk_DWIM will not allocate anything in the last cylinder of aPoul-Henning Kamp1995-05-151-3/+18
| | | | | | | | | CHUNK_BAD144 slice. Also mknod the 'c' partition for freebsd slices, so bad144(8) will have something to work on. Notes: svn path=/head/; revision=8527
* Added MakeDevDisk(struct disk*, char *path);Poul-Henning Kamp1995-05-123-4/+93
| | | | | | | fixed bug in extended slice naming. Notes: svn path=/head/; revision=8477
* Get the CHUNK_COMPAT_BSD flag right.Poul-Henning Kamp1995-05-113-45/+40
| | | | Notes: svn path=/head/; revision=8436
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.Poul-Henning Kamp1995-05-104-4/+53
| | | | Notes: svn path=/head/; revision=8404
* Recognize slice type #6 as dosPoul-Henning Kamp1995-05-084-12/+28
| | | | | | | handle OnTrack Disk manager correctly. Notes: svn path=/head/; revision=8346
* Add check for rootfs > cyl 1024.Poul-Henning Kamp1995-05-081-2/+6
| | | | Notes: svn path=/head/; revision=8343
* I bet Jordan is tearing his hair out, trying to figure the previous patchPoul-Henning Kamp1995-05-081-2/+2
| | | | | | | out... here is the real thing. Notes: svn path=/head/; revision=8341
* Fix bug.Poul-Henning Kamp1995-05-081-1/+2
| | | | Notes: svn path=/head/; revision=8339
* Whoops! An extra paren somehow got in there. Fixed.Jordan K. Hubbard1995-05-071-2/+2
| | | | Notes: svn path=/head/; revision=8312
* Always zero new chunks - keeps things like the private structures from havingJordan K. Hubbard1995-05-071-2/+2
| | | | | | | bogus data in them. Notes: svn path=/head/; revision=8311
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.Poul-Henning Kamp1995-05-066-79/+76
| | | | Notes: svn path=/head/; revision=8303
* If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we willPoul-Henning Kamp1995-05-052-8/+41
| | | | | | | align this chunk properly. Have at it Jordan... Notes: svn path=/head/; revision=8290
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-047-31/+56
| | | | | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags. Notes: svn path=/head/; revision=8264
* Add the private void *pointer to the chunks, and the functions to manage it.Poul-Henning Kamp1995-05-034-8/+41
| | | | | | | Make the reassignment of partition names less bogus. Notes: svn path=/head/; revision=8250