phk
5bd563609a
Fix a printf.
1995-11-20 12:03:52 +00:00
dg
191e41e14d
Kill setting of b_pfcent - it's unused.
1995-11-19 13:24:00 +00:00
bde
336a6f070b
Moved prototypes for devswitch functions from conf.c and driver sources
...
to <machine/conf.h>. conf.h was mechanically generated by
`grep ^d_ conf.c >conf.h'. This accounts for part of its ugliness. The
prototypes should be moved back to the driver sources when the functions
are staticalized.
1995-11-04 13:25:33 +00:00
bde
b25431cbea
Fix benign type mismatches in devsw functions. 82 out of 299 devsw
...
functions were wrong.
1995-09-08 11:09:15 +00:00
dyson
912bdf25e6
Fixed VOP_BMAP. A new argument was added, and I missed this one.
...
Submitted by: Bruce Evans (bde@freebsd.org )
1995-09-04 14:58:14 +00:00
rgrimes
c86f0c7a71
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
bde
8467ec16ea
Change dsioctl() interface to allow DIOCSYNCSLICEINFO to update the caller's
...
slice pointer and to print the device name in error messages.
1995-04-30 15:14:34 +00:00
gpalmer
121e99df24
(Sorry about prev. blank message - I realised I needed a change too late).
...
Removed unused var. and correct a printf formatting string.
1995-04-28 22:24:37 +00:00
gpalmer
8dabcbb389
*** empty log message ***
1995-04-28 22:23:19 +00:00
dg
874da2b43f
Escentially a rewrite by John Dyson. This is disgusting, and John agrees,
...
but the whole thing is, so what the hell. :-) This version is expected to
work.
1995-04-19 10:31:18 +00:00
phk
2269686ee1
A substantial change to the way this works. Not the "TEST_LABELING" is
...
a option you can turn on and of on the fly, as is debugging.
1995-03-11 09:32:45 +00:00
bde
e11bf3ee66
Fake the geometry to be 32 sectors * 64 heads * (vn->sc_size / 2048)
...
cylinders instead of vn->sc_size * 1 * 1.
Remove unnecessary tests of the unit numbern vnioctl().
1995-03-04 11:08:26 +00:00
phk
206b955407
Missed a reference to numvnd.
...
Thanks Ollivier.
1995-03-02 01:04:38 +00:00
phk
bfcb419e68
Less bogus allocation of softc to avoid races.
...
Thanks for the hint David!
1995-03-01 05:05:21 +00:00
bde
1ed387d287
Remove YF comments.
1995-02-25 16:48:28 +00:00
bde
20aaa0b802
Remove the #error that temporarily stopped this from supporting slices and
...
labels.
Please test the slice/label features:
cd /dev; sh MAKEDEV svn0
cd /var/tmp; dd if=/dev/zero of=vnfile bs=8192 count=1024
vnconfig -c /dev/rvn0 /var/tmp/vnfile
fdisk /dev/rvn0 # invent a geometry, create one BSD partition
disklabel -r -w vn0 floppy # a convenient (bogus) label
disklabel -e vn0 # edit label to match device
newfs /dev/rvn0a
mount /dev/vn0a /mnt
...
The steps after the fdisk could name the device vn0s1 instead of vn0.
1995-02-22 22:06:20 +00:00
bde
2db3914936
Temporarily stop this compiling if the option TEST_LABELLING is defined
...
so that new slice support code can be installed without risk of
corrupting vn devices (if any).
1995-02-16 13:09:39 +00:00
phk
375883d9c1
YF fix.
...
Reviewed by: phk
Submitted by: yves@dutncp8.tn.tudelft.nl (Yves Fonk)
1995-02-14 06:06:07 +00:00
dg
e685147d48
Fixed incorrect bufsize assignment that was causing a panic.
...
Submitted by: John Dyson
1995-02-13 04:25:46 +00:00
phk
a9cb5cddf7
Warning: vn doesn't work just now. I havn't found out why. This commit
...
just removes a couple of unused functions.
1995-01-30 05:31:04 +00:00
bde
a867a90930
Continue implementing disk slices and labels for the vn driver. Everything
...
is supposed to work except "media removal" (shutting down the vn driver)
while some partitions are open.
Fix some errnos: return ENOTTY, not ENXIO for unknown ioctls; return
ENODEV, not ENXIO for the unsupported dump operation.
1994-12-16 16:50:15 +00:00
phk
0841512ddc
An inconsequential #ifdef Bruce forgot.
1994-12-16 01:13:09 +00:00
bde
0c17d10a45
Implement disk slices and labels for the vn driver. This is intended mainly
...
for testing and is only enabled if TEST_LABELLING is defined. It won't
actually work until DOS goop is removed from ufs_disksubr.c.
1994-12-12 00:23:11 +00:00
phk
3bfd4a6175
Avoid a panic if vn is configured as swapdev. Seems to work fine.
1994-12-06 06:47:32 +00:00
phk
1bbace0833
The vn driver from 4.4_lite
1994-12-04 20:08:35 +00:00