Re: device path from mount path?
Re: device path from mount path?
- Subject: Re: device path from mount path?
- From: "Christoph Nadig" <email@hidden>
- Date: Wed, 15 Nov 2006 06:58:16 +0100
Hi,
have a look at the man page of getfsstat (2)
Hope this helps,
Christoph
>I'd like to get the device path (ie: /dev/disk1s0, etc) for each
>mounted volume. I've figured out that NSWorkspace
>mountedLocalVolumePaths lists all the volumes. And that
>file(System)AttributeAtPath gives some interresting information. But
>I'm at a loss as how to translate this into a device path.
>
>Any help? I don't want to launch any command line tools, like "mount".
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Cocoa-dev mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden