Ruslan Ermilov
4a558355e5
MAN[1-9] -> MAN.
2001-03-27 17:27:19 +00:00
David E. O'Brien
135c56336a
Libraries should _never_ call exit() themselves (or its alternate spelling
...
`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
2001-03-18 21:30:11 +00:00
Bruce Evans
c38fecdd5c
Fixed bitrot in prototype(s) in synopsis.
2001-02-05 23:56:05 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Ruslan Ermilov
4263595653
Prepare for mdoc(7)NG.
2000-12-29 14:08:20 +00:00
Robert Nordier
f0da1b03a0
Do install-time configuration of the i386 boot0 boot manager. At
...
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
2000-12-12 17:25:06 +00:00
Ruslan Ermilov
725ab6287f
log
2000-11-22 09:23:54 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Ruslan Ermilov
726b61ab5f
Avoid use of direct troff requests in mdoc(7) manual pages.
2000-11-10 17:46:15 +00:00
Jordan K. Hubbard
5e25dc0f5c
MFS: add ATA raid support for sysinstall
2000-11-06 23:15:01 +00:00
Yoshihiro Takahashi
e30bdf6ba1
Use kern.disks sysctl on PC-98.
2000-10-21 10:08:57 +00:00
Poul-Henning Kamp
fc87418be0
Turn dkcksum() into an __inline function.
...
Change its type to u_int_16_t.
2000-09-16 13:43:00 +00:00
Mike Smith
53ea88cdd1
Teach libdisk about 'aac'
2000-09-13 05:04:48 +00:00
Yoshihiro Takahashi
552112cadd
- Added support for installing boot0 and boot0.5 for PC-98.
...
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
Yoshihiro Takahashi
9ede9bda28
- Fixed warnings and typo.
...
- Recognize slice type 0x24 as FAT (only PC-98).
Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
2000-08-08 04:01:51 +00:00
Yoshihiro Takahashi
ce7ca0624c
Don't use kern.disks sysctl on PC-98 because the wd driver doesn't call
...
disk_create() function.
2000-08-07 02:14:44 +00:00
John Baldwin
be0fdc4646
- Allow support for MBR boot loaders that are longer than one sector. As
...
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.
2000-07-12 18:05:18 +00:00
Kris Kennaway
c2616fc538
Don't call printf without a format string.
2000-07-11 23:49:24 +00:00
John Baldwin
61e9944f4f
_PATH_DEV'ify libdisk
2000-06-28 22:28:50 +00:00
Neil Blakey-Milner
0138fc17c5
Let Disk_Names() take advantage of the kern.disks sysctl if it's
...
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
2000-06-23 14:01:06 +00:00
Yoshihiro Takahashi
88916759e4
Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver.
2000-06-05 13:33:39 +00:00
Mike Smith
ad3a8d908d
/dev/rXXX -> /dev/XXX
...
This should fix sysinstall and other tools that don't expect the 'r' devices
to exist anymore (and thus don't create them).
2000-05-31 00:51:57 +00:00
Mike Smith
6311733944
De-support 'wd'; with it making a dual appearance with 'ad', things
...
depending on libdisk to detect a list of actually-there disk devices
were providing duplicate entries (eg. sysinstall).
2000-05-30 15:18:30 +00:00
Alfred Perlstein
7009672a8a
fix stray 'i' from editor.
2000-05-25 08:24:38 +00:00
Mike Smith
880479f425
Teach libdisk about 'twe' disks.
2000-05-25 02:23:47 +00:00
Jordan K. Hubbard
9b5b02c405
catch up to the modern ATAPI disk naming conventions and add floppy
...
disks.
Submitted by: bde
2000-05-24 20:25:42 +00:00
Joerg Wunsch
a1dc0577ea
Reassemble a sentence that has been botched in rev 1.4.
...
Reported by: Alexander Leidinger <Alexander@leidinger.net>
2000-04-25 13:53:48 +00:00
Alexey Zelkin
c7ff9837bb
Introduce .Lb macro to libdisk manpage
2000-04-22 15:58:49 +00:00
David E. O'Brien
cc7f40abaa
Raw devices are now the normal device name, not prefixed with 'r'.
2000-04-19 18:51:28 +00:00
KATO Takenori
7e9e421193
Changes for PC-98.
2000-03-29 15:10:28 +00:00
Philippe Charnier
c0154e9a31
lowercase error message
2000-03-26 15:14:16 +00:00
Warner Losh
ce5e608527
Fix fd leak in libdisk's Disk_Names()
2000-03-10 22:54:04 +00:00
Jonathan Lemon
0b6b4751b5
Fix pointer addition bug (3 -> 4).
...
Submitted by: david.w.james@bt.com
2000-03-09 15:05:20 +00:00
Jonathan Lemon
064dbb0301
Correct device naming for IDA disk nodes (idad)
2000-03-08 18:14:02 +00:00
Jordan K. Hubbard
3925bc5d50
Hide more debugging behind isDebug(); what's currently
...
spewing out will only alarm people.
2000-02-18 03:06:43 +00:00
Rodney W. Grimes
d05257b0f2
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
Poul-Henning Kamp
2e636eed15
Just on the off-chance that somebody might use libdisk in a totally
...
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.
1999-12-22 19:06:29 +00:00
Jordan K. Hubbard
63b7978d53
Catch up to the fact that block devices are toast.
...
Teach about the afd driver.
Teach new char dev for ad driver.
Make ownerships correct.
Submitted by: jhb
1999-12-15 08:33:56 +00:00
Mike Smith
78c8bacf35
Remove 'sd' support. SCSI disks are known as 'da' these days.
1999-11-27 21:20:57 +00:00
Poul-Henning Kamp
b007e160a1
Remove BAD144 support
1999-11-27 14:33:30 +00:00
Mike Smith
9ca7957c86
Teach libdisk about the AMI and Mylex RAID drivers. You should be able
...
to install directly to arrays managed by these controllers now.
1999-11-02 03:40:14 +00:00
Alexey Zelkin
b4e9780ac9
fix couple mdoc error
...
mention library name in header (.Nd field) - it allows to use "man -k libdisk"
1999-10-28 15:42:48 +00:00
Peter Wemm
7f3dea244c
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
Mike Smith
d84c9e2a65
Merge from -stable; support for the 'ida' driver, move fla to major 102
1999-07-05 09:43:29 +00:00
Mike Smith
5ca13e05f7
Fix my own Pie Floater.
...
(Correctly handle 'wd' devices)
1999-05-12 23:50:50 +00:00
Doug Rabson
c914395258
Back out the last change to disk.c - a kernel change removed the need.
...
Enabled writing to the disklabel when writing a disk (only affects alpha).
1999-05-09 11:34:58 +00:00
Doug Rabson
756b11d957
Make libdisk see the existing partitiions on the alpha.
1999-05-08 21:21:50 +00:00
Mike Smith
003afcdfdb
Clean up after another half-Danish.
...
Add 'ad' as another known disk driver of the same kind as 'wd'.
1999-05-04 22:44:48 +00:00
Warner Losh
dcb0ae4ed8
More egcs warning fixes:
...
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
1999-04-25 22:29:30 +00:00
Jordan K. Hubbard
35ea9462db
More support for Alpha installs.
...
Submitted by: dfr
1999-01-29 11:39:24 +00:00