Hal automount question

I new to arch and so far i like it!
I am dealing wuth hal to automount my other partitions, i when i use nautilus i have listed at list 8 partitions/devices wich HAL mount.
How can i configure this, to only mount what i want? for example i have sabayon linux installed in one partion and i don't want hal to mount this, but at the same time, i want my mp4 player or my dvd device automounted.
PD: In this case is better if i use fstab?
thanks ain advance! and thanks for this great OS

TSP, I ended up trying this "outdated" tip and it worked.
http://wiki.archlinux.org/index.php/HAL
As root, create a file named 90-user-methods.fdi in /etc/hal/fdi/policy. Then paste the following in
<xml>
<deviceinfo>
<device>
<match>
<merge>true</merge>
<match>
<merge>false</merge>
<merge>true</merge>
</match>
</match>
</device>
</deviceinfo>
Then restart HAL, /etc/rc.d/hal restart.
Cheers.

Similar Messages

  • Odd hal automounting problem

    Hi
    usually when I bung a dvd in my drive, hal automounts it to /media and I can see it in thunar
    but all of a sudden it gets mounted to /mnt/cd and when I click on it in thunar I get the following error:
    Failed to mount "stuff".
    Failed to determine the mount point for /dev/hdc
    nor can I eject it, I get a message saying it wasn't mounted by hal:
    how can I find out what is mounting it and stop it??
    I've recently installed banshee and rhythmbox, could this have anything to do with it?

    In case anyone cares, or has a similar problem I fixed this
    I think the problem was I had pmount installed as a dependancy of one of the mp3 players I installed (banshee I think), and it was auto-mounting dvds before hal got a chance.
    When I uninstalled banshee, it didn't uninstall the huge amount of other packages it installed with it. I'm still an arch newbie, and would like to know how I would have uninstalled banshee and all the other packages that come with it using pacman.
    Anyone help?

  • HAL automounting in console?

    HAL seems to be working fine, it works on GNOME. I plug a CD and it shows on the desktop, I unmount it and it's gone...
    But this does not in the console when no graphical session is started.
    Anyway to solve it?

    firecat53 wrote:
    That's probably not HAL automounting your CD, but the gnome-volume-manager. It will only work when gnome is running. There really is no automount in the console unless you use something like autofs or this.
    Good luck!
    Scott
    I think I'm going to take a look at autofs instead...
    Mr.Elendig wrote:You could use udev instead of HAL to do the automounting. See the bottom part of the udev wiki page.
    It seems that that is only for usb devices, I want it for CD/DVD too...
    Thank you both.

  • Dbus/Hal automount not working in KDE

    Hi
    I have set portmap dbus hal in rc.conf.
    In Gnome automount works great but in KDE automount does not work and I don't know why.
    Can someone please help?
    All I want to have is when I insert cd,dvd,usbstick to have them automount.

    Thank you for your reply.
    I am looking forward to your next release...

  • Hal automounting

    hi.
    i've got problem with automounting harddisk/cd-rooms in arch.
    i can mount (i.e= hal can) usb-disks, but fat/ntfs disks (and cdroms) cannot be mount
    i followed this wiki http://wiki.archlinux.org/index.php/HAL
    i've added dbus & hal daemons into rc.conf file
    thats my /etc/group file
    tty::5:
    disk::6:root
    lp::7:daemon
    mem::8:
    kmem::9:
    wheel::10:root,szymon
    ftp::11:
    mail::12:
    log::19:root
    smmsp::25:
    games::50:szymon
    network:x:90:
    video:x:91:szymon
    audio::92:szymon
    optical::93:hal,szymon
    floppy:x:94:hal,szymon
    storage:x:95:hal,szymon
    power:x:98:szymon
    nobody::99:
    users::100:szymon
    slocate:x:21:szymon
    dbus:x:81:szymon
    hal:x:82:szymon
    avahi:x:84:szymon
    when put a usb-cable (from external harddisk) and i try to mount it i get
    Nie można zamontować "PROGRAMY":
    Brak wystarczających uprawnień by zamontować nośnik "PROGRAMY"
    (it is not possible to mount "programy"
    you have not sufficent rights for mounting 'programy')
    i get this massage when i'm on 'normal' user and on root.
    szymon
    /////////// edit
    and when i try to mount cd (any : music, files etc) i get
    mount: wrong fs type, bad option, bad superblock on /dev/dvd,
           missing codepage or other error
           In some cases useful info is found in syslog - try
           dmesg | tail  or so.
    Last edited by szymon gruszczynski (2007-08-05 15:17:13)

    eldarion : that's my fstab
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    #/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
    #/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
    /dev/sda1 swap swap defaults 0 0
    /dev/sda2 /boot ext3 defaults 0 1
    /dev/sda3 / ext3 defaults 0 1
    /dev/sda5 /usr ext3 defaults 0 1
    /dev/sda6 /home ext3 defaults 0 1
    i solved this problems with cd/dvd rom (as you see - i hashed /dev/cdrom and /dev/dvd).
    but the main problem remain :<

  • Autofs / automount question

    does anyone know how to set up autofs such that one can automount a filesystem over the network that is exported by another machine?  i've read the arch wiki on autofs and it is either outdated or just does not really explain how to do this. --  i cannot even start the autofs daemon or run automount by hand (fails, but nothing is logged to illuminate the issue even when i try to force logging):
    root % . /etc/rc.d/autofs start
    :: Starting autofs daemon                 [FAIL]
    root %
    or,
    /etc/autofs % automount -v ./auto.master
    automount: test mount forbidden or incorrect kernel protocol version, kernel protocol version 5.00 or above required.
    /etc/autofs %
    technically i am not a new user but i definitely feel like one now.
    i have all the necessary packages installed, as far as I can tell.  i am running the HAL daemon on startup, but i don't really think that should have anything to do with this.  i have written an auto.master file, privileges are all set to 0644.  the directory i refer to in the file exists and is empty.
    any help would be greatly appreciated...

    At my work we use autofs and ldap.  I'm gonna try to remember how we set this up.  You need to install a couple packages, autofs on the computer you want to mount to, and a nfs-server on the computer you want to mount from.
    Server.
    Packages :: nfs-server
    Files needing editing
    /etc/auto.master  (user data and mount point)
    /etc/exports  (/path/to/shared/folder and pcs (hostnames) which are allowed to mount)
    I'm not quite sure, but you probably have to add the user to /etc/passwd, /etc/shadow
    Client
    packages:
    autofs
    Files to be edited
    /etc/auto.master
    The auto.master files should be the same on both pcs.  I don't know why you can't start autofs though.

  • HAL automount external EXT3 hard rewriteable

    Hi-
    I have a EXT3 USB external HD, and everytime it automounts it is read-only. How do i get it so it mounts rewriteable everytime. Thanks
    dt

    Make sure you have the correct policies. Check out: http://wiki.archlinux.org/index.php/HAL
    Last edited by haxit (2008-08-26 17:54:21)

  • Automount question

    I'm a newbie to Lion Server, so this may be obvious to some, but how to I get volumes to Automount on my clients?
    I have a few volumes setup as SharePoints in the Server.app, and a bring a few MacBookPro's to work each day. I'd like them to automount the network volumes once they connect to the network, but have not figured out how to do this.
    Many thanks!

    You're saying 'automounts' but this is usually done to support something like network home directories. What you're probably refering to is called a network mount.
    You can include network mounts as part of a configuration profile that you push to devices.
    However, your mileage may vary with this feature. I've found it to be buggy in Lion but I did eventually get it to work.

  • HAL newbie question

    Hey need some help with HAL identifying what an inline formula means.
    Basically when I double click the connection port, the green box says (Amount * .01) *10* or (None) *<2>*
    What do the 10 or <2> could mean? I don't see these fields in the formula properties and I can't recreate these numbers when typing them.
    Thanks
    Edited by: user610131 on Mar 19, 2010 2:44 PM

    TSP, I ended up trying this "outdated" tip and it worked.
    http://wiki.archlinux.org/index.php/HAL
    As root, create a file named 90-user-methods.fdi in /etc/hal/fdi/policy. Then paste the following in
    <xml>
    <deviceinfo>
    <device>
    <match>
    <merge>true</merge>
    <match>
    <merge>false</merge>
    <merge>true</merge>
    </match>
    </match>
    </device>
    </deviceinfo>
    Then restart HAL, /etc/rc.d/hal restart.
    Cheers.

  • Change HAL Automount Root Directory

    I was wondering if it is possible to change the root directory that HAL mounts into.  I would like to change it from /media to /mnt.  The reason is that on my previous server (that I didn't have HAL installed on), I kept all media files (music, videos, etc.) in the media directory, and I liked it that way. 
    I like the fact that HAL is dynamic, that I don't have to manually create the entries in my fstab or anything.  I'm hoping that there is a solution that will do everything automagically.  I did a few hours of searching last night with no luck.  I was hoping somebody could throw me a lead.
    Thanks!
    Last edited by Hardrive (2009-08-06 18:24:43)

    Found this thread that might be relevant. Hope it helps.
    http://bbs.archlinux.org/viewtopic.php?id=40951
    Edit: I just thought to mention: It might be easier for you to install AutoFS or lvman or gnome-volume-manager and mess with those settings instead of messing with the HAL configuration stuff.
    Last edited by majiq (2009-08-08 14:12:08)

  • Questions: 10-keymap.fdi not working // automounting ntfs drives // ++

    Hi there,
    this time I want to change 100% from windows to linux and i found archlinux to be a really nice system.
    I like it "the arch way"
    1) I followed the beginner's wiki and choose those xf86-input-evdev 2.3.2-1 drivers.
    I set the 10-keymap.fdi file
    <merge key="input.xkb.layout" type="string">de</merge>
    <merge key="input.xkb.variant" type="string" />nodeadkeys</merge>
    </match>
    </device>
    </deviceinfo>
    The problem is, that the layout doesn't change to 'de'
    I put
    setxkbmap de -variant nodeadkeys &
    into my.xinitrc, but this is not a good solution, because when logging in with SLIM there is still the english layout (e.g. for passwords with an "y" i have to press "z" because y and z are swaped in de / en layout .)
    So what can I do? Is my 10-keymap.fdi  somehow wrong?
    2)
    I would like to use my windows ntfs partitions in arch, so I installed ntfs-3g. Manual mounting with "mount -t ntfs-3g /dev/sd.. /mnt/... " works, but how can I manage that arch mounts everything it finds automaticly on startup and while running (e.g adding an usb drive)?
    I installed "hal" but nothing is mounted on startup (/mnt is empty?)
    3)
    I saw there is a "netfs" daemon in my rc.conf
    I googled it and I read it is for unix network.
    When I install samba later, should I remove it then? (samba can do windows and unix both right?)
    4)
    I use openbox (and would like to continue using it). Is it possible to make windows "snap" to the edge and take half screen like in Windows 7 ?
    And are there any commands or something like that to rearrange windows on the screen, for example "show all windows side by side" or "sorted" ?
    This is my rc.conf
    http://pastebin.com/fvj7cBVp
    >> Thank you for you help! <<
    Last edited by cyberius (2010-05-30 14:53:17)

    1)
    replace ...
    hi
    thanks, it worked!
    2)
    use udev rules or autofs.
    are udev rules and autofs two different ways of automounting devices?
    i'm not shure, but i think i read on beginners wiki somewhere that hal automounts my drives?
    hal, udev, autofs.. i'm confused
    hm i read http://wiki.archlinux.org/index.php/Udev and created those files (with content) as they are written in the wiki
    /etc/udev/rules.d/11-media-by-label-auto-mount.rules
    /etc/udev/rules.d/10-my-media-automount.rules
    /etc/udev/rules.d/11-sd-cards-auto-mount.rules
    sadly nothing happend (i didnt see any mounted partition in /media or /mnt.. after reboot)
    i know that
    ls /dev/sd
    sda   sda1  sda2  sdb   sdb1
    those should be my windows partitions
    did i miss somethingor should i better try autofs?
    Last edited by cyberius (2010-05-30 14:54:42)

  • Serious hal problem

    Hi guys
    Every time i click on CD or HDD icon i get following error:
    Error org.freedesktop.DBus.Error.AccessDenied.
    Details:
    A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interfave "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
    Another question: is it possible that this problem, in any way, caused my HDD crash (the one that i tried to mount)?

    Well, I have the exact same problem and I've done all of the above, except that I also tried adding users hal, dbus and my own user to the suggested groups (storage, optical). however, the problem persists as described in the first post in this thread.
    Correction:Uhm this is embarrising, but actually the only thing I had left to do after my other fiddling was a restart :rolleyes:g
    It's now working as I wanted it too, and I also got around to take out the fstab entries for redundant cdrom and dvdrom entries (that the Arch Installer put there...) Sometimes you mustn't forget what running Gentoo has thought you
    To possibly be of any help, here's my steps to resolve this issue that worked for me (possibly some unrelevant and redundant)
    Do in terminal:
    # pacman -Rd hal hal-device-manager hal-info
    # pacman -S hal hal-device-manager hal-info
    # gpasswd -a user optical
    # gpasswd -a hal optical
    # gpasswd -a dbus optical
    # gpasswd -a user storage
    # gpasswd -a hal storage
    # gpasswd -a dbus storage
    Then restart your system, carefully monitoring that dbus and hal are starting properly at boot up (or try to start the init scripts with "/etc/rc.d/dbus start" and then "/etc/rc.d/hal start" once your inside your DE)
    Well it worked for me, so maybe it works for you
    Last edited by killerrabbit (2007-04-29 17:47:34)

  • [SOLVED] trying to get my keyboard layout to work, & hal to mount..

    hi,
    prior to the recent xorg upgrade, i had my xorg.conf set my keyboard layout, and hal would automount my phone in pcmanfm. since the xorg update, for the sake of not having to to set up the new hotplugging, I disabled it in my xorg.conf so my keyboard would keep its layout.
    obviously though, with hot plugging switched off, hal wont mount my phone, so i am trying to get my keyboard set up and get hal automounting.
    i have set    Option       "AutoAddDevices" "True" in my xorg.conf
    i have edited /etc/hal/fdi/policy/10-keymap.fdi as follows;
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">kbd</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">logiaccess</merge>
    </match>
    <merge key="input.xkb.layout" type="string">gb</merge>
    <merge key="input.xkb.variant" type="string" />
    </match>
    </device>
    </deviceinfo>
    basically, my keyboard is still in us layout, and hal still wont mount my phone even after restarting X! what have i missed?
    Last edited by ninjaprawn (2008-12-16 20:29:09)

    ok, i managed to fix the problem. i edited the .fdi file as follows;
    <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
    <deviceinfo version="0.2">
    <device>
    <match key="info.capabilities" contains="input.keymap">
    <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
    </match>
    <match key="info.capabilities" contains="input.keys">
    <merge key="input.xkb.rules" type="string">base</merge>
    <!-- If we're using Linux, we use evdev by default (falling back to
    keyboard otherwise). -->
    <merge key="input.xkb.model" type="string">evdev</merge>
    <match key="/org/freedesktop/Hal/devices/computer:system.kernel.name"
    string="Linux">
    <merge key="input.xkb.model" type="string">evdev</merge>
    </match>
    <merge key="input.xkb.layout" type="string">gb</merge>
    <merge key="input.xkb.variant" type="string" />
    </match>
    </device>
    </deviceinfo>
    for some reason, logiaccess and kbd work in xorg.conf, but no in hal? instead, evdev can do everything!

  • Fax Confirmation Issue

    We have an Officejet Pro 8600 Premium that Fax Confirmations ith images on send is turned on. And appears to work just fine when physically faxing from the printer's feeder. But when faxing over the network through the HP Software no confirmation prints out. And we really need to have every fax sent print out a confirmation no matter how it gets sent to the printer. Is this a known issue, or is the way we have it set up supposed to do what we are wanting and the fact it isn't is outside of the expected behavior? Any info would be really helpful as we really need to have confirmations of our sent faxes.
    Thanks
    Hal
    This question was solved.
    View Solution.

    Hi Hal,
    A printed fax confirmation (either with or without an image of the first page) is only available for a dax sent from the device itself, a such is not available while sending a fax from the HP Fax Software.
    For the fax software you may only view the Fax Log from the software which include a list and the status of the last 30 fax jobs.
    To get a printed report you will have to send the fax from the device itself. This is the way any HP printer work by design, it is not an issue of the software.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Unable to start MPD as a daemon in rc.conf

    For some reason, MPD is unable to start as a daemon listed in rc.conf. I have tried running it as a background also and no go. MPD goes after ALSA, so I don't know what else is missing.
    Also, I cannot start mpd as root after logging in immediately after my system boots up. It just tells me it fails.
    However, I can start MPD after I log-in as a normal user and su into root, then manually typing /etc/rc.d/mpd start.
    Could it be that it is unable to find my music database during its attempt to start as a daemon in rc.conf? (because my music directory is in an NTFS partition, which is not listed in fstab because it is automatically mounted by hal)
    Could it be that I set "user" in /etc/mpd.conf as "mpd" that it is unable to start it as root?
    What could be the culprit?
    Last edited by orv (2007-12-24 19:22:49)

    Yup. MPD works and plays my music. It just wont start up as a daemon, but I know why now.
    The place where my music is located (/dev/sdb2) is an NTFS partition which isn't mounted by the time I get to the login prompt. This is because it is automounted AFTER i log-in a user account in which HAL automounts that drive.
    Adding an entry in FSTAB and not relying on automount by HAL solves the problem because now when I start it as a daemon, it can actually find my music library.

Maybe you are looking for

  • How to loop through single XML File and send multiple RFC calls?

    I am looking for the best approach to use for making multiple RFC calls (can be sequential) using a single XML file of data.  I have been attempting to get a BPM loop working, but to no avail.  My RFC only accepts a single set of delivery input and I

  • Item Manage by Serial Number

    hello all, related to my question Service Module, Can i use the Service Module? what should i do if my item master data has an Onhand qty. and it is not manage by Serial Number, now i want to manage this item master data by Serial Number,but SBO Prom

  • Lost original photos/albums in iPhoto 2

    Last week the photo albums in iPhoto vanished...when I was able to find them by stumbling around the hard drive they didn't contain original pix--only pointers to the original pix. In addition, I could never track down all of the originals to help pu

  • My canon EOS DIGITAL ver 24.0 in not working with mac pro os x

    MY CANON EOS DIGITAL SOFTWARE VER 24.0 IS NOT WORKING WITH THIS VERSION OF MAC OS X

  • [Solved] Forum Search

    This could possibly be a DNS issue, but when I type 5 word or more in to the forum search box I get an "Internet Explorer Cannot Display the Page" I tried it on my other computer and had the same issue. Could some verify if this is a user specific is