mount -u -r drops nosuid ?

Oliver Fromme olli at
Wed Nov 23 04:06:31 PST 2005

Dag-Erling Smørgrav <des at> wrote:
 > Oliver Fromme <olli at> writes:
 > > Dag-Erling Smørgrav <des at> wrote:
 > > > Oliver Fromme <olli at> writes:
 > > > > Because you didn't specify it.  When updating the options
 > > > > on a filesystem, only the options that you specify are
 > > > > used.  Otherwise there would be no way to remove options
 > > > > like nosuid.
 > > > uh, yes there would: -o suid
 > > Then it should be documented in the mount(8) manpage.
 > All mount options can be negated by adding the "no" prefix, or
 > removing it if it is already there.

Yes, I verified that by experimenting, after you mentioned
that "-o suid" would work.

But:  That behaviour is _not_ documented.  Or maybe I just
suffer from partial blindness.  I searched the mount(8)
manual page up and down in both RELENG_4 and RELENG_6.
There is no mentioning of the "no" prefix at all.  In fact,
it documents "async" and "noasync" separately, which lead
me to the (wrong) conclusion that the "no" prefix would
only work for those options for which it is explicitely

Shall I submit a doc PR?

Best regards

Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
Dienstleistungen mit Schwerpunkt FreeBSD:
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"Clear perl code is better than unclear awk code; but NOTHING
comes close to unclear perl code"  (taken from comp.lang.awk FAQ)

More information about the freebsd-fs mailing list