Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I managed to install my used 120GB maxtor drive. It has 2 partitions .. a 60Gb in NTFS and a 60 GB in FAT32 .. I am trying to mount the FAT32 partition but evertime I run mount it's asking to specifiy the file type??
If you want to mount the partition as a normal user, you need to specify the file type in /etc/fstab. Your command would work as user root, though. So change
I would enter the following line in your /etc/fstab file to have the partition mounted during system startup.
Code:
/dev/hdc5 /mnt/backups vfat auto,rw 0 0
The options part of the line is open to debate. I would put "noexec,nosuid" in that part of the line as well as the "auto,rw". The "noexec" option means that program images on that disk will not run/execute. I think of this option being most helpful in terms of possibly preventing a JPEG virus from executing, though I don't know if "noexec" will actually prevent this sort of thing. The "nosuid" option means that programs that have the "suid" bit set will not assume the id of the owner of the program. This is helpful because you never know how a bit for FAT32 could be interpreted by the Linux file system driver. It's just safer to say "nosuid". So I think that I would recommend this line for /etc/fstab.
If your normal user account(s) cannot access the files due to file permissions then you could add "gid=100" to the options section of the /etc/fstab line. Note that the man page for the mount command shows that gid is a valid option for FAT file systems but is not listed as an option for FAT32 (vfat) file systems. All the same I would put it in and see what happens. The "gid=100" option would tell the Linux kernel to "see" the files on that partition as being owned by the Linux user group 100, which is "users".
Last edited by stress_junkie; 09-10-2006 at 03:09 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.