SBDavid
Jun 2nd, 2010
Jun 2nd, 2010
Mounting confusion /proc comes to the rescue
Mounting confusion /proc comes to the rescue
If you are losing track of what’s mounted, and in what state? No problem, here comes /proc to the rescue:
cat /proc/mounts
This displays all mounted filesystems, the filesystem types, read/write status, and other attributes. How many hard drives are on the system? One of these will tell you and also, SCSI drives are sd, IDE are hd.
fdisk -l
or
dmesg | grep hd
or
dmesg | grep sd