summaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
Commit message (Collapse)AuthorAgeFilesLines
* _PATH_DEV'ify libdiskJohn Baldwin2000-06-281-1/+2
| | | | Notes: svn path=/head/; revision=62223
* Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver.Yoshihiro Takahashi2000-06-051-1/+5
| | | | Notes: svn path=/head/; revision=61279
* De-support 'wd'; with it making a dual appearance with 'ad', thingsMike Smith2000-05-301-3/+1
| | | | | | | | depending on libdisk to detect a list of actually-there disk devices were providing duplicate entries (eg. sysinstall). Notes: svn path=/head/; revision=61093
* fix stray 'i' from editor.Alfred Perlstein2000-05-251-1/+1
| | | | Notes: svn path=/head/; revision=60918
* Teach libdisk about 'twe' disks.Mike Smith2000-05-251-0/+2
| | | | Notes: svn path=/head/; revision=60908
* Changes for PC-98.KATO Takenori2000-03-291-0/+22
| | | | Notes: svn path=/head/; revision=58794
* Fix pointer addition bug (3 -> 4).Jonathan Lemon2000-03-091-1/+1
| | | | | | | Submitted by: david.w.james@bt.com Notes: svn path=/head/; revision=57856
* Correct device naming for IDA disk nodes (idad)Jonathan Lemon2000-03-081-1/+1
| | | | Notes: svn path=/head/; revision=57831
* Hide more debugging behind isDebug(); what's currentlyJordan K. Hubbard2000-02-181-2/+4
| | | | | | | spewing out will only alarm people. Notes: svn path=/head/; revision=57306
* Just on the off-chance that somebody might use libdisk in a totallyPoul-Henning Kamp1999-12-221-5/+11
| | | | | | | | | | | lobotomized environment, say booted from a floppy with no /etc full of password and group files, give sensible fallbacks for roots uid and operators gid. This might fix sysinstall. Notes: svn path=/head/; revision=55008
* Catch up to the fact that block devices are toast.Jordan K. Hubbard1999-12-151-12/+38
| | | | | | | | | | | Teach about the afd driver. Teach new char dev for ad driver. Make ownerships correct. Submitted by: jhb Notes: svn path=/head/; revision=54627
* Remove 'sd' support. SCSI disks are known as 'da' these days.Mike Smith1999-11-271-2/+0
| | | | Notes: svn path=/head/; revision=53784
* Remove BAD144 supportPoul-Henning Kamp1999-11-271-7/+0
| | | | Notes: svn path=/head/; revision=53749
* Teach libdisk about the AMI and Mylex RAID drivers. You should be ableMike Smith1999-11-021-0/+4
| | | | | | | to install directly to arrays managed by these controllers now. Notes: svn path=/head/; revision=52786
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Merge from -stable; support for the 'ida' driver, move fla to major 102Mike Smith1999-07-051-2/+4
| | | | Notes: svn path=/head/; revision=48585
* Fix my own Pie Floater.Mike Smith1999-05-121-2/+2
| | | | | | | (Correctly handle 'wd' devices) Notes: svn path=/head/; revision=47090
* Clean up after another half-Danish.Mike Smith1999-05-041-1/+3
| | | | | | | Add 'ad' as another known disk driver of the same kind as 'wd'. Notes: svn path=/head/; revision=46455
* Bring us one step closer to sysinstall'ing on a DOC2k device.Poul-Henning Kamp1999-01-141-1/+3
| | | | Notes: svn path=/head/; revision=42669
* Changes for alpha support.Jordan K. Hubbard1999-01-081-1/+10
| | | | | | | Submitted by: dfr Notes: svn path=/head/; revision=42387
* Fixes for handling 'wfd' (and any other disk with a non-2-character name)Mike Smith1998-10-271-6/+5
| | | | | | | Submitted by: Some from Satoh Junichi (junichi@astec.co.jp) Notes: svn path=/head/; revision=40676
* Remove references to the "od" device.Justin T. Gibbs1998-09-151-3/+1
| | | | Notes: svn path=/head/; revision=39252
* MF22: teach about LS-120 devices.Jordan K. Hubbard1998-03-201-1/+3
| | | | Notes: svn path=/head/; revision=34729
* Be more verbose if we can't determine device major/minor.Jordan K. Hubbard1998-02-101-1/+2
| | | | Notes: svn path=/head/; revision=33219
* Non-intrusive changes to support Justin's CAM stuff.Jordan K. Hubbard1998-01-161-1/+3
| | | | Notes: svn path=/head/; revision=32558
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Close PR#2198:Jordan K. Hubbard1996-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> Notes: svn path=/head/; revision=20390
* Move some warn()'s into DEBUG space since I don't need them comingJordan K. Hubbard1996-04-291-5/+2
| | | | | | | out in my curses interfaces and spamming my screen. Notes: svn path=/head/; revision=15441
* Make libdisk C++ aware:Joerg Wunsch1996-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. Notes: svn path=/head/; revision=14792
* Update the -current sources from the 2.1 branch.Peter Wemm1995-12-071-222/+284
| | | | | | | Approved (in spirit) by: jkh Notes: svn path=/head/; revision=12661
* Merge RELENG_2_0_5 into HEADRodney W. Grimes1995-06-111-2/+2
| | | | Notes: svn path=/head/; revision=9202
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-8/+8
| | | | Notes: svn path=/head/; revision=8881
* Align slices to cylinder boundries.Jordan K. Hubbard1995-05-241-1/+8
| | | | | | | Submitted By: phk Notes: svn path=/head/; revision=8721
* Do not allocate the first track.Poul-Henning Kamp1995-05-201-1/+5
| | | | Notes: svn path=/head/; revision=8657
* Fixed the calculation of the reserved space for bad144. Thanks Rod!Poul-Henning Kamp1995-05-151-2/+2
| | | | Notes: svn path=/head/; revision=8538
* Create_Chunk_DWIM will not allocate anything in the last cylinder of aPoul-Henning Kamp1995-05-151-3/+18
| | | | | | | | | CHUNK_BAD144 slice. Also mknod the 'c' partition for freebsd slices, so bad144(8) will have something to work on. Notes: svn path=/head/; revision=8527
* Added MakeDevDisk(struct disk*, char *path);Poul-Henning Kamp1995-05-121-2/+83
| | | | | | | fixed bug in extended slice naming. Notes: svn path=/head/; revision=8477
* Get the CHUNK_COMPAT_BSD flag right.Poul-Henning Kamp1995-05-111-41/+33
| | | | Notes: svn path=/head/; revision=8436
* Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.Poul-Henning Kamp1995-05-101-1/+33
| | | | Notes: svn path=/head/; revision=8404
* I bet Jordan is tearing his hair out, trying to figure the previous patchPoul-Henning Kamp1995-05-081-2/+2
| | | | | | | out... here is the real thing. Notes: svn path=/head/; revision=8341
* Fix bug.Poul-Henning Kamp1995-05-081-1/+2
| | | | Notes: svn path=/head/; revision=8339
* General sanitation and cleanup. Killed the "reserved" type, it wasn't.Poul-Henning Kamp1995-05-061-7/+1
| | | | Notes: svn path=/head/; revision=8303
* Make the partitions names even more sensiblePoul-Henning Kamp1995-05-041-4/+6
| | | | | | | CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags. Notes: svn path=/head/; revision=8264
* Add the private void *pointer to the chunks, and the functions to manage it.Poul-Henning Kamp1995-05-031-2/+19
| | | | | | | Make the reassignment of partition names less bogus. Notes: svn path=/head/; revision=8250
* Make the target for tst01 more sensible.Poul-Henning Kamp1995-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. Notes: svn path=/head/; revision=8233
* start CHS is 0xff,0xff,0xff if past 1024.Poul-Henning Kamp1995-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. Notes: svn path=/head/; revision=8196
* get bootblocks right.Poul-Henning Kamp1995-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. Notes: svn path=/head/; revision=8183
* Now we do writes too.Poul-Henning Kamp1995-04-301-4/+7
| | | | Notes: svn path=/head/; revision=8178
* Names are assigned when chunks are created.Poul-Henning Kamp1995-04-291-2/+110
| | | | | | | Rules for only one fat & one extended in MBR. Notes: svn path=/head/; revision=8160