Commit Graph

13 Commits

Author SHA1 Message Date
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