From owner-freebsd-current Mon Apr 27 16:37:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA09915 for freebsd-current-outgoing; Mon, 27 Apr 1998 16:37:33 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA09909 for ; Mon, 27 Apr 1998 16:37:30 -0700 (PDT) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id QAA21612; Mon, 27 Apr 1998 16:30:10 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd021595; Mon Apr 27 23:30:08 1998 Message-ID: <354513B5.3F54BC7E@whistle.com> Date: Mon, 27 Apr 1998 16:24:37 -0700 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Andrzej Bialecki , freebsd-current@FreeBSD.ORG Subject: Re: Ouch... (DEVFS) References: <3544BBEA.2781E494@whistle.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer wrote: > > Andrzej Bialecki wrote: > > > > Hi! > > > > Yet another minor problem: does DEVFS support vn(4) driver? I can't make > > it work. Ok I've looked at it quickly.. here's how you do it.. 1/ the 'auto' feature does NOT work so use a floppy definition to start with.. vnconfig /dev/rvn0 /tmp/imagefile disklabel -w -r /dev/rvn0 floppy3 disklabel -r -e /dev/rvn0 [edit disklabel to taste.. make 'c' the whole file but make another partition to mount. 'c' is special. it will not show up in /dev.] newfs /dev/vn0a # not rvn0a, this is a bug. I will fix this. This has shown up a few bugs, not the least of which is that newfs opens the disk READONLY and is surprised when it is not allowed to write. [BUG] disklabel auto does something that stops it working when it can't read a disklabel from the device first. I think it tries to do one of those disklabel IOCTLs (which of couse fails) and bombs out. It also will not write a disklabel, even with -r, when it gets an error from some specific IOCTLs (which it should ignore) I will look at these problems when I get a chance. julian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message