summaryrefslogtreecommitdiffstats
path: root/lib/libdisk
Commit message (Collapse)AuthorAgeFilesLines
* Fix erroneous format string.jdp1997-11-181-2/+2
|
* 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-2212-12/+12
|
* Adds slice_type_name() which extends chunk_n[] for subtype's too.obrien1997-01-234-1/+63
| | | | Curorary review by: phk
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1412-12/+12
| | | | | | | | 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-132-3/+5
| | | | | | | | | | | | | 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>
* Improve the Dangerously Dedidcated mode a bit. Not much, but a bit better.phk1996-11-275-65/+57
|
* cmp -s || install -c ==> install -Cpeter1996-08-301-5/+2
|
* Cast lseek arguments appropriately.jkh1996-07-092-8/+8
| | | | Submitted-By: "Frank ten Wolde" <franky@pinewood.nl>
* Removed -g from CFLAGS.bde1996-06-231-2/+2
|
* ``mv'' -> ``mv -f''wosch1996-05-071-1/+3
| | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root
* 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! :-)
* Move some warn()'s into DEBUG space since I don't need them comingjkh1996-04-293-11/+34
| | | | out in my curses interfaces and spamming my screen.
* Make libdisk C++ aware:joerg1996-03-246-137/+147
| | | | | | | - 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.
* Fix bogus MLINKS line. When is the old libdisk going to go away, BTW?jkh1996-03-181-2/+1
|
* libdisk is now `adult':joerg1996-03-172-1/+353
| | | | | | . install libdisk.h into /usr/include . add a (preliminary) manpage, mostly featured after phk's comments in libdisk.h
* Repository copy src/release/libdisk to src/lib/libdisk as per recentpeter1996-03-171-0/+1
| | | | | | | | | | discussion on -core about disk partitioning tools etc. Add NOPIC=yes to Makefile to prevent any possibility of version mismatch because of the potential grave consequences. (as suggested by phk) Note that this is also on RELENG_2_1_0, since the sysinstall stuff is hopefully going to remain in sync.
* 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.
OpenPOWER on IntegriCloud