findmnt --poll

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

 



 I have committed the first (and hopefully last :-) version of the

    findmnt --poll

 command. The command monitors changes in /proc/self/mountinfo and
 it's usable with all findmnt(8) features. Examples:

 * monitor mount, umount, remount and move on /mnt/foo.

     $ findmnt --poll /mnt/foo

 * wait for /mnt/foo umount

     $ findmnt --poll=umount --first-only /mnt/foo

 * monitor remounts to read-only mode on all ext3 filesystems:

       findmnt --poll=remount -t ext3 -O ro


 Comments & suggestions?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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