summaryrefslogtreecommitdiff
path: root/lib/libdisk/disk.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC: doc fixes, casts, cosmetic.Jordan K. Hubbard1998-07-191-5/+4
| | | | Notes: svn path=/stable/2.2/; revision=37751
* MFC rev 1.35David E. O'Brien1998-05-191-1/+2
| | | | Notes: svn path=/stable/2.2/; revision=36183
* MFC rev 1.34David E. O'Brien1998-05-151-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=36082
* Shorten names, add freebsd alias for a tweaked freebsd partition ID (someJordan K. Hubbard1998-03-231-3/+4
| | | | | | | | | popular boot manager likes to OR in 16). Submitted by: Drew Derbyshire <ahd@kew.com> Notes: svn path=/stable/2.2/; revision=34786
* MFC: PR#6092Jordan K. Hubbard1998-03-221-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=34777
* Teach libdisk about wfd drives.Jordan K. Hubbard1998-03-201-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=34726
* MFC: more partition typesAndrey A. Chernov1998-03-141-4/+12
| | | | Notes: svn path=/stable/2.2/; revision=34581
* MFC: add "da" device to devices listAndrey A. Chernov1998-03-071-2/+4
| | | | | | | MFC: add primary fat-32 Notes: svn path=/stable/2.2/; revision=34210
* MFC rev 1.29.David E. O'Brien1998-03-051-1/+3
| | | | Notes: svn path=/stable/2.2/; revision=34038
* Merge slicing naming changes from -current.Jordan K. Hubbard1997-01-241-1/+38
| | | | Notes: svn path=/stable/2.2/; revision=21981
* YAMFCJoerg Wunsch1996-12-141-2/+2
| | | | Notes: svn path=/stable/2.2/; revision=20433
* YAMFCPoul-Henning Kamp1996-11-281-2/+4
| | | | Notes: svn path=/stable/2.2/; revision=20006
* Move some warn()'s into DEBUG space since I don't need them comingJordan K. Hubbard1996-04-291-5/+25
| | | | | | | out in my curses interfaces and spamming my screen. Notes: svn path=/head/; revision=15441
* Make libdisk C++ aware:Joerg Wunsch1996-03-241-6/+6
| | | | | | | | | | - 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
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-111-1/+6
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-9/+9
| | | | Notes: svn path=/head/; revision=8881
* Recognize slice type #6 as dosPoul-Henning Kamp1995-05-081-3/+8
| | | | | | | handle OnTrack Disk manager correctly. Notes: svn path=/head/; revision=8346
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.Poul-Henning Kamp1995-05-061-2/+1
| | | | Notes: svn path=/head/; revision=8303
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-041-2/+1
| | | | | | | 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-031-2/+2
| | | | | | | Make the reassignment of partition names less bogus. Notes: svn path=/head/; revision=8250
* Export the chunk names properly.Jordan K. Hubbard1995-05-031-1/+13
| | | | Notes: svn path=/head/; revision=8241
* Make the target for tst01 more sensible.Poul-Henning Kamp1995-05-031-3/+4
| | | | | | | | | | | | | | | | Remove bogus targets. Allocate partition letters as follows: lowest offset "flags & CHUNK_IS_ROOT" gets 'a', lowest offset "subtype==FS_SWAP" gets 'b' the rest is allocated in offset order from this sequence "defghab". This will generally make sense. Added rules to complain if more than one CHUNK_IS_ROOT or more than one FS_SWAP per FreeBSD chunk. Set CHUNK_IS_ROOT on the 'a' partition in Open_Disk. Run Fixup_Names in Open_Disk. Notes: svn path=/head/; revision=8233
* foo -> unknownJordan K. Hubbard1995-05-021-2/+2
| | | | Notes: svn path=/head/; revision=8228
* I need Open_Disk() to not spew on my screen. #ifdef out some diagnosticJordan K. Hubbard1995-05-021-1/+3
| | | | | | | printfs. Notes: svn path=/head/; revision=8227
* Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).Poul-Henning Kamp1995-04-301-12/+9
| | | | | | | | Get the CHS's right. Get the disklabels (more) right. Notes: svn path=/head/; revision=8192
* get bootblocks right.Poul-Henning Kamp1995-04-301-45/+62
| | | | | | | | | | Add mbr and bteasy17 to tst01 read partitions from kernel instead of disk. Still problems with writing labels, discussing with Bruce. Extended slices doesn't get written yet. Notes: svn path=/head/; revision=8183
* Use 0xff for CHS when past 1024 cyls.Poul-Henning Kamp1995-04-301-6/+13
| | | | | | | Fix (hopefully) a bug Gary found. Notes: svn path=/head/; revision=8180
* Now we do writes too.Poul-Henning Kamp1995-04-301-21/+38
| | | | Notes: svn path=/head/; revision=8178
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-291-2/+16
| | | | | | | Rules for only one fat & one extended in MBR. Notes: svn path=/head/; revision=8160
* Even More stuff. Disk_Names() is here amongst other things.Poul-Henning Kamp1995-04-291-15/+100
| | | | Notes: svn path=/head/; revision=8158
* Next Iteration, getting better.Poul-Henning Kamp1995-04-291-23/+4
| | | | | | | | | | | Made an All_FreeBSD() function. Added a cmd-line interface (lowest rank) to the tst01 program. The tst01 program is harmless (worst it can do is coredump), but it is instructive to run, you can see what the slice-code things of your disk... Notes: svn path=/head/; revision=8157
* Sanitize and explain a little bit... Implement the first rules...Poul-Henning Kamp1995-04-291-1/+4
| | | | Notes: svn path=/head/; revision=8156
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffPoul-Henning Kamp1995-04-281-0/+183
in the new sysinstall. If you want to give a helping hand, then send email to phk@FreeBSD.ORG. DO NOT COMMIT TO THIS DIRECTORY! Notes: svn path=/head/; revision=8153