Re: Determining if a volume is a network volume from an absolute path?
Re: Determining if a volume is a network volume from an absolute path?
- Subject: Re: Determining if a volume is a network volume from an absolute path?
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 21 Apr 2005 21:08:37 +0200
On jeudi, avril 21, 2005, at 12:19 AM, Justin Walker wrote:
On Apr 20, 2005, at 14:33, Stéphane Sudre wrote:
Is it possible to determine from an absolute path if the file/folder
described by the path is on a network volume or not?
With the stat API I can get the inode's device (dev_t) but some grep
in /usr/include are not very enlightening.
The volume is "mounted" when I need to know this.
man statfs
Perfect!
It even contains the id of the user that mounted the filesystem. Cool...
_______________________________________________
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