new to linux

Scot L. Harris webid at cfl.rr.com
Sun Oct 3 00:45:09 UTC 2004


On Sat, 2004-10-02 at 20:16, Paul wrote:

> By the looks of fstab, /dev/hdb1 and /dev/hdc1 aren't explicitly used.
> That's not to say that they're not in use. A quick and simple way to
> test if they are mounted is to open a terminal window (redhat -> system-
> tools -> terminal), su, umount /dev/hdb1. If it doesn't report an error,
> the drive is not mounted. If it does report an error, then FC has
> swallowed it and is using it invisibly.
> 
> If it's not mounted, create a mount point (cd /; mkdir shared - you'll
> need to be root for that though). Edit /etc/fstab so it has the line
> 
> /dev/hdb1         /shared      ext3    noauto,user,exec,kudzu   0,0
> 
> That will then be mountable and you set your shares to there. You should
> see my fstab for a nightmare ;-p

IMHO a better way to sort out what file systems have been mounted is to
use the command:

df -vh

That should tell you which devices are mounted, where they are mounted,
and how much space is available and used.

Compare that with the output of

fdisk -l

and you should have a complete picture of what partitions have been
defined and which ones have been formatted and mounted.

-- 
Scot L. Harris
webid at cfl.rr.com

"Consistency requires you to be as ignorant today as you were a year ago."
-- Bernard Berenson 




More information about the fedora-list mailing list