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.
I wanted to give HAL a try, but nothing get mounted automatically, what's the command to mount? And what's the purpose of using items without requiring the mount or umount command if you need another command?
I use WindowMaker/Fluxbox/Other, and desktop environment dependent solutions are against my religion, should I throw HAL away?
I wanted to give HAL a try, but nothing get mounted automatically, what's the command to mount? And what's the purpose of using items without requiring the mount or umount command if you need another command?
I use WindowMaker/Fluxbox/Other, and desktop environment dependent solutions are against my religion, should I throw HAL away?
HAL doesn't actually mount anything - it only provides device information via DBUS. You'll need KDE, GNOME, or Xfce for a desktop environment that makes use of it (the DE actually does the mounting, but even so, it's not automatic -- it simply makes it a one-click process, or alternatively asks what you want to do and then allows automatic mounting later). Alternatively, a combination of ivman and pmount will do what you seem to want (in any window manager), and I intend to push these to the public at SlackBuilds.org soon, but they're not out yet for 12.0.
The other option is to use mount(8) and umount(8), which will necessitate adding devices to /etc/fstab.
I wanted to give HAL a try, but nothing get mounted automatically, what's the command to mount? And what's the purpose of using items without requiring the mount or umount command if you need another command?
I use WindowMaker/Fluxbox/Other, and desktop environment dependent solutions are against my religion, should I throw HAL away?
thanks
kc
This program will add/remove data from /etc/fstab (just install it):
Thanks for the explanation, rworkman,
ANNOUNCE.12_0 talk about "using items without requiring sudo, the mount or umount command, just plug and play" but don't mention KDE/Xfce role in the mount process, so I was probably confusing HAL with some sort of auotomount daemon, or something like a new better way of doing things with removable media.
I think I'll stick with the old method until I can take advantage of HAL in any window manager or command line environment in an out of the box Slackware.
Quote:
Originally Posted by happyslacker This program will add/remove data from /etc/fstab (just install it):
My Slackware linux can auto mount or unmount USB-disk by udev, but when USB-disk mounted by udev, there is a bad interface, all chinese word display "???", I think should mount -o iocharset=zh_CN.utf8 , but auto mount by udev , I dont' know how to edit mount rules.
My Slackware linux can auto mount or unmount USB-disk by udev, but when USB-disk mounted by udev, there is a bad interface, all chinese word display "???", I think should mount -o iocharset=zh_CN.utf8 , but auto mount by udev , I dont' know how to edit mount rules.
Your Linux can auto mount (already added partitions to /etc/fstab), but can not auto add partitions to /etc/fstab with correct parameters. You may use vsupdfstab to add partitions with settings to use UTF-8 or edit by hand /etc/fstab.
Your Linux can auto mount (already added partitions to /etc/fstab), but can not auto add partitions to /etc/fstab with correct parameters. You may use vsupdfstab to add partitions with settings to use UTF-8 or edit by hand /etc/fstab.
Mount options for flash memory must include "noatime,async". If these options is not present, flash memory life will be decrased.
Thanks for flash memeory mount idea.
vi /etc/fstab is easy, why "vsupdfstab" exist? is it better?
/etc/fstab mount or umount depend input mount or umount command by hand, I know this and utf8 option support.
I mean I know mount or umount by udev, but utf8 support by udev.
vi /etc/fstab is easy, why "vsupdfstab" exist? is it better?
vsupdfstab add data automatically when user insert memory and remove data when user remove memory even user forget to umount partition. If user forget to umount partition and insert memory again (without vsupdfstab), device will be other (/dev/sdb will busy and udev will create /dev/sdc) and user must edit fstab by hand again.
Not sure, but maybe you need to re-login after adding yourself to the relevant groups, as your login session reads the groups your user belongs to at login time... It shouldn't be necessary to reboot, but it may be necessary to restart D-BUS and/or HAL.
gargamel
God bless google! I ran across this article and it solved my problem. I added myself to plugdev, I restarted rc.hald and rc.messagebus. But I still couldn't mount my CD-ROM until I logged out of KDE and logged back in. Thank you!!!!!!!!!!!!! I'd beat my head against the wall if it didn't start working.
all i know is that HAL is a new feature of 12 and a big reason why i wanted to upgrade and glad that i did. but like anything *new* and *working* it comes with quirks. i ended up having to remove usb devices that i was using like a flash card reader on account that there seemed to be a race condition during startup and HAL or dbus was assigning sd? values based on whatever showed up first.
as i learn more about HAL and it's related packages I'll get an idea on how to better utilize them. right now i'd be settled to know how to reset the lovely icons that show up on my desktop (under dropline gnome). after a fresh install, there will be device icons for each of my partitions. after i install and run gparted at least once, only device icons for actual usb devices will show up (the correct thing to do, i would think) however on a previous install, the too managed to disappear so i 1/2 expecting them to disappear eventually and when they do i'd like to know what the problem is so that i can correct it. perhaps it's something to do with dropline...!
I don't think there is a good FAQ for HAL yet, nor much in terms of troubleshooting or tutorials on how to use it. I'm also having trouble getting into terms with HAL.
For example, just inserting and getting my CDROM mounted, is a problem. I do get the box asking what to do with it. But when I click that I want browse it, konqueror launches and I get a weird error message:
A security policy in place prevents this sender from sending this message to this recipient: see message bus configuration file (rejected message had
interface "org.freedesktop.Hal.Device.Volume"
member "Mount" error name "(unset)"
destination "org.freedesktop.Hal")
Anyone have a clue what this means?
I'm having the same problem with USB sticks. And I'm doing it as root.
When I try to mount a cd I get the same reply even if I log in as root.
I have added myself to plugdev still nothing
A security policy in place prevents this sender form sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name "(unset)" destination "org.freedesktop.Hal")
Don't know if I have put this reply in the right place...my first post
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.