putting 'noauto' in the option list ought to do the job I think. As in 

/dev/hda1 /mnt/win_c vfat  
noauto,ro,uid=501,gid=506,iocharset=iso8859-1,codepage=850 0 0

Check out 'man fstab'   and 'man mount' for a full list of options.

derek


On Friday 25 January 2002 15:09, Roman Korcek wrote:
> Hi,
>
> >> My windows driveis automatically mounted when I go into Linux. How
> >> do I turn this off?
> >
> > comment the entries in your /etc/fstab by placing # marks before
> > each line. mine would look like this:
> > #/dev/hda1 /mnt/win_c vfat
> > ro,uid=501,gid=506,iocharset=iso8859-1,codepage=850 0 0 #/dev/hda5
> > /mnt/win_d vfat uid=501,gid=506,iocharset=iso8859-1,codepage=850 0 0
> > #/dev/hda6 /mnt/win_e vfat
> > uid=501,gid=506,iocharset=iso8859-1,codepage=850 0 0
>
> I wonder, what should I do so that the drives don't get mounted but I
> can mount them with a simple mount /mnt/win_c without specifying all
> the filesystem type and the like options? A simple user,noauto in the
> options?
>
> TIA
> Roman

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to