Re: How to get mount options of a mounted volume
Re: How to get mount options of a mounted volume
- Subject: Re: How to get mount options of a mounted volume
- From: Greg Guerin <email@hidden>
- Date: Tue, 11 Oct 2011 11:14:10 -0700
Oleg Krupnov wrote:
I'd like to get the mount options of a particular volume (like "rw",
"nobrowse", "automounted" etc.) of a mounted volume, like those I get
when I run "mount" command in the Terminal.
See the C function statfs().
See the include file <sys/mount.h>, struct statfs, member f_flags.
See the Darwin source for the 'mount' command.
But only if NSWorkspace getFileSystemInfoForPath doesn't return
enough info.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden