Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 17:29:41 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/mount mount.c
Message-ID:  <xzphdyeyayy.fsf@dwp.des.no>
In-Reply-To: <20040129143208.GH19899@FreeBSD.org.ua> (Ruslan Ermilov's message of "Thu, 29 Jan 2004 16:32:08 %2B0200")
References:  <200401291316.i0TDGpbj052050@repoman.freebsd.org> <20040129132732.GB19899@FreeBSD.org.ua> <xzpu12e7sr7.fsf@dwp.des.no> <20040129140955.GX47004@submonkey.net> <20040129142659.GA23750@gvr.gvr.org> <20040129143208.GH19899@FreeBSD.org.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov <ru@FreeBSD.org> writes:
> usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special node
>        mount [-adfpruvw] [ -F fstab] [-t ufs | external_type]
>        mount [-dfpruvw] special | node
>
> Can you see the -a option on the first line with -o?  I can't.
> The fix is to add -a as allowed option to the first line of
> program's usage() and manpage's SYNOPSIS.

This was already broken - Guido's commit didsn't change that.  It was
already possible to do "mount -o ro -a -t ufs" (or "mount -art ufs" as
I generally spell it)

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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