LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Suse 9.1 + FAT32 (https://www.linuxquestions.org/questions/linux-software-2/suse-9-1-fat32-214789/)

Jajamd 08-07-2004 05:56 PM

Suse 9.1 + FAT32
 
Hi guys,

Heres another lame problem...
I recently added a new windows FAT32 partition I can mount, read and write typing
mount -t vfat /dev/hdg5 /mnt

In a console...
But I cant get it to be automatically mounted by the system during the boot...
Heres my fstab file
/dev/hdb2 / reiserfs acl,user_xattr 1 1
/dev/hda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /windows/D ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdg5 /windows/E vfat ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hdb1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,user,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,user,iocharset=utf8 0 0

And when I try to mount /dev/hdg5 its telling me the FS is wrong...
Is there a way to make a script or something not to have to type the whole thing in a console everytime?



Thanks !

bruno buys 08-07-2004 09:47 PM

Try to omit the fs type. If you don't give a fs type, the system will try to find out. Also, the "ro" parameter will make your partition be mounted read-only.

Try something like this:

/dev/hdg5 /windows/E rw,users,gid=users,umask=0002,nls=utf8 0 0


All times are GMT -5. The time now is 11:49 PM.