Re: detecting nfs mounted files



Stephen Browne <stephen browne sun com> writes: 
> Does anyone know how to do a similar thing that would work on both
> Solaris and linux?

Linux has statvfs() also, so you could use that hack. Of course it
breaks unless you have a comprehensive list of network filesystem
types (AFS, etc.)

The source code to the stat command line util for Linux (package is
just called "stat") has an example.

Havoc


_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]