Tzar Kastik
11-23-2003, 06:17 PM
Hi. (i know ive asked this before, but i cant find that thread)
Im wanting to add a 120GB hard drive (/dev/hdd) as a second drive and mount it so that only one user can read or write to it (as well as root).
First thing i did was
mkfs.ext3 /dev/hdd
then made the mountpoint
/home/me/stuff
and added
/dev/hdd /home/me/stuff ext3 defaults 1 2
to fstab.
Im not sure if this is the right way to do this. Is it ok to use /dev/hdd or do i have to (somehow) make /dev/hdd1? I have managed to get it to mount, but only root can write to the directory, even though the directory was made by the user.
Any help would be great. Thanks
Im wanting to add a 120GB hard drive (/dev/hdd) as a second drive and mount it so that only one user can read or write to it (as well as root).
First thing i did was
mkfs.ext3 /dev/hdd
then made the mountpoint
/home/me/stuff
and added
/dev/hdd /home/me/stuff ext3 defaults 1 2
to fstab.
Im not sure if this is the right way to do this. Is it ok to use /dev/hdd or do i have to (somehow) make /dev/hdd1? I have managed to get it to mount, but only root can write to the directory, even though the directory was made by the user.
Any help would be great. Thanks