Date: Thu, 29 Jan 2004 14:36:55 +0100 From: Guido van Rooij <guido@gvr.org> To: Ruslan Ermilov <ru@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/mount mount.c Message-ID: <20040129133655.GA22944@gvr.gvr.org> In-Reply-To: <20040129132732.GB19899@FreeBSD.org.ua> References: <200401291316.i0TDGpbj052050@repoman.freebsd.org> <20040129132732.GB19899@FreeBSD.org.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 29, 2004 at 03:27:32PM +0200, Ruslan Ermilov wrote: > On Thu, Jan 29, 2004 at 05:16:51AM -0800, Guido van Rooij wrote: > > guido 2004/01/29 05:16:51 PST > > > > FreeBSD src repository > > > > Modified files: > > sbin/mount mount.c > > Log: > > Unbreak -o fstab and -o current in combination with -a > > > > MFC after: 2 weeks > > > > Revision Changes Path > > 1.59 +2 -0 src/sbin/mount/mount.c > > > Did you mean -u here, because -a is not listed as allowed > in combination with the -o option? > Does it matter? In case it is not with -u, and the filessytem is already mounted, the mount will not do anything due to: if (!(init_flags & MNT_UPDATE) && ismounted(fs, mntbuf, mntsize)) continue; In case it is not mounted, -o current will be void, and -o fstab will be implied. -Guido
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040129133655.GA22944>