Well, for one thing I want a programmatic solution--some kind of system call that returns a list of structures, similar to getmntinfo(). But even if I was to use "df -ah" and capture/parse the output, it only lists information for mounted file systems. I want to get a list of all mounted *and* unmounted file systems.
|