I want to know where all mount points are stored; i.e. under any specific directory?
I want to be able to list all the existing mount points using a C Program. Which system call or function should I use?
They are located in the /proc/mounts "file", which you can read and parse.
They are located in the /proc/mounts "file", which you can read and parse.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With