Pierre Labastie wrote: > Le 13/01/2014 18:58, Bruce Dubbs a écrit : >> Sometimes I pick up a new command that I wasn't aware of before. >> Today's discovery is findmnt. >> >> I've been using 'mount' and 'df' for years to see what mounts are >> available and for disk side. I find that: >> >> findmnt -ln -o SOURCE,TARGET,FSTYPE,USE% >> >> Gives me a very nice output that I can put into an alias that I can use >> for either. It also avoids the problem that I have with df of >> displaying the root directory as /dev/root instead of /dev/sdb2 which is >> much more informative. >> >> -- Bruce >> > Actually, in a recent post of Karel Zak, one of the util-linux maitainers > (http://article.gmane.org/gmane.linux.utilities.util-linux-ng/8379), you can > read: > "Note that I'd like to learn people to use findmnt(8) rather mount > output. The mount(8) output is there mostly for backward > compatibility."
Yes, that's what clued me in. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page