summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/rules.c
Commit message (Collapse)AuthorAgeFilesLines
* Add spaces around operators.obrien2001-04-011-29/+29
| | | | | It's OK, the Project and afford them now -- they aren't as expensive as they used to be.
* Libraries should _never_ call exit() themselves (or its alternate spellingobrien2001-03-181-1/+0
| | | | | | | | | | | `err()'). libdisk does! and additionally libdisk gets confused on Alpha disks with foreign disklabels, throws up its hands and exits. This is the cause of the "going no where without my init" install bug on the Alpha. So now on the Alpha, rather than call err(), we print the error string and continue processing. Submitted by: jkh
* - Allow support for MBR boot loaders that are longer than one sector. Asjhb2000-07-121-25/+1
| | | | | | with fdisk, ensure that they are a multiple of the sector size in length. - Axe all the 1024 cylinder checks as they are no longer relevant with the fixed bootstrap.
* Changes for PC-98.kato2000-03-291-0/+28
|
* Catch up to the fact that block devices are toast.jkh1999-12-151-1/+0
| | | | | | | | Teach about the afd driver. Teach new char dev for ad driver. Make ownerships correct. Submitted by: jhb
* Remove BAD144 supportphk1999-11-271-30/+0
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* 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.
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-11/+78
|
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Add check for rootfs > cyl 1024.phk1995-05-081-2/+6
|
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.phk1995-05-061-6/+2
|
* If in Create_Chunk we (type==freebsd && (flags&CHUNK_ALIGN)), then we willphk1995-05-051-3/+3
| | | | align this chunk properly. Have at it Jordan...
* Make the partitions names even more sensiblephk1995-05-041-16/+29
| | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
* Make the target for tst01 more sensible.phk1995-05-031-4/+16
| | | | | | | | | | | | | 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.
* Now we do writes too.phk1995-04-301-11/+65
|
* Names are assigned when chunks are created.phk1995-04-291-1/+49
| | | | Rules for only one fat & one extended in MBR.
* Next Iteration, getting better.phk1995-04-291-3/+30
| | | | | | | | 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-291-0/+95
OpenPOWER on IntegriCloud