Retrieve user, host, port and volume for a mounted filesystem
Retrieve user, host, port and volume for a mounted filesystem
- Subject: Retrieve user, host, port and volume for a mounted filesystem
- From: Mikael Hakman <email@hidden>
- Date: Wed, 27 May 2009 14:17:23 +0200
I need to retrieve user, host, port and volume for a mounted
filesystem. When mounted fs is smb then f_mntfromname field in struct
statfs returned by statfs() call gives this information as //
user@host:port/volume. When mounted fs is afp then this field contains
a character string such as afp_31Mvug000bmX0000oM0000VU-1.2f000006. I
haven't been able to determine the meaning of this string, neither how
to get required information from using it. Any help would be greatly
appreciated. Thanks.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden