Good Day Posted April 24, 2009 Share Posted April 24, 2009 hello, how would i mount a partition by its LABEL ? have this on /etc/fstab LABEL=BackupData /Backup/Data hfs rw,noauto 1 2 bash-3.2# mount /Backup/Data mount_hfs: No such file or directory same when mounting by LABEL bash-3.2# mount LABEL=BackupData mount_hfs: No such file or directory actually i'm emulating this with diskutil list | grep BackupData | awk '{ print $6 }' it returns diskXsY and i can mount it with `mount' or `diskutil mount' but this is just a dirty hack in FreeBSD i'm just adding this to fstab /dev/ufs/BackupData /Backup/Data ..... then simply mount /Backup/Data does just what it is expected to do thanks for any suggestions Link to comment Share on other sites More sharing options...
DiaboliK Posted April 24, 2009 Share Posted April 24, 2009 mount /Volumes/Backup/Data -D- Link to comment Share on other sites More sharing options...
Good Day Posted April 24, 2009 Author Share Posted April 24, 2009 mount /Volumes/Backup/Data -D- thanks for reply not sure this work seems like 'mount by label' is not doable in OSX it is possible by device or uuid would be great if OSX store all volume names as devices somewhere in /dev Link to comment Share on other sites More sharing options...
Recommended Posts