summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
Commit message (Collapse)AuthorAgeFilesLines
* Update the -current sources from the 2.1 branch.peter1995-12-075-234/+311
| | | | Approved (in spirit) by: jkh
* Brought in changes from rev 1.14.2.1 into main branch.dg1995-08-261-1/+10
|
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-118-26/+140
|
* Remove trailing whitespace.rgrimes1995-05-308-79/+79
|
* Remove Ontrack special from All_FreeBSD().phk1995-05-253-8/+9
| | | | Add chunk->disk pointer.
* Align slices to cylinder boundries.jkh1995-05-243-7/+18
| | | | Submitted By: phk
* Fix a typo, now there should always be an active slice.phk1995-05-211-2/+2
|
* Do not allocate the first track.phk1995-05-201-1/+5
|
* Remove two printfs before Jordan has a fit over them.phk1995-05-181-4/+1
|
* Fixed the calculation of the reserved space for bad144. Thanks Rod!phk1995-05-151-2/+2
|
* Create_Chunk_DWIM will not allocate anything in the last cylinder of aphk1995-05-151-3/+18
| | | | | | CHUNK_BAD144 slice. Also mknod the 'c' partition for freebsd slices, so bad144(8) will have something to work on.
* Added MakeDevDisk(struct disk*, char *path);phk1995-05-123-4/+93
| | | | fixed bug in extended slice naming.
* Get the CHUNK_COMPAT_BSD flag right.phk1995-05-113-45/+40
|
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.phk1995-05-104-4/+53
|
* Recognize slice type #6 as dosphk1995-05-084-12/+28
| | | | handle OnTrack Disk manager correctly.
* Add check for rootfs > cyl 1024.phk1995-05-081-2/+6
|
* I bet Jordan is tearing his hair out, trying to figure the previous patchphk1995-05-081-2/+2
| | | | out... here is the real thing.
* Fix bug.phk1995-05-081-1/+2
|
* Whoops! An extra paren somehow got in there. Fixed.jkh1995-05-071-2/+2
|
* Always zero new chunks - keeps things like the private structures from havingjkh1995-05-071-2/+2
| | | | bogus data in them.
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.phk1995-05-066-79/+76
|
* If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we willphk1995-05-052-8/+41
| | | | align this chunk properly. Have at it Jordan...
* Make the partitions names even more sensiblephk1995-05-047-31/+56
| | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
* Add the private void *pointer to the chunks, and the functions to manage it.phk1995-05-034-8/+41
| | | | Make the reassignment of partition names less bogus.
* Export the chunk names properly.jkh1995-05-033-7/+16
|
* Make the target for tst01 more sensible.phk1995-05-035-43/+60
| | | | | | | | | | | | | 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.
* foo -> unknownjkh1995-05-021-2/+2
|
* I need Open_Disk() to not spew on my screen. #ifdef out some diagnosticjkh1995-05-021-1/+3
| | | | printfs.
* foo -> unknown.jkh1995-05-012-8/+8
| | | | I have to be able to show this stuff to the user. :-)
* Stick a more BSD-like Makefile here so that I can link to the library.jkh1995-05-011-14/+15
|
* start CHS is 0xff,0xff,0xff if past 1024.phk1995-05-013-19/+68
| | | | | | 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.
* Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).phk1995-04-304-43/+45
| | | | | Get the CHS's right. Get the disklabels (more) right.
* get bootblocks right.phk1995-04-305-52/+133
| | | | | | | 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.
* Use 0xff for CHS when past 1024 cyls.phk1995-04-302-28/+47
| | | | Fix (hopefully) a bug Gary found.
* Make the default case less scary :-)phk1995-04-301-0/+2
|
* Now we do writes too.phk1995-04-309-53/+360
|
* Names are assigned when chunks are created.phk1995-04-297-10/+238
| | | | Rules for only one fat & one extended in MBR.
* Even More stuff. Disk_Names() is here amongst other things.phk1995-04-293-32/+212
|
* Next Iteration, getting better.phk1995-04-297-46/+181
| | | | | | | | 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...
* Sanitize and explain a little bit... Implement the first rules...phk1995-04-298-73/+198
|
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffphk1995-04-289-0/+837
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!
OpenPOWER on IntegriCloud