[Balug-talk] function to find out what hard drive are mounted?
Aaron T Porter
atporter at primate.net
Thu May 8 11:51:02 PDT 2003
On Thu, May 08, 2003 at 11:38:52AM -0700, John Dave wrote:
> Is there any function or API in linux to find out which hard drives are
> mounted currenlty like "/dev/hda", "dev/hda1"...etc and also tells what
> file system it has?
John, PLEASE stop posting HTML to this list!
You should check the mount command and/or the contents of
/proc/mounts.
More information about the Balug-talk-balug.org
mailing list