2

I find findmnt's output much easier for a quick scan of the filesystem status than the traditional mount command.

Is there an equivalent for it on Mac? It's part of util-linux package. HomeBrew doesn't have a package for it.

EDIT: Here is a sample output, as suggested in a comment:

$ findmnt
TARGET                       SOURCE                       FSTYPE     OPTIONS
/                            /dev/disk/by-uuid/b70...92ec ext4       rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered
|-/sys                       sysfs                        sysfs      rw,nosuid,nodev,noexec,relatime
| |-/sys/fs/fuse/connections                              fusectl    rw,relatime
| |-/sys/kernel/debug                                     debugfs    rw,relatime
| `-/sys/kernel/security                                  securityfs rw,relatime
|-/proc                      proc                         proc       rw,nosuid,nodev,noexec,relatime
|-/dev                       udev                         devtmpfs   rw,relatime,size=2015976k,nr_inodes=503994,mode=755
| `-/dev/pts                 devpts                       devpts     rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
`-/run                       tmpfs                        tmpfs      rw,nosuid,noexec,relatime,size=404956k,mode=755
  |-/run/lock                                             tmpfs      rw,nosuid,nodev,noexec,relatime,size=5120k
  `-/run/shm                                              tmpfs      rw,nosuid,nodev,relatime
  • There might be ways to simulate/generate the output you are looking for. As most OSX users aren't familiar with findmnt, can you add some sample output to the question? – nohillside Jul 24 '16 at 6:29
  • Does OSX have any of the subdirectories? If not then what does this command add? – Mark Jul 25 '16 at 0:04
  • @Mark it's not about the specific sub-directories but about having a more readable output than plain mount. e.g. when my backup disk is connected or a remote SMB volume is mounted, both under /Volumes, I find it easier to find them with output like findmnt than plain mount. – Amos Shapira Jul 25 '16 at 2:00

You must log in to answer this question.

Browse other questions tagged .