https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280383

Mark Johnston <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |[email protected]

--- Comment #1 from Mark Johnston <[email protected]> ---
> I got bit by this because, if this is documented at all, it is not documented 
> in any obvious place.  E.g., the mount(8) man page gives no clue that you 
> can't do this; it only says, in the documentation for the -u option, that it 
> will fail if any file is opened for write.  mount(2) is similarly silent.

The description of mount -u states: "An attempt to change from read-write to
read-only will fail if any files on the file system are currently open for
writing unless the -f flag is also specified."

I don't agree with the notion that unlinked files deserve some special mention
here.  An unlinked file is still being used as file, it just doesn't have any
names referring to it, just one or more open file descriptors.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to