GUI root login and NTFS mounts?

Tom London selinux at gmail.com
Tue Jul 1 13:19:25 UTC 2008


On Mon, Jun 30, 2008 at 10:14 PM, Clyde E. Kunkel
<clydekunkel7734 at cox.net> wrote:
> Jerry Williams wrote:
>>
>> When I login as root with the GUI my NTFS file systems get mounted.
>>
>> <snip>
>>
>> And I don't want them all mounted either.
>>
> I found the following resolved the problem for me (from an oldish thread):
>
>> maybe related to this
>> https://www.redhat.com/archives/fedora-test-list/2008-May/msg00935.html
>>
>> IIRC (?)
>>
>>
>> Old stuff:
>>
>> Fedora 7 has a file called
>>
>> /usr/share/hal/fdi/policy/10osvendor/99-redhat-storage-policy-fixed-drives.fdi
>> to prevent this from happening, here's its contents:
>> <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
>>
>> <deviceinfo version="0.2">
>> <device>
>>  <match key="@block.storage_device:storage.hotpluggable" bool="false">
>>    <match key="@block.storage_device:storage.removable" bool="false">
>>      <merge key="volume.ignore" type="bool">true</merge>
>>    </match>
>>  </match>
>> </device>
>> </deviceinfo>
>>
>> If that file is no longer there in Fedora 8, try adding it and see if
>> that helps.
>>
>>
>> HTH
>>
>> -- Ronald Warsow <rwarsow at gmx.de>
>
>
> ---------------------------------
> Regards,
>
> Old Fart

I believe HAL does not try to mount partitions/devices that are in
/etc/fstab, so I added an entry for the partition to /etc/fstab with
"noauto".

For example, I have the following line in mine:

/dev/sda1		/mnt/windows		ntfs-3g	rw,noauto	0 0

tom
-- 
Tom London




More information about the fedora-devel-list mailing list