LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to detect readonly filesystem using C (https://www.linuxquestions.org/questions/linux-general-1/how-to-detect-readonly-filesystem-using-c-514802/)

edenCC 12-30-2006 02:45 AM

how to detect readonly filesystem using C
 
Hi, list;
how to detect readonly filesystem using C language?
I wanna detect a read-only file system under unix/linux,
thanks for any directions,

edencc,

raskin 12-30-2006 03:04 AM

Run 'man statvfs' . It will describe the solution.

edenCC 12-30-2006 06:35 AM

Quote:

Originally Posted by raskin
Run 'man statvfs' . It will describe the solution.

thank you, it's resolved


All times are GMT -5. The time now is 12:54 AM.