summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/create_chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Close PR#2198:jkh1996-12-131-1/+3
| | | | | | | | | | | | | 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>
* Move some warn()'s into DEBUG space since I don't need them comingjkh1996-04-291-5/+2
| | | | out in my curses interfaces and spamming my screen.
* Make libdisk C++ aware:joerg1996-03-241-4/+4
| | | | | | | - 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.
* Update the -current sources from the 2.1 branch.peter1995-12-071-222/+284
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Align slices to cylinder boundries.jkh1995-05-241-1/+8
| | | | Submitted By: phk
* Do not allocate the first track.phk1995-05-201-1/+5
|
* 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-121-2/+83
| | | | fixed bug in extended slice naming.
* Get the CHUNK_COMPAT_BSD flag right.phk1995-05-111-41/+33
|
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.phk1995-05-101-1/+33
|
* 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
|
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.phk1995-05-061-7/+1
|
* Make the partitions names even more sensiblephk1995-05-041-4/+6
| | | | 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-031-2/+19
| | | | Make the reassignment of partition names less bogus.
* Make the target for tst01 more sensible.phk1995-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.
* start CHS is 0xff,0xff,0xff if past 1024.phk1995-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.
* get bootblocks right.phk1995-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.
* Now we do writes too.phk1995-04-301-4/+7
|
* Names are assigned when chunks are created.phk1995-04-291-2/+110
| | | | Rules for only one fat & one extended in MBR.
* Sanitize and explain a little bit... Implement the first rules...phk1995-04-291-1/+0
|
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffphk1995-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!
OpenPOWER on IntegriCloud