summaryrefslogtreecommitdiff
path: root/release/libdisk
Commit message (Collapse)AuthorAgeFilesLines
* Remove libdisk from the old location.Jordan K. Hubbard1996-04-2611-2464/+0
| | | | Notes: svn path=/head/; revision=15398
* 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
* Export the chunk names properly.Jordan K. Hubbard1995-05-033-7/+16
| | | | Notes: svn path=/head/; revision=8241
* Make the target for tst01 more sensible.Poul-Henning Kamp1995-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. 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
* foo -> unknown.Jordan K. Hubbard1995-05-012-8/+8
| | | | | | | I have to be able to show this stuff to the user. :-) Notes: svn path=/head/; revision=8207
* Stick a more BSD-like Makefile here so that I can link to the library.Jordan K. Hubbard1995-05-011-14/+15
| | | | Notes: svn path=/head/; revision=8197
* start CHS is 0xff,0xff,0xff if past 1024.Poul-Henning Kamp1995-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. Notes: svn path=/head/; revision=8196
* Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).Poul-Henning Kamp1995-04-304-43/+45
| | | | | | | | Get the CHS's right. Get the disklabels (more) right. Notes: svn path=/head/; revision=8192
* get bootblocks right.Poul-Henning Kamp1995-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. Notes: svn path=/head/; revision=8183
* Use 0xff for CHS when past 1024 cyls.Poul-Henning Kamp1995-04-302-28/+47
| | | | | | | Fix (hopefully) a bug Gary found. Notes: svn path=/head/; revision=8180
* Make the default case less scary :-)Poul-Henning Kamp1995-04-301-0/+2
| | | | Notes: svn path=/head/; revision=8179
* Now we do writes too.Poul-Henning Kamp1995-04-309-53/+360
| | | | Notes: svn path=/head/; revision=8178
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-297-10/+238
| | | | | | | 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-293-32/+212
| | | | Notes: svn path=/head/; revision=8158
* Next Iteration, getting better.Poul-Henning Kamp1995-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... Notes: svn path=/head/; revision=8157
* Sanitize and explain a little bit... Implement the first rules...Poul-Henning Kamp1995-04-298-73/+198
| | | | Notes: svn path=/head/; revision=8156
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffPoul-Henning Kamp1995-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! Notes: svn path=/head/; revision=8153