aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.Poul-Henning Kamp1995-05-061-7/+1
| | | | Notes: svn path=/head/; revision=8303
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-041-4/+6
| | | | | | | 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/+19
| | | | | | | Make the reassignment of partition names less bogus. Notes: svn path=/head/; revision=8250
* Make the target for tst01 more sensible.Poul-Henning Kamp1995-05-031-19/+34
| | | | | | | | | | | | | | | | 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
* start CHS is 0xff,0xff,0xff if past 1024.Poul-Henning Kamp1995-05-011-1/+3
| | | | | | | | | end CHS is 1023,bios_hd,bios_sect if past 1024. This way we can find bios the geometry again. Added a primitive "scan" to tst01. Notes: svn path=/head/; revision=8196
* get bootblocks right.Poul-Henning Kamp1995-04-301-2/+1
| | | | | | | | | | 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
* Now we do writes too.Poul-Henning Kamp1995-04-301-4/+7
| | | | Notes: svn path=/head/; revision=8178
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-291-2/+110
| | | | | | | Rules for only one fat & one extended in MBR. Notes: svn path=/head/; revision=8160
* Sanitize and explain a little bit... Implement the first rules...Poul-Henning Kamp1995-04-291-1/+0
| | | | 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/+26
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