Re: mount: should -vf be handled by mount ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 26, 2007 at 04:19:20AM -0400, Mike Frysinger wrote:
> On Thursday 26 July 2007, Karel Zak wrote:
> > On Wed, Jul 25, 2007 at 08:21:55PM -0400, Mike Frysinger wrote:
> > > this isnt a regression from 2.12, just a bug report ;)
> > >
> > > running:
> > > $ mount -nvf / -o remount
> > > does not exec any other programs and gives me nice output if the
> > > filesystem is something simple like ext3 ... but if it's something like
> > > nfs or smbfs, the sub mount program will be executed instead.  in the
> > > case of mount.nfs, no
> >
> > I've fixed mount.nfs in nfs-utils:
> 
> i was under the impression we punted this though to the nfs-utils package ?

yeah, we've moved mount nfs code to nfs-utils. The patch (in my
previous mail) was from the official nfs-utils GIT tree.

> > Mike, it seems you use "mount -fnv / -o remount" as a replacement for
> > "mount | grep ^/" :-)
> 
> yes and no ... we use it to determine user intent in our init scripts before 
> performing some boot operations ...

I'd like to improve a way how mount(8) reports about mountpoint in
v2.14, something like:

  $ mount --is-mounted  <mountpoint|device>
  $ mount --list [fstype,mountpoint,label,uuid,...] <mountpoint|device>
  ....

 Comments & __suggestions__ ?

        Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux