Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 17:41:15 +0200
From:      Martin <nakal@nurfuerspam.de>
To:        freebsd-stable@freebsd.org
Subject:   Read-only medium/device detection
Message-ID:  <42D7D91B.3090701@nurfuerspam.de>

next in thread | raw e-mail | index | archive | help

Hi,

when I mount a device (or medium) which is read-only without
the -r option, I get lots of troubles when shutting down later.
Syncer does not write all vnodes/blocks to disk. This happened
to me with a write protected floppy disk (-t msdos) and a
CD-R (-t ufs).

It seems to me that read-only state of a file system is being
initially setup according to the type of the file system.
Wouldn't it be more appropriate to detect the medium/device
capabilities to setup it read-only automatically if needed?

Martin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42D7D91B.3090701>