-2

On FreeBSD I wish to see all mounted disks and all of their mount locations.

For example this shows my disks.

[root@freenas] ~# sysctl kern.disks
kern.disks: xbd2 xbd1 ada0
[root@freenas] ~#

Now I have the disks but I don't know where they are mounted.

2

1 Answer 1

2

You can use the mount command

The system maintains a list of currently mounted file systems. If no arguments are given to mount, this list is printed.

Then parse the output looking for the disks you are interested in.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .