summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/disk.c
Commit message (Collapse)AuthorAgeFilesLines
* Changes for PC-98.kato2000-03-291-0/+76
|
* Fix fd leak in libdisk's Disk_Names()imp2000-03-101-0/+4
|
* Correct device naming for IDA disk nodes (idad)jlemon2000-03-081-1/+1
|
* Remove 'sd' support. SCSI disks are known as 'da' these days.msmith1999-11-271-1/+1
|
* Teach libdisk about the AMI and Mylex RAID drivers. You should be ablemsmith1999-11-021-1/+1
| | | | to install directly to arrays managed by these controllers now.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Merge from -stable; support for the 'ida' driver, move fla to major 102msmith1999-07-051-2/+2
|
* Back out the last change to disk.c - a kernel change removed the need.dfr1999-05-091-2/+1
| | | | Enabled writing to the disklabel when writing a disk (only affects alpha).
* Make libdisk see the existing partitiions on the alpha.dfr1999-05-081-1/+2
|
* Clean up after another half-Danish.msmith1999-05-041-2/+2
| | | | Add 'ad' as another known disk driver of the same kind as 'wd'.
* More egcs warning fixes:imp1999-04-251-11/+1
| | | | | | | | | | o use braces to avoid potentially ambiguous else o don't default to type int (and also remove a useless register modifier). o Use parens around assignment values used as truth values. o Remove unused function. Reviewed by: obrien and chuckr
* More support for Alpha installs.jkh1999-01-291-1/+63
| | | | Submitted by: dfr
* Add "fla" to Disk_Names()phk1998-12-191-2/+2
|
* Teach libdisk about alpha boot blocks.dfr1998-10-061-1/+22
|
* Eliminate unaligned access on Alpha and also neaten up this code a little.jkh1998-09-301-5/+25
| | | | Submitted by: dfr
* Remove references to the "od" device.gibbs1998-09-151-2/+2
|
* Add new NetBSD FFS with FDISK partition ID 0xa9obrien1998-05-191-1/+2
| | | | Obtained from: Frank van der Linden <frank@wins.uva.nl>
* Change an arbitarly hardcoded `10' to MAX_NO_DISKS, which is currently "20".obrien1998-05-151-2/+2
| | | | | Otherwise can't see sd10 (obtained using wired down sd unit numbers), reguardless of the number of actual disks you have.
* Add Compaq & SCO partition types.jkh1998-03-221-1/+3
| | | | | PR: 6092 Submitted by: Drew Derbyshire <ahd@kew.com>
* MF22: teach about LS-120 devices.jkh1998-03-201-2/+2
|
* Add more AIX/DOS/Win95 partition typesache1998-03-141-4/+12
|
* Add primary fat-32ache1998-03-071-1/+3
|
* Reconized OpenBSD partitions.obrien1998-03-051-1/+3
|
* Non-intrusive changes to support Justin's CAM stuff.jkh1998-01-161-2/+2
|
* 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/+37
| | | | 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.
* Close PR#2198:jkh1996-12-131-2/+2
| | | | | | | | | | | | | 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-271-2/+4
|
* Move some warn()'s into DEBUG space since I don't need them comingjkh1996-04-291-5/+25
| | | | out in my curses interfaces and spamming my screen.
* Make libdisk C++ aware:joerg1996-03-241-6/+6
| | | | | | | - 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.
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-1/+6
|
* Remove trailing whitespace.rgrimes1995-05-301-9/+9
|
* Recognize slice type #6 as dosphk1995-05-081-3/+8
| | | | handle OnTrack Disk manager correctly.
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.phk1995-05-061-2/+1
|
* Make the partitions names even more sensiblephk1995-05-041-2/+1
| | | | 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/+2
| | | | Make the reassignment of partition names less bogus.
* Export the chunk names properly.jkh1995-05-031-1/+13
|
* Make the target for tst01 more sensible.phk1995-05-031-3/+4
| | | | | | | | | | | | | 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.
* Use the DIOCSYNCSLICE ioctl now. (use only with kernel from this morning).phk1995-04-301-12/+9
| | | | | Get the CHS's right. Get the disklabels (more) right.
* get bootblocks right.phk1995-04-301-45/+62
| | | | | | | 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.
* Use 0xff for CHS when past 1024 cyls.phk1995-04-301-6/+13
| | | | Fix (hopefully) a bug Gary found.
* Now we do writes too.phk1995-04-301-21/+38
|
* Names are assigned when chunks are created.phk1995-04-291-2/+16
| | | | Rules for only one fat & one extended in MBR.
* Even More stuff. Disk_Names() is here amongst other things.phk1995-04-291-15/+100
|
* Next Iteration, getting better.phk1995-04-291-23/+4
| | | | | | | | 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-1/+4
|
* This is a revision 0.00 of the backend stuff for the fdisk/disklabel stuffphk1995-04-281-0/+183
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