nyan
784618782e
- Added support for installing boot0 and boot0.5 for PC-98.
...
- Cosmetic changes.
2000-08-12 14:20:31 +00:00
nyan
2a86f209a7
- 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
nyan
fb32fc5d86
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
jhb
b4c0d6aa68
- 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
b7f030c2c0
Don't call printf without a format string.
2000-07-11 23:49:24 +00:00
jhb
033721fb7a
_PATH_DEV'ify libdisk
2000-06-28 22:28:50 +00:00
nbm
0b74e561b2
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
nyan
78e26067f4
Re-support "wd" if PC98 is defined. Because PC-98 still uses the wd driver.
2000-06-05 13:33:39 +00:00
msmith
2dbe92be83
/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
msmith
6af3825c82
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
5ba5b0230b
fix stray 'i' from editor.
2000-05-25 08:24:38 +00:00
msmith
3040b8e835
Teach libdisk about 'twe' disks.
2000-05-25 02:23:47 +00:00
jkh
9809e4d713
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
b13c8f158a
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
phantom
c509417387
Introduce .Lb macro to libdisk manpage
2000-04-22 15:58:49 +00:00
obrien
04946447c6
Raw devices are now the normal device name, not prefixed with 'r'.
2000-04-19 18:51:28 +00:00
kato
54a7094e5d
Changes for PC-98.
2000-03-29 15:10:28 +00:00
charnier
df60edbd20
lowercase error message
2000-03-26 15:14:16 +00:00
imp
a4af1d9ca0
Fix fd leak in libdisk's Disk_Names()
2000-03-10 22:54:04 +00:00
jlemon
af76e7b9bc
Fix pointer addition bug (3 -> 4).
...
Submitted by: david.w.james@bt.com
2000-03-09 15:05:20 +00:00
jlemon
b81515b53b
Correct device naming for IDA disk nodes (idad)
2000-03-08 18:14:02 +00:00
jkh
f657eab6de
Hide more debugging behind isDebug(); what's currently
...
spewing out will only alarm people.
2000-02-18 03:06:43 +00:00
rgrimes
c127d0e61e
Replace beforeinstall target with new variables used by .mk system.
...
Reviewed by: marcel, and make world
2000-01-14 07:57:47 +00:00
phk
e396740391
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
jkh
19ab44d39b
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
msmith
517fd10f04
Remove 'sd' support. SCSI disks are known as 'da' these days.
1999-11-27 21:20:57 +00:00
phk
ba79ac5ee3
Remove BAD144 support
1999-11-27 14:33:30 +00:00
msmith
9747814286
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
phantom
6f948b9645
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
76f0c923fe
$Id$ -> $FreeBSD$
1999-08-28 00:22:10 +00:00
msmith
0891003b83
Merge from -stable; support for the 'ida' driver, move fla to major 102
1999-07-05 09:43:29 +00:00
msmith
54b816ccba
Fix my own Pie Floater.
...
(Correctly handle 'wd' devices)
1999-05-12 23:50:50 +00:00
dfr
d04db09021
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
dfr
4537aba471
Make libdisk see the existing partitiions on the alpha.
1999-05-08 21:21:50 +00:00
msmith
bccd81a06a
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
imp
404ab5f9ba
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
jkh
4468350ab5
More support for Alpha installs.
...
Submitted by: dfr
1999-01-29 11:39:24 +00:00
phk
3210deb041
Bring us one step closer to sysinstall'ing on a DOC2k device.
1999-01-14 21:48:13 +00:00
jkh
ce49697787
Changes for alpha support.
...
Submitted by: dfr
1999-01-08 00:32:19 +00:00
jkh
4fc63e8029
Eliminate all dependence on boot1 and boot2. This is passed in by
...
Set_Boot_Blocks() anyway and should thus have never been a part of
libdisk, it should have been provided by the client of libdisk since
passing the information in is already part of the API.
1998-12-31 02:35:43 +00:00
jkh
174157b2de
Transition libdisk to use /boot since what it's looking for (boot1 and boot2)
...
are now there.
1998-12-30 13:29:11 +00:00
bde
c7d4679276
Backed out previous commit. It depends on a.out utilities and libraries
...
somehow being available even on pure elf systems.
1998-12-30 12:06:08 +00:00
bde
64edc80b7a
Fixed bootstrapping of /usr/mdec/boot[12].
1998-12-30 11:26:24 +00:00
phk
8d37d7da90
Add "fla" to Disk_Names()
1998-12-19 18:48:33 +00:00
msmith
877e8e9a78
Fixes for handling 'wfd' (and any other disk with a non-2-character name)
...
Submitted by: Some from Satoh Junichi (junichi@astec.co.jp )
1998-10-27 21:14:03 +00:00
dfr
b0393b65d5
Teach libdisk about alpha boot blocks.
1998-10-06 11:57:08 +00:00
jkh
e2bde560d5
Eliminate unaligned access on Alpha and also neaten up this code a little.
...
Submitted by: dfr
1998-09-30 21:40:51 +00:00
gibbs
12e1349910
Remove references to the "od" device.
1998-09-15 10:23:17 +00:00
jdp
4c0dd08a5a
Extend the existing hackery to set the disk type to SCSI for the
...
"da" and "od" devices. Formerly ESDI was used for them, causing
problems for fresh installations of CAM systems.
1998-06-27 02:01:25 +00:00
jkoshy
0d7d76d982
Spelling corrections.
...
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-06 05:50:53 +00:00