Jump to content
Compatible Support Forums
Sign in to follow this  

AutoMounting windows partions in read-only mode

Recommended Posts

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
Share on other sites

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:


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



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?) smile

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this