Unmounting a volume, I don't know it's /dev assignment...

michaelsanford

Translator, Web Developer
Background:
http://www.macosx.com/forums/showthread.php?s=&threadid=22942&highlight=unmount+terminal

I have a Sony MicroVault 128MB, a little USB flash drive I've reformatted for HFS+, the only partition is called "Secure".

Code:
[amras:/]% disktool -u Secure
Cannot find device /dev/Secure

[amras:/]% sudo umount -f /Volumes/Secure
Password:
[amras:/Volumes/Secure]% l /Volumes
total 0
drwxrwxrwx  40 amras  unknown  1360 Mar 23  2002 Age of Empires II
drwxr-xr-x   3 root   wheel     102 Apr  2 14:22 Secure
[amras:/]% cd /Volumes/Secure
[amras:/Volumes/Secure]% l
[amras:/Volumes/Secure]%
The device is removed from my desktop, but I can still see it in /Volumes/ Note however that I can not access the drive, only see the partition's name.

I don't like forcibly dismounting the volume, especially since upon disconnection the Finder gives me a warning that the volume was improperly dismounted.

To properly dismount it using disktool, I have to know its /dev/ allocation. How can I determine this?
 
Type mount with no arguments and it will list out the currently mounted devices and their mount points.

-Eric
 
Back
Top