LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FC-8, how to stop win partitions from automatic mount (https://www.linuxquestions.org/questions/linux-software-2/fc-8-how-to-stop-win-partitions-from-automatic-mount-637074/)

prabhatsoni 04-22-2008 12:19 PM

FC-8, how to stop win partitions from automatic mount
 
Hello,
I have FC-8 machine, which has linux and Win xp.
When I start linux, I find that all the win partitions (NTFS) are automatically mounted. They are mounted under /media directiory. For example the partition /dev/sda1 is found mounted on /media/disk. I have not added any entry in the /etc/fstab for this partition.
How can I stop this partition from getting automatically mounted.
This /dev/sda1 is my win C; drive. Incidently this partition though having "root" as its owner and group, I am able to delete files from this, that is it is mounted with permissions as "777".
There are other win partitions which contain data and I have added explicit entries in /etc/fstab to mount them.

SO friends, help me to stop this /dev/sda1 from getting mounted automatically.

Thanks in advance.


Prabhat Soni

ronlau9 04-22-2008 12:47 PM

Are you dual booting Windows XP and FC-8 ?
If so the mount point FC-8 is that not c:/windows

all the best

taxtropel 04-22-2008 05:11 PM

easy...add the entries to /etc/fstab
and in the options add the noauto option to the line

prabhatsoni 04-22-2008 11:48 PM

Thanks Taxtropel,
That would probabely serve the purpose. I will check and let you know.
But why is getting mounted anyway. What configuration options are making it getting mounted without any corresponding entry in the fstab. I feel it has something to do with the ways the flash disks are getting mounted when inserted. The flash disk too is getting mounted under the /media directory just as this /dev/sda1.

Any comments.


Prabhat Soni

linuxlover.chaitanya 04-23-2008 01:15 AM

If you are using FC8 then most probably the ntfs partition is getting the read write permission due ntfs-3g package that is installed by default on fedora 8.
This was not the case in earlier releases and hence ntfs needed to be mounted explicitly.


All times are GMT -5. The time now is 05:45 PM.