How to stop GNOME automounting my partitions

Gnome always mounts my Windows partitions to /media. I have shut off all automount options in the gnome-volume-manager, but it still mounts them all. They are ofcourse not listed in my /etc/fstab. Is this supposed to be some kind of "feature"?
Does anyone know how I can fix this annoying behaviour?

Okay, I managed to make it so they do not show up anywhere, here is my preferences.fdi file located in /etc/hal/fdi/policy/:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="storage.hotpluggable" bool="false">
<match key="storage.removable" bool="false">
<merge key="storage.automount_enabled_hint" type="bool">false</merge>
</match>
</match>
</device>
<device>
<match key="volume.uuid" string="2E2C05502C05150D">
<merge key="volume.ignore" type="bool">true</merge>
</match>
<match key="volume.uuid" string="afba1791-11b8-496d-a232-04805eaef6b2">
<merge key="volume.ignore" type="bool">true</merge>
</match>
</device>
</deviceinfo>
Technically, the "storage.automount_enabled_hint" is not needed anymore, but it's not a bad thing to have it there.
I use UUID's to address my partitions, and that's pretty straight forward with the "volume.uuid" key, but for the people who want to use the normal partition names, I don't really know how that would work. There is a "volume.partition.number" key, but that only accepts a integer, and not a string like "sda6" for example.
You can find the UUID's of your partitions in /dev/disk/by-uuid/. Just do ls -l.
Thanks for all the help. One step closer to a perfect Arch system
Last edited by HyperBaton (2008-04-18 11:56:05)

Similar Messages

  • Stop gnome 3.2 from trying to adjust brightness [SOLVED]

    I see this error a lot in my .xsession.errors:
    (gnome-settings-daemon:1207): power-plugin-WARNING **: failed to restore backlight to 100: out of brightness range: 100, has to be 8 -> 0
    This is probably because I have samsung-tools and easy-slow-down-manager installed from AUR to get the backlight controls of my samsung laptop to work.
    Does anybody know how I get rid of this error?
    I looked in org.gnome.settings-daemon.plugins.power but did not find a way to stop gnome from trying to adjust the brightness. I tried disabling the power plugin altogether by setting 'active' to false, but this made it impossible to switch brightness manually.
    Last edited by berz_ (2011-10-16 15:54:18)

    I managed to solve the issue by applying this patch: https://bugzilla.gnome.org/show_bug.cgi?id=661287.
    Still wondering why it didn't show up in google searches though.

  • How to stop the spinning  ball after trying to install 10.7.3?How

    How to stop the spinning ball after trying to install V10.7.3?

    Boot from your recovery partition by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    When the Recovery desktop appears, reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.

  • How to Stop and restart the midtier?

    Hello All,
    I have installed Oracle AS (Infraturcture & middle tier , BI & Forms) on same Linux box.i.e: Oracle As 10.1.2.0.2 (Rel 2, x86 for Linux), SLES 9
    Here is my question:
    How to Stop and restart the midtier?
    Regards,
    DN

    biforms.sh
    export ORACLE_HOME=/opt/oracle/biforms
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/lib
    infra.sh
    export ORACLE_HOME=/opt/oracle/infra  <-- or correct one!
    export OH=$ORACLE_HOME
    export PATH=$OH/bin:$OH/opmn/bin:/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/java/bin
    export ORACLE_SID=ORCL
    export LD_LIBRARY_PATH=$OH/lib:/usr/openwin/lib:/usr/dt/lib:/usr/lib:/tools/libAs you see, only the first row differs from these two scrips. Because I'm lazy, I usualy set export OH. Under certain circumstances you might want to add DISPLAY to biforms.sh. Set it to localhost:0 or whatever is correct.
    Martin

  • Gnome automount and media.repo under Oracle Linux 6.3

    Hello,
    I experiencing a strange behavior testing the following under Oracle Linux 6.3 (x86-64-bit) UEK2 with all latest updates. I selected the Gnome desktop packages using the "customize now" ratio button when installing the OS
    * Log in to a graphical shell such as GNOME
    * Insert addition media disk into the computer
    * Observe the media is mounted by the session
    * Wait a couple of seconds
    * Observe the /etc/yum.repos.d/packagekit-media.repo now exists
    The above is explained in more details at http://people.redhat.com/rhughes/media-repo.txt
    I don't know what the "addition media disk" is, but inserted the Oracle Linux 6.3 x86_64 binary distribution DVD, which also has media.repo file in the root directory. And btw, I'm using VirtualBox and the DVD is an .iso disk image.
    I'm experiencing the following:
    Gnome automount works and automatically opens the DVD when inserted.
    It does not create the /etc/yum.repos.d/packagekit-media.repo file.
    It actually does create the named repo file, but only after one waits about 15 minutes. Perhaps this has anything to do with gpk-update-icon, but when run manually it hangs.
    With the packagekit-media.repo file finally created. The gpk-application however complains: "The group list was invalid".
    I know how to create a yum configuration file pointing to a local repository, which is also coverd in the Oracle Linux 6.3 distribution readme. I just wonder about the problem. Th automatic business with the media.repo file seems broken and useless. I did one more test using the original RHEL kernel which, as expected, did not make a difference.
    Does anyone know more about it?
    Thanks!

    I cannot create an SR, but I did some more tests creating my own DVD, playing with the info in the media.repo file. It seems matching the mediaid and .discinfo information alone doesn't fix it.
    Actually some of the stuff is explained in the link I already used: http://people.redhat.com/rhughes/media-repo.txt. The problem seems that it doesn't work as advertised.
    It takes exactly 15 min. before the system (gnome) automatically copies the media.repo file from DVD to /etc/packagekit-media.repo. If the file already exists it gets overwritten.
    I think it might be a good idea to make an entry in the media.repo file on the DVD, such as:
    baseurl=file:///media/<disklabel>
    skip_if_unavailable=True
    Then when inserting the DVD under gnome it would not be necessary to create a yum repository configuration file to use the DVD. The 15 min. delay will have to be fixed, which is only supposed to take a couple of seconds.
    Edited by: Dude on Aug 27, 2012 5:51 PM

  • How to stop lion recovery disk assistant from downloading?

    Since I planned to upgrade the stock disk on my macbook pro I created a USB stick backup of the Lion OS using Lion recovery disk assistant. It built a bootable copy of my Lion OS. I replaced the drive, booted from the USB stick Lion, formatted the new drive with disk utility with one OSX partition, and bunch of Linux partitions for the planned dual/triple/etc. boot.  I then used the recovery disk menu to reinstall OSX on the new disk. It took off and started the download just like while booting with R key or from the recovery partition AGAIN!.  This is a 2 hour proposition and is totally ridiculous. I need to be able to reinstall without downloading Lion every time.   Any ideas on how to stop this new Apple invention from doing this download?

    If you read the Disk Recovery Assistant documentation all that it does is put a copy of the Recovery HD onto the flash drive. There is no OS on it to reinstall, hence the reason for the Internet download.
    If you wish to have a true bootable installer flash drive for your system, then here's what is involved. Start by going to this link: Downloading Hardware Specific Lion Installers. Follow the instructions very, very carefully because this can be a bit tricky.
    Once you have the installer application:
    Make Your Own Lion Installer
    1. After downloading Lion you must first save the Install Mac OS X Lion application. After Lion downloads DO NOT click on the Install button. Go to your Applications folder and make a copy of the Lion installer. Move the copy into your Downloads folder. Now you can click on the Install button. You must do this because the installer deletes itself automatically when it finishes installing Lion.
    2. Get a USB flash drive that is at least 8 GBs. Prep this flash drive as follows:
    Open Disk Utility in your Utilities folder.
    After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    Set the format type to Mac OS Extended (Journaled.) Click on the Options button, check the button for Zero Data and click on OK to return to the Erase window.
    Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    3. Locate the saved Lion installer in your Downloads folder. CTRL- or RIGHT-click on the installer and select Show Package Contents from the contextual menu. Double-click on the Contents folder to open it. Double-click on the SharedSupport folder. In this folder you will see a disc image named InstallESD.dmg.
    4. Plug in your freshly prepared USB flash drive. You are going to clone the InstallESD.dmg disc image to the flash drive as follows:
    Open Disk Utility.
    Select the USB flash drive from the left side list.
    Click on the Restore tab in the DU main window.
    Check the box labeled Erase destination.
    Select the USB flash drive volume from the left side list and drag it to the Destination entry field.
    Drag the InstallESD.dmg disc image file into the Source entry field.
    Double-check you got it right, then click on the Restore button.
    When the clone is completed you have a fully bootable Lion installer that  you can use without having to re-download Lion.

  • Systemd automount luks partition in background

    A bit of a technical story for systemd experts.
    Systemd causes a few seconds delay on boot when it automounts all fstab entries and one of those entries is an encrypted volume. The problem is when I mount a data partition which is really not important, i.e. it can wait until the system is completely booted. I can fix this by using noauto in crypttab and fstab or I can use a rc.local script to mount the partition manually. But how can I tell systemd this partition is not important and mounting this partition should never delay booting? Is it even possible with systemd?
    /etc/crypttab:
    data /dev/... /root/data.key
    /etc/fstab
    /dev/mapper/data /mnt/data ext4 rw,relatime 0 0

    Thanks aesiris, I've tried this but it's the same. When I don't mount the encrypted data partition on boot the system goes from text mode to X within 2 seconds. If I do mount the data partition the console goes from text mode to framebuffer (not sure how to call it but when you got a higher resolution text console) and then to X. Guess what I want is not possible with systemd.

  • How to stop Gdm & fall back in console to edit the Gdm-login settings.

    Unfortunately, I didnt configure, Gdm-user-login settings and started  Gdm to play.
    Now, Gdm prompts to login, but i cant, login with the username  or as root.
    so please somebody reply , how to stop Gdm & fall back in console to edit the Gdm-user-login settings.

    ewaller wrote:Well, if I catch you before you waste your time, try rebooting, edit the kernel command line in grub and add '3' at the end.
    Or boot from your install media, mount / at /mnt, and edit your /etc/inittab or /etc/rc.conf, depending on how you are staring GDM.
    Grub bootloader  failed to be installed on my system. so i have installed Syslinux. And in Syslinux, i  did'nt  find  any option to edit.
    However, i have re-installed Arch and now Arch-gnome up & running.

  • [SOLVED] Gnome automount without GDM

    Hello, newbie Arch user here. Love the distro and the philosophy :]
    That said, I dislike having to wait for GDM to load. It doesn't seem very Arch to run a program just to log in (as this is my personal computer,) but I don't know how to configure gnome to automount without GDM handling the permissions. Would someone be able to point me to a place where I can enlighten myself?
    Last edited by beleth (2009-09-13 19:46:23)

    That was what I needed, thank you for the quick reply.
    I was about to ask why that wasn't in the Beginner's Guide, but of course it was and I must have skimmed over it >.< Sorry I'm a bad newbie.
    Thanks again.

  • How to STOP syncing with Outlook via GPRS?

    I use an unlocked iPhone 3G with a prepaid mobile card.
    Everytime I open my Calendar function on the iPhone (just to see the days and dates) the iPhone attempts to sync over the air with my Outlook account calendar via GPRS.
    This costs a bomb on the prepaid card, and I want to stop the sync function.
    Would someone kindly tell me how to STOP the iPhone from syncing with my Outlook Calendar?

    If calendar events are synced over the air, this means you are accessing an Exchange account or a MobileMe account.
    If you don't want to sync calendar events over the air with the account, you need to turn Calendars off for over the air syncing for the account preferences on your iPhone. This will erase all calendars and calendar events from your iPhone and you will need to sync direct with a supported application on your computer via the iTunes sync process. If an Exchange account with Outlook on a Winblows PeeCee, this will not be possible.

  • How to stop syncing the photos only on facebook

    how to stop syncing the photos only on facebook

    corg2333 wrote:
    yeaa but it is not only on facebook i think..
    Disable the automatic spell checking service in your browser.
    Safari
    --> Edit --> spelling and grammar --> uncheck "check while typing"
    Firefox
    http://support.mozilla.com/de/questions/500215

  • How to stop voice control

    how to stop voice control?

    Hi Joannewpark,
    Press your Home Button to get to the Home Screen.
    Press Settings, then press again 2x fast - you will go to the Settings screen
    Press on General, then press again 2x fast - you will go to the General screen
    Use 2 fingers to indicate scroll up - Voice Over will begin to read the items on the screen, and will eventually get to the Accessibility option. When it says "Accessibility" press on it, then press on it 2x fast
    It will go to the Accessibility screen, tap on the Voice Over option one, and then again 2x fast, now tap on the Voice Over option again, and then double tap to turn it off.
    Cheers,
    GB

  • How to stop text box on iWeb page from automatically reverting to hyperlink when I click 'save'

    As far as I see, the main text box in the body section of my iWeb page reverts to a hyperlink (connecting to a file) when I click save.  I don't know how the hyperlink got activated to begin with--I must have done something, but I don't know what it was.  I tried this many times to fix it: went to Inspector "hyperlink" section, activated the text box in the page, un-clicked "make hyperlinks active" (so they are inactive), then un-clicked "Enable as a hyperlink."  That much works--the hyperlink (little white arrow in blue circle) disappears from the lower right corner of text box.  But as soon as I save (command S), the text box reverts to a hyperlink. 
    If I don't click save and move around the pages, it does not revert to a hyperlink.  It only reverts to a hyperlink when the file is saved.  Why is it doing this and how to stop this from happening--how to permanently return the text box to a non-hyperlink?
    The website page is: http://www.usronline.net/USR/VedicResearch.html.  If you click anywhere randomly in the main text, you'll get a prompt to download a PDF file.  This should not be, but I can't get this hyperlink to go away for good.
    Many thanks in advance.
    Vishnupriya

    Please pardon the reply delay--a big project deadline had to be met.  Now back to this work:
    Yes, the text in the oval object had a drop shadow (the oval object itself did not).  I removed the drop shadow from the text, but the image file icon stayed in the right corner of the oval object.  I deleted the text and then the image file icon disappeared.  But as soon as I typed text again inside the oval object (not even pasting the previous text) the image file icon appeared again.  I deleted the oval object entirely and simply typed the text inside the main text box itself.  The image file icon that was attached to that oval object is gone (along with the oval object).
    Still the image file icon is attached to the main text box, though.  I again tried to uncheck the Enable as hyperlink (same process as described in first posting) with that oval object gone, but when I "save" again it reverts to a hyperlink. 
    Next I tried this: I copied the text from the problem text box and pasted it into another text box (outside of the problem one).  Still in the new text box with the pasted text, the image file icon shows in the upper right corner. 
    I also removed all the drop shadow features from this main text box (there was one more, on some words typed in the main text box), but it is still showing as an image.
    I don't know how it became an image file, and I'm still stumped as to how to fix it (short of forgetting about trying to figure out how it became an image and just retyping all text into a new text box).
    The link you provided for "Web Safe Fonts" is returning this: "The server at www.ampsoft.net is taking too long to respond."  I'm using Arial and Georgia (Georgia only on the menu and header text) in the site, and I had verified before designing the site that these are web safe, so I had thought they were.
    If you or anyone have any further suggestions or suspicions on this matter, I'd be glad to hear them.
    Thank you.

  • In my macbook pro when composing email it coping into thrash as well so how to stop this ?

    in my macbook pro when composing email it coping into thrash as well so how to stop this ?

    You may have a Bad fan. Make an appointment and take it to the genius bar for an evaluation. It's free, in warranty or out.

  • Can't figure out how to stop my MBP from opening programs at startup, namely word and messages

    Recenty my MBPro has started opening MS Word and Messages at startup and I can't figure out how to stop it?  I've tried selecting and de-selcting the startup option from the dock but this doesn't help.  Does anyone have any suggestions?

    System Preferences has a setting for this.
    In the Users & Groups section you will fine a "Login Items" header.  This is a list of all the programs that will open automatically when you log in.  You can select any program and click the [--] button below that window to stop the program from opening automatically.

Maybe you are looking for