cvs commit: src/sbin/mount mount.c

Guido van Rooij guido at gvr.org
Thu Jan 29 06:27:01 PST 2004


On Thu, Jan 29, 2004 at 02:09:55PM +0000, Ceri Davies wrote:
> On Thu, Jan 29, 2004 at 03:07:40PM +0100, Dag-Erling Sm?rgrav wrote:
> > Ruslan Ermilov <ru at FreeBSD.org> writes:
> > > Did you mean -u here, because -a is not listed as allowed
> > > in combination with the -o option?
> > 
> > no, his patch makes
> > 
> > # mount -u -o fstab -a -t ufs
> > 
> > work as expected (i.e. restore the fstab flags on all ufs filesystems)
> > 
> > previously,
> > 
> > # mount -u -o fstab /specific/mount/point
> > 
> > would work, but the -a version wouldn't.
> 
> The manpage and usage bits should be updated to reflect this.  I'm not
> sure, but I think that's what Ruslan was getting at.
> 

I don't get it..it is not specifically mentioned as forbidden. So
it should work. 
What Ruslan meant (at least that is how I see it) is that
-o fstab is only mentioned in combination with -u. That is correct.
It still works with -a (without the -u), but specifying it is pointless
as its net effect is nill. So I would not update the manual page.

-Guido


More information about the cvs-src mailing list