Jump to content


AutoMounting windows partions in read-only mode

  • Please log in to reply
2 replies to this topic

#1 admpablo



  • Members
  • 3 posts

Posted 30 January 2004 - 08:49 AM

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


#2 Maillion



  • Members
  • 213 posts

Posted 30 January 2004 - 11:11 AM

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.olem...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

#3 admpablo



  • Members
  • 3 posts

Posted 31 January 2004 - 03:56 AM

Thanks Maillion, thank you for your reply i'll try this (mtab) and i will let you know

thanks a lot


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq