LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mount hdd problem (https://www.linuxquestions.org/questions/linux-hardware-18/mount-hdd-problem-414632/)

raduromeo 02-12-2006 03:15 PM

mount hdd problem
 
I will be as short as possible.

This is my fstab >

Code:

/dev/hdb2            /                    reiserfs  acl,user_xattr        1 1
/dev/hda1            /windows/C          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdd1            /windows/D          ntfs      ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda1            /windows/E          vfat      user,defaults                        1 2
/dev/hdb1            swap                swap      defaults              0 0
proc                /proc                proc      defaults              0 0
sysfs                /sys                sysfs      noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts              /dev/pts            devpts    mode=0620,gid=5      0 0
/dev/dvdrecorder    /media/dvdrecorder  subfs      noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

The problems that I have are:

1. /dev/sda1 I want to be mounted with r/w permission.
2. There is one more HDD sdb1 wich I can not mount it. This one is formated like dinamic volume from windows.

I am useing Suse 10.0 Eval and yes I am a :newbie:
Thanks.

Brian1 02-12-2006 03:50 PM

If you mean you want a user to write to the drive then you need to add the umask or combination of fmask and gmask. Umask is the easiest. You read more from the command ' man fstab '

Code:

/dev/sda1        /windows/E        vfat    umask=0000,users,noauto,owner,rw,dirsync  0 0

raduromeo 02-12-2006 04:12 PM

Thank you Brian, it worked.


All times are GMT -5. The time now is 01:18 AM.