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: Justin Walker <email@hidden>
- Date: Wed, 20 Apr 2005 15:19:56 -0700
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
Cheers,
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for General Semantics
--------
Men are from Earth.
Women are from Earth.
Deal with it.
--------
_______________________________________________
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