Subject: Re: vnconfig file on read only partition
To: Patrick Welche <firstname.lastname@example.org>
From: Daniel Carosone <email@example.com>
Date: 12/18/2002 13:34:15
On Wed, Dec 11, 2002 at 04:22:23PM +0000, Patrick Welche wrote:
> Why shouldn't I be able to configure a vnd pointing to a file on a read only
> # mount -t cd9660 -r /dev/cd0a /mnt
> # cd /mnt
> # ls -l bootlapnetcd1.fs
> -r--r--r-- 1 root wheel 2949120 Oct 8 11:21 bootlapnetcd1.fs
> # vnconfig -v -c vnd0 bootlapnetcd1.fs
> vnconfig: bootlapnetcd1.fs: Read-only file system
> Couldn't I then mount -r the vnd?
This seems very much like a bug to me, you should be able to do
that, and you should get back EROFS from vnd when trying to write
through it only.
Please send-pr this.