No OS X, tudo montado via GUI (e principalmente tudo que você não montou através da linha de comando) está disponível em /Volumes
.
Isso pode ser verificado com o comando mount
. Aqui está um exemplo em que montei um SMB e dois compartilhamentos AFP - as últimas três linhas:
$ mount
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
localhost:/FMN48UV69AlSIREfdWJEiA on /Volumes/MobileBackups (mtmfs, nosuid, read-only, nobrowse)
/dev/disk1s2 on /Volumes/Data (hfs, local, journaled)
/dev/disk1s5 on /Volumes/TimeMachine (hfs, local, journaled)
//GUEST:@meredith.local/music on /Volumes/music (smbfs, nodev, nosuid, noowners, mounted by werner)
//;AUTH=No%20User%20Authent@Meredith._afpovertcp._tcp.local/movies on /Volumes/movies (afpfs, nodev, nosuid, mounted by werner)
//;AUTH=No%20User%20Authent@Meredith._afpovertcp._tcp.local/software on /Volumes/software (afpfs, nodev, nosuid, mounted by werner)
Para restringir somente a saída mount
para compartilhamentos SMB, use mount | grep smb
:
//GUEST:@meredith.local/music on /Volumes/music (smbfs, nodev, nosuid, noowners, mounted by werner)