On Wed, Oct 01, 2003 at 06:44:34PM -0400, Pisupati, Ajay wrote: > Ethan, > there is a glibc function __fstatfs which basically takes in a path > and returns among other things, the type of FS that the file is on. I am > sure you are aware of it. I tried today to find the source for this > function and I really could not. this could be due my ignorance, don't > really know. but, do you know this function? if so, can you point me to > where it is implemented? basically I ended up concluding that it is a system > call. can you confirm this? yup its a syscall: eb@socrates ~$ man -k statfs fstatfs (2) - get file system statistics statfs (2) - get file system statistics chapter 2 covers syscalls. check the kernel source. > Thanks, > ajay > BTW, what time are you available on IRC? 06:00 - 10:00 UTC for weekdays, much more on weekends. -- Ethan Benson http://www.alaska.net/~erbenson/
Attachment:
pgp00000.pgp
Description: PGP signature