editing fstab file ??

Markku Kolkka markkukolkka at kolumbus.fi
Sun Dec 12 19:28:10 UTC 2004


Jim kirjoitti viestissään (lähetysaika sunnuntai, 12. joulukuuta 
2004 20:09):
> i tried to mount the hard drive and i get this message
> [jim at My_World ~]$ mount /dev/hdb1
> mount: can't find /dev/hdb1 in /etc/fstab or /etc/mtab
> [jim at My_World ~]$
>
> i opened the fstab file using
> [jim at My_World ~]$ vi fstab

This command is trying to edit the file /home/jim/fstab, there is 
no such file and creating one wouldn't make any difference.

> the file is empty
> the man pages are making me more confused
> or should i be opening ther fstab file under root ?

You should be opening the file /etc/fstab while logged in as 
root.




More information about the users mailing list