Find the answer to your Linux question:
Results 1 to 7 of 7
I have F9 on a laptop that dual boots with WinXP. When i log in and the desktop shows that the NTFS partition is mounted with a shortcut on the ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5

    Stop automounting other partitions

    I have F9 on a laptop that dual boots with WinXP.

    When i log in and the desktop shows that the NTFS partition is mounted with a shortcut on the desktop. Is there a way to make it not automount? Trivial inconvenience, but i thought i'd ask anyway.

  2. #2
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    create a file with following data (called 99-redhat-storage-policy-fixed-drives.fdi) and place in /usr/share/hal/fdi/policy/10osvendor, reboot and they should disappear from desktop.

    Code:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> 
    
    <!-- lives in /usr/share/hal/fdi/policy/10osvendor -->
    
    <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>
    used to be there in fedora 8, but they removed it for some reason in Fedora 9+
    In a world without walls and fences, who needs Windows and Gates?

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5
    That did the trick. Where'd you find that bit of code?

    Thanks

  4. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    This page (though it seems to old ) has more info about HAL
    redhat.com | HAL
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  5. #5
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    well i found that i if you add the noauto option thaen ut dosn't mount the ntfs partition.
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  6. #6
    Just Joined!
    Join Date
    Jun 2009
    Posts
    5
    Quote Originally Posted by rituraj.goswami View Post
    well i found that i if you add the noauto option thaen ut dosn't mount the ntfs partition.
    Where does "noauto" get added to?

  7. #7
    Linux Newbie
    Join Date
    Sep 2004
    Location
    UK
    Posts
    160
    With "noauto" I found the partition still showed up on the desktop (that was with fedora 9 - I did'nt bother trying fedora 10, but that's another story). I usually have several partitions that are not related to the current installation (1 * XP, at least 2 other distributions) on most of my machines and since my son (9) uses most of the machines as well I don't want him to accidentally ruin my other installations I prefer that the partitions not be shown on the desktop.

    Not sure if it's the fedora developers or gnome developers but after fedora 8 time someone's lost their grip on usability/reality.
    In a world without walls and fences, who needs Windows and Gates?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...