David E. O'Brien
e32cb81d24
Add spaces around operators.
...
It's OK, the Project and afford them now -- they aren't as expensive as
they used to be.
2001-04-01 12:18:20 +00:00
David E. O'Brien
8c32a31fd2
Try to untangle some of the #ifdef spaghetti.
...
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.
2001-04-01 11:37:31 +00:00
David E. O'Brien
656533ef4d
Quiet warnings on the Alpha.
2001-04-01 11:22:40 +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
Jordan K. Hubbard
5e25dc0f5c
MFS: add ATA raid support for sysinstall
2000-11-06 23:15:01 +00:00
Mike Smith
53ea88cdd1
Teach libdisk about 'aac'
2000-09-13 05:04:48 +00:00
John Baldwin
61e9944f4f
_PATH_DEV'ify libdisk
2000-06-28 22:28:50 +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
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
KATO Takenori
7e9e421193
Changes for PC-98.
2000-03-29 15:10:28 +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
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
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
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
Poul-Henning Kamp
5a5a489faf
Bring us one step closer to sysinstall'ing on a DOC2k device.
1999-01-14 21:48:13 +00:00
Jordan K. Hubbard
a864ef37a3
Changes for alpha support.
...
Submitted by: dfr
1999-01-08 00:32:19 +00:00
Mike Smith
f5ce88ded8
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
Justin T. Gibbs
d02ee3ee3e
Remove references to the "od" device.
1998-09-15 10:23:17 +00:00
Jordan K. Hubbard
a299349b09
MF22: teach about LS-120 devices.
1998-03-20 23:43:04 +00:00
Jordan K. Hubbard
f1a98d56f2
Be more verbose if we can't determine device major/minor.
1998-02-10 17:19:12 +00:00
Jordan K. Hubbard
76b851fda2
Non-intrusive changes to support Justin's CAM stuff.
1998-01-16 12:50:36 +00:00
Peter Wemm
7e546392b5
Revert $FreeBSD$ to $Id$
1997-02-22 15:12:41 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
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.
1997-01-14 07:20:47 +00:00
Jordan K. Hubbard
0b3870cb60
Close PR#2198:
...
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>
1996-12-13 07:55:14 +00:00
Jordan K. Hubbard
d402093152
Move some warn()'s into DEBUG space since I don't need them coming
...
out in my curses interfaces and spamming my screen.
1996-04-29 05:03:02 +00:00
Joerg Wunsch
e2c8e21d6b
Make libdisk C++ aware:
...
- 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.
1996-03-24 18:55:39 +00:00
Peter Wemm
40b0c0d936
Update the -current sources from the 2.1 branch.
...
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Rodney W. Grimes
d3628763db
Merge RELENG_2_0_5 into HEAD
1995-06-11 19:33:05 +00:00
Rodney W. Grimes
e5370bd7fe
Remove trailing whitespace.
1995-05-30 08:29:07 +00:00
Jordan K. Hubbard
2f2a4e7a4a
Align slices to cylinder boundries.
...
Submitted By: phk
1995-05-24 08:59:40 +00:00
Poul-Henning Kamp
13da1b0612
Do not allocate the first track.
1995-05-20 19:11:44 +00:00
Poul-Henning Kamp
86577745c3
Fixed the calculation of the reserved space for bad144. Thanks Rod!
1995-05-15 19:03:08 +00:00
Poul-Henning Kamp
ff88273903
Create_Chunk_DWIM will not allocate anything in the last cylinder of a
...
CHUNK_BAD144 slice.
Also mknod the 'c' partition for freebsd slices, so bad144(8) will have
something to work on.
1995-05-15 00:58:25 +00:00
Poul-Henning Kamp
7b92fbb848
Added MakeDevDisk(struct disk*, char *path);
...
fixed bug in extended slice naming.
1995-05-12 18:50:00 +00:00
Poul-Henning Kamp
8f9c995787
Get the CHUNK_COMPAT_BSD flag right.
1995-05-11 05:22:54 +00:00
Poul-Henning Kamp
59618a8666
Create_Chunk_DWIM() is here, though it doesn't quite do what the name implies.
1995-05-10 05:57:04 +00:00
Poul-Henning Kamp
c0b8ca15f5
I bet Jordan is tearing his hair out, trying to figure the previous patch
...
out... here is the real thing.
1995-05-08 01:26:47 +00:00
Poul-Henning Kamp
f768aaceb4
Fix bug.
1995-05-08 00:44:46 +00:00
Poul-Henning Kamp
b83d7daff4
General sanitation and cleanup. Killed the "reserved" type, it wasn't.
1995-05-06 03:28:32 +00:00
Poul-Henning Kamp
e9851d87a8
Make the partitions names even more sensible
...
CheckRules sets the CHUNK_ALIGN & CHUNK_PAST_1024 flags.
1995-05-04 07:00:57 +00:00