Date: Sat, 8 Apr 2000 12:24:46 +0200 (CEST) From: sam@ada.eu.org To: FreeBSD-gnats-submit@freebsd.org Subject: kern/17859: vnode devices reject disklabels Message-ID: <20000408102446.8C809504@antinea.enst.fr>
next in thread | raw e-mail | index | archive | help
>Number: 17859 >Category: kern >Synopsis: vnode devices reject disklabels >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 8 03:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Samuel Tardieu >Release: FreeBSD 5.0-CURRENT i386 >Organization: TELECOM Paris >Environment: >Description: It looks like despites what the manpage reads, it is not possible to make a disklabel on a vnode device, either with a specified or with an automatic type. >How-To-Repeat: % dd if=/dev/zero of=/var/tmp/floppy bs=1k count=1440 % vnconfig -c /dev/vn0 /var/tmp/floppy % disklabel -w vn0 auto disklabel: ioctl DIOCGDINFO: Inappropriate ioctl for device disklabel: auto: unknown disk type % disklabel -w -r /dev/vn0 fd1440 disklabel: ioctl DIOCWLABEL: Inappropriate ioctl for device The manpage for disklabel says that auto is fine with vnode devices, which is obviously not the case. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000408102446.8C809504>