summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/libdisk.h
Commit message (Collapse)AuthorAgeFilesLines
* - Allow support for MBR boot loaders that are longer than one sector. Asjhb2000-07-121-6/+2
| | | | | | 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/+12
|
* Remove BAD144 supportphk1999-11-271-2/+0
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Eliminate all dependence on boot1 and boot2. This is passed in byjkh1998-12-311-2/+1
| | | | | | Set_Boot_Blocks() anyway and should thus have never been a part of libdisk, it should have been provided by the client of libdisk since passing the information in is already part of the API.
* Teach libdisk about alpha boot blocks.dfr1998-10-061-1/+3
|
* Fixed #includes in the synopsis and in an example. <sys/socket.h>bde1998-01-201-2/+2
| | | | | | isn't a prerequisite, since it isn't required for the prototypes and isn't always needed to call the functions (the address family might be a variable).
* Fixed this header to compile with gcc -pedantic -Werror (removed commabde1997-03-191-2/+2
| | | | at end of enum).
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Adds slice_type_name() which extends chunk_n[] for subtype's too.obrien1997-01-231-0/+5
| | | | Curorary review by: phk
* 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.
* Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better.phk1996-11-271-15/+7
|
* Fix mis-declared static arrays that made sysinstall SEGV injkh1996-04-291-2/+2
| | | | | | Set_Boot_Blocks(). Boy, this one had me tearing my hair out! I hate how the loader distinguishes between `extern char *foo' and `extern char foo[]' sometimes! :-)
* Make libdisk C++ aware:joerg1996-03-241-108/+113
| | | | | | | - 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-4/+13
| | | | Approved (in spirit) by: jkh
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-1/+13
|
* Remove trailing whitespace.rgrimes1995-05-301-18/+18
|
* Remove Ontrack special from All_FreeBSD().phk1995-05-251-1/+2
| | | | Add chunk->disk pointer.
* Added MakeDevDisk(struct disk*, char *path);phk1995-05-121-1/+5
| | | | fixed bug in extended slice naming.
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.phk1995-05-101-1/+8
|
* Recognize slice type #6 as dosphk1995-05-081-3/+3
| | | | handle OnTrack Disk manager correctly.
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.phk1995-05-061-8/+12
|
* Make the partitions names even more sensiblephk1995-05-041-5/+8
| | | | 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-1/+14
| | | | Make the reassignment of partition names less bogus.
* Export the chunk names properly.jkh1995-05-031-3/+2
|
* Make the target for tst01 more sensible.phk1995-05-031-1/+3
| | | | | | | | | | | | | 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 -> unknown.jkh1995-05-011-3/+3
| | | | I have to be able to show this stuff to the user. :-)
* get bootblocks right.phk1995-04-301-1/+2
| | | | | | | 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-8/+38
|
* Names are assigned when chunks are created.phk1995-04-291-1/+7
| | | | Rules for only one fat & one extended in MBR.
* Even More stuff. Disk_Names() is here amongst other things.phk1995-04-291-3/+101
|
* Next Iteration, getting better.phk1995-04-291-2/+7
| | | | | | | | 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-25/+80
|
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffphk1995-04-281-0/+75
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