On Oct 2, 2008, at 6:30 PM, Mark McCray wrote:
Hey there,Is there a way to figure out what username was used to log
on to a
mounted volume by knowing the volume name
Yes.
With statfs:
uid_t f_owner; /* user that mounted the file system */
you then just need to transform the uid to a username.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]