Thanks that could work
On May 28, 2008, at 4:20 PM, Dmitri Goutnik wrote:

On May 28, 2008, at 10:36 PM, Mr. Gecko wrote:

Hello I have a program that finds a device by it's device number such as /dev/disk2s3 how would I find out the mount point/name of that device?
If not how can I find the device number and name from a mount point?


mount | grep /dev/disk2s3 | sed 's/.* on \(.*\) (.*/\1/'

- Dmitri


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to