SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
However, you won't be able to access the root partition through media:/ in Konqueror (which I think is pointless anyway, but...) unless you create an initrd and use the generic kernel (or compile your own kernel WHILE MAKING SURE TO COMPILE THE FILESYSTEM AS A MODULE and then CREATING AN INITRD).
I have a suspicion that this is related to the "million-zillion filesystem icons" problem that plagues the current version of HAL. It's just a little more obvious in GNOME that something isn't right. HAL, when queried about possibly-mountable filesystems, returns a list of filesystems that pretty much includes everything, including filesystems which are both mounted and not hot-pluggable. If you have a lot of different disks and filesystems on your machine, this can get ugly fast. On my primary devel desktop, I've got partitions allocated for four full and reasonably robust installs of Linux, meaning three partitions for each, plus a small handful of common filesystems (like /tmp and /home). GNOME puts an icon on the desktop for each hot-pluggable/mountable filesytem based on HAL's report, so I wind up with over twenty filesystem icons appearing on the desktop, all for partitions which are very much mounted by the system at boot time, many of which were I to unmount would likely result in very unpleasant things happening.
You're probably actually not supposed to access / through media:/, since I thought that URI was meant strictly for removable/hot-pluggable media, but this bug I'm referring to could make such things happen.
I'd kinda like to sort this out completely, but so far it looks like just the result of "some missing pieces" in HAL (remember, it's a 0.x version still) and the thought of reverse-engineering this further makes my head hurt. I have hopes that as the HAL devs actually complete HAL, this problem will go away along with all the other stuff that HAL doesn't know about yet. (Browse the output of the hal device managers and admire the voluminous number of things that HAL claims ignorance on.)
Those who want to experiment will find that the following policy directives (cribbed by Dropline from RedHat) will make HAL behave rationally and stop reporting that all filesystems are hot pluggable when asked, by telling it to flat out ignore any filesystems which are not on hot-pluggable or removable devices.
Stick in /usr/share/hal/fdi/policy/10osvendor/99-fixed-storage-fix.fdi or wherever you prefer
Is there anything else or do I need to explain why HAL is not actually auto-mounting anything? (Because it appears that thinking it does this has been confusing some people)
Last edited by evilDagmar; 01-19-2008 at 07:01 AM.
I don't think I ever said HAL automounted anything (and if I did I was being silly). I suspected that the ability to access the root partition through media:/ was a bug (since the partition is clearly mounted and cannot safely be unmounted while the system is running), but nonetheless it is possible to access it (I didn't bring up the subject, I just confirmed a solution to continue exploiting a possible bug because some people don't feel like changing...). Nonetheless, your post was informative, evilDagmar. Thanks for bringing actual logic and reasoning into this long-winded debate.
I'm getting "Cannot open /media/.hal-mtab" while trying to "safely remove" flash drive. Any solution?
That's an odd one. I've been unable to reproduce it here, even when intentionally trying to break things - if I make the permissions 0000 on that file, they get reset to the appropriate values when doing an operation that requires that file.
I've found a few bug reports on other distros, and most of them were somehow tied to "gnome-mount," even though nobody offered an explanation of what was going on. I don't use or even have gnome installed, so I can't speculate on that - however, do you have gnome installed?
No, I don't have GNOME installed. Now I solved this problem but I don't understand the reasons of such behaviour..
p.s. flash must be mounted to /media/sda1
I am new to Slackware 12. My only experience with Linux has been with Mandriva which I loved..... I opted to change to Slackware 12 in hopes of gaining more control of the system.
My issue from the get go once install is complete I am unable to open my DVD drive. It and my primary install partition show as unmounted. My other 2 partitions show as mounted. If I try to mount either of these unmounted devices I get an error from Konqueror saying a security policy is not allowing this message from being sent?????
I thought it might be a glitch in my install so reloaded the OS.
Same issue persists. Have been told this is related to hal but have confirmed it is running.
Uncle57, as H_TeXMeX_H said, read the first post in this thread (and if you still can't figure it out, read the whole [long] thread, even though it diverges a bit). In short: you must add your user to the plugdev, cdrom, audio and video groups and then restart messagebus (or just restart your PC).
I understood that much from the first message.....
But the how to do it I do not understand. Perhaps I have come to the wrong group.
Thanks For Your Time
Gord
Quote:
Originally Posted by T3slider
Uncle57, as H_TeXMeX_H said, read the first post in this thread (and if you still can't figure it out, read the whole [long] thread, even though it diverges a bit). In short: you must add your user to the plugdev, cdrom, audio and video groups and then restart messagebus (or just restart your PC).
Uncle57, the users in this forum generally are very helpful. It's just that this particular issue has been brought up so many (SO many) times, and many people (myself included) have had to answer the same question so many (SO many) times. This thread contains everything you need to know about getting automounting to work -- it's just that the information is scattered over a very long and polluted thread. There are also several other threads on the matter with full details. I can understand why you would post asking for help when this thread is so very long and the first post, although very well written, isn't exactly newbie-friendly (ie you do have to know how to add your users to groups in order to get it to work). H_TeXMeX_H's advice is solid. I usually take the easy way out and edit /etc/group, adding my username(s) to the end of each line for each of the above-mentioned groups (plugdev, cdrom, audio and video). Both methods should work.
Sorry to sound rude on this particular topic -- it's just that it's been said so very many times that it's tempting to say GIYF or RTFM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.