Hi Ken,
Bingo! The f_flags field of statfs structure. Thanks, Ken.
I've also checked FSMegaInfo, but I haven't found any additional ways
to check the mount flags. It seems to use the same BSD statfs way.
Oleg.
On Wed, Oct 12, 2011 at 5:51 AM, Ken Thomases k...@codeweavers.com wrote:
On Oct
On Oct 12, 2011, at 1:12 AM, Oleg Krupnov wrote:
On Wed, Oct 12, 2011 at 5:51 AM, Ken Thomases k...@codeweavers.com wrote:
On Oct 11, 2011, at 6:42 AM, Oleg Krupnov wrote:
I'd like to get the mount options of a particular volume (like rw,
nobrowse, automounted etc.) of a mounted volume,
Hi,
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.
It should be easy, but I can't seem to find anything in the library.
Thanks
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
On Oct 11, 2011, at 6:42 AM, 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.
There are many ways to get volume information. For the mount flags,