Date: Mon, 29 Aug 2005 21:41:31 +0000 From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: saturnero@freesbie.org Cc: freebsd-current@FreeBSD.org, pjd@FreeBSD.org Subject: Re: mdconfig recently broken? Message-ID: <20050829214131.GA2855@freefall.freebsd.org> In-Reply-To: <20050829205638.GA2458@freefall.freebsd.org> References: <20050829205638.GA2458@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
>Hi everybody,
>due to limited connectivity in August, I've been able to
>update my -CURRENT box only yesterday since the first days of August
>(iirc).
>
>I noticed that mdconfig -a -t vnode -f ${myfile} isn't working anymore
>when ${myfile} is on a read-only filesystem:
>
>sberta:/usr/local/freesbie-clone/uzip# mdconfig -a -t vnode -f usr.uzip
>md0
>sberta:/usr/local/freesbie-clone/uzip# mdconfig -d -u 0
>sberta:/usr/local/freesbie-clone/uzip# mount -fru /usr
>sberta:/usr/local/freesbie-clone/uzip# mdconfig -a -t vnode -f usr.uzip
>mdconfig: ioctl(/dev/mdctl): Read-only file system
>
>This makes impossible to use compressed filesystems on devices like
>cdrom or read-only diskless environment. Any idea? I'm using:
>
>FreeBSD sberta.saturnero.sat 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Aug 27 18:1
>5:39 CEST 2005 satu at sberta.saturnero.sat:/usr/obj/usr/src/sys/SBERTA i386
>sberta:/usr/local/freesbie-clone/uzip#
>
>Bye and thanks in advance,
>Dario
>
Come to think about it, -o readonly isnt going to help. the bottom line is,
if the backing store is readonly, it should never be possible to write to it.
--
Christian S.J. Peron
csjp@FreeBSD.ORG
FreeBSD Committer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050829214131.GA2855>
