admpablo 0 Posted January 30, 2004 Hi, i'm running mandrake 9.2, and i need to know how to automount any windows partition in read-only mode, When i install Mandrake 9.2 automount all ntfs partition in read-only mode, now FAT and FAT32 are not automount in read-only mode, but you can choose to mount them during the installation with read-only, but i'm wonder if i can change some settings so everytime i plug a new hard drive with FAT or FAT32 is automatically mount in read only mode, like caldera 3.1.1 (openLinux) always automount all windows file systems in read-only mode is possible to so or what distro is better for this. Thank you for any help ;( Share this post Link to post
Maillion 0 Posted January 30, 2004 Well, you'd probably need to change the data for that partition in either fstab or mtab, maybe both. The line on each partition will say rw for read/write. It would need to be changed to ro for read only. Here is the fstab man page online: http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?fstab+4 One part of page 2: Quote: The mnt_opts field contains a list of comma-separated option words. Some mnt_opts are valid for all filesystem types, while others apply to a specific type only. Options valid on all filesystems (the default is rw) are: rw Read/write. ro Read-only. noauto Ignore this entry during a mount -a command, to allow the definition of fstab entries for commonly-used filesystems that should not be automatically mounted. grpid Causes a file created within the filesystem to have the group ID of its parent directory, not the creating process's group ID. nosuid Setuid execution not allowed for non-superusers. This option has no effect for the superuser. nodev Access to character and block special files is disallowed. I hope it helps. 8) (Just to satisfy my curiosity, why do you want your Windows partitions in read-only?) Share this post Link to post
admpablo 0 Posted January 31, 2004 Thanks Maillion, thank you for your reply i'll try this (mtab) and i will let you know thanks a lot Share this post Link to post