summaryrefslogtreecommitdiff
path: root/lib/libdisk
Commit message (Collapse)AuthorAgeFilesLines
* Add spaces around operators.David E. O'Brien2001-04-018-244/+248
| | | | | | | | It's OK, the Project and afford them now -- they aren't as expensive as they used to be. Notes: svn path=/head/; revision=75069
* Correct a comment.David E. O'Brien2001-04-011-1/+1
| | | | Notes: svn path=/head/; revision=75068
* Try to untangle some of the #ifdef spaghetti.David E. O'Brien2001-04-012-12/+12
| | | | | | | | | Also, looking to the future, don't assume all the world is an i386 and all its disk layout brain damage will be repeated by other platforms. So all the diking out if we are an Alpha, becomes adding in if we are an i386. Notes: svn path=/head/; revision=75067
* Add back <err.h> for warn().David E. O'Brien2001-04-011-0/+1
| | | | | | | | (of course it's pretty stupid to call it, as printf doesn't work w/in sysinstall, and sysinstall is the only consumer of libdisk) Notes: svn path=/head/; revision=75066
* Quiet warnings on the Alpha.David E. O'Brien2001-04-012-3/+11
| | | | Notes: svn path=/head/; revision=75065
* Add back <err.h> for warn().David E. O'Brien2001-04-011-0/+1
| | | | | | | | (of course it's pretty stupid to call it, as printf doesn't work w/in sysinstall, and sysinstall is the only consumer of libdisk) Notes: svn path=/head/; revision=75064
* MAN[1-9] -> MAN.Ruslan Ermilov2001-03-271-1/+1
| | | | Notes: svn path=/head/; revision=74870
* Libraries should _never_ call exit() themselves (or its alternate spellingDavid E. O'Brien2001-03-189-33/+33
| | | | | | | | | | | | | | `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 Notes: svn path=/head/; revision=74426
* Fixed bitrot in prototype(s) in synopsis.Bruce Evans2001-02-051-1/+1
| | | | Notes: svn path=/head/; revision=72062
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-1/+1
| | | | Notes: svn path=/head/; revision=71895
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-291-1/+1
| | | | Notes: svn path=/head/; revision=70481
* Do install-time configuration of the i386 boot0 boot manager. AtRobert Nordier2000-12-121-1/+23
| | | | | | | | | | | | present, this is limited to turning on the packet option if any of disk slices begin above cylinder 1023. The effect of this change should therefore be to automatically enable LBA support, as needed, when installing FreeBSD. Something-of-the-kind-requested-by: peter Notes: svn path=/head/; revision=69920
* logRuslan Ermilov2000-11-221-3/+5
| | | | Notes: svn path=/head/; revision=69026
* Use Fx macro wherever possible.Ruslan Ermilov2000-11-141-1/+3
| | | | Notes: svn path=/head/; revision=68716
* Avoid use of direct troff requests in mdoc(7) manual pages.Ruslan Ermilov2000-11-101-2/+1
| | | | Notes: svn path=/head/; revision=68575
* MFS: add ATA raid support for sysinstallJordan K. Hubbard2000-11-062-2/+4
| | | | Notes: svn path=/head/; revision=68409
* Use kern.disks sysctl on PC-98.Yoshihiro Takahashi2000-10-211-4/+0
| | | | Notes: svn path=/head/; revision=67417
* Turn dkcksum() into an __inline function.Poul-Henning Kamp2000-09-162-3/+1
| | | | | | | Change its type to u_int_16_t. Notes: svn path=/head/; revision=65921
* Teach libdisk about 'aac'Mike Smith2000-09-132-2/+4
| | | | Notes: svn path=/head/; revision=65801
* - Added support for installing boot0 and boot0.5 for PC-98.Yoshihiro Takahashi2000-08-123-2/+75
| | | | | | | - Cosmetic changes. Notes: svn path=/head/; revision=64555
* - Fixed warnings and typo.Yoshihiro Takahashi2000-08-082-1/+6
| | | | | | | | | - Recognize slice type 0x24 as FAT (only PC-98). Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp> Notes: svn path=/head/; revision=64379
* Don't use kern.disks sysctl on PC-98 because the wd driver doesn't callYoshihiro Takahashi2000-08-071-0/+4
| | | | | | | disk_create() function. Notes: svn path=/head/; revision=64324
* - Allow support for MBR boot loaders that are longer than one sector. AsJohn Baldwin2000-07-126-62/+16
| | | | | | | | | 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. Notes: svn path=/head/; revision=63030
* Don't call printf without a format string.Kris Kennaway2000-07-111-1/+1
| | | | Notes: svn path=/head/; revision=62980
* _PATH_DEV'ify libdiskJohn Baldwin2000-06-284-7/+11
| | | | Notes: svn path=/head/; revision=62223
* Let Disk_Names() take advantage of the kern.disks sysctl if it'sNeil Blakey-Milner2000-06-231-0/+15
| | | | | | | | | | | | available. If not, it falls back to the existing hack and slash method. A positive side effect is that non-root users may now use Disk_Names(), for non-dangerous libh/disk.tcl testing. Reviewed by: phk Notes: svn path=/head/; revision=62008
* Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver.Yoshihiro Takahashi2000-06-052-1/+9
| | | | Notes: svn path=/head/; revision=61279
* /dev/rXXX -> /dev/XXXMike Smith2000-05-313-5/+5
| | | | | | | | This should fix sysinstall and other tools that don't expect the 'r' devices to exist anymore (and thus don't create them). Notes: svn path=/head/; revision=61101
* De-support 'wd'; with it making a dual appearance with 'ad', thingsMike Smith2000-05-302-4/+2
| | | | | | | | 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-252-1/+3
| | | | Notes: svn path=/head/; revision=60908
* catch up to the modern ATAPI disk naming conventions and add floppyJordan K. Hubbard2000-05-241-1/+1
| | | | | | | | | disks. Submitted by: bde Notes: svn path=/head/; revision=60886
* Reassemble a sentence that has been botched in rev 1.4.Joerg Wunsch2000-04-251-1/+1
| | | | | | | Reported by: Alexander Leidinger <Alexander@leidinger.net> Notes: svn path=/head/; revision=59624
* Introduce .Lb macro to libdisk manpageAlexey Zelkin2000-04-221-1/+3
| | | | Notes: svn path=/head/; revision=59506
* Raw devices are now the normal device name, not prefixed with 'r'.David E. O'Brien2000-04-191-1/+1
| | | | Notes: svn path=/head/; revision=59399
* Changes for PC-98.KATO Takenori2000-03-299-0/+322
| | | | Notes: svn path=/head/; revision=58794
* lowercase error messagePhilippe Charnier2000-03-261-1/+1
| | | | Notes: svn path=/head/; revision=58632
* Fix fd leak in libdisk's Disk_Names()Warner Losh2000-03-101-0/+4
| | | | Notes: svn path=/head/; revision=57898
* 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-082-2/+2
| | | | 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
* Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes2000-01-141-5/+1
| | | | | | | Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
* 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-152-13/+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-272-3/+1
| | | | Notes: svn path=/head/; revision=53784
* Remove BAD144 supportPoul-Henning Kamp1999-11-275-42/+0
| | | | Notes: svn path=/head/; revision=53749
* Teach libdisk about the AMI and Mylex RAID drivers. You should be ableMike Smith1999-11-022-1/+5
| | | | | | | to install directly to arrays managed by these controllers now. Notes: svn path=/head/; revision=52786
* fix couple mdoc errorAlexey Zelkin1999-10-281-9/+7
| | | | | | | mention library name in header (.Nd field) - it allows to use "man -k libdisk" Notes: svn path=/head/; revision=52595
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2812-12/+12
| | | | Notes: svn path=/head/; revision=50476
* Merge from -stable; support for the 'ida' driver, move fla to major 102Mike Smith1999-07-052-4/+6
| | | | Notes: svn path=/head/; revision=48585