Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
|
09-21-2007, 06:05 AM
|
#31
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
I mean which automount software are you using?
|
|
|
|
09-21-2007, 05:48 PM
|
#32
|
|
Member
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current
Posts: 157
Rep:
|
Quote:
Originally Posted by dive
I mean which automount software are you using?
|
Do we understand each other ?
All I have now is well known automounting in X/KDE enviroinment using DBUS/HAL.
It would be fine to have this kind of machinery working in pristine console, fluxbox or xfce too.
|
|
|
|
09-21-2007, 08:29 PM
|
#33
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,192
|
Quote:
|
Originally Posted by brodo
I'd like to automount USB and CDROM/DVD devices for example.
In clean console, without Xorg/KDE.
|
As said previously you'll need ivman/pmount to do that. As for how to use those utilities, you're on your own as I don't use them.
|
|
|
|
09-21-2007, 11:59 PM
|
#34
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
or Autofs...
|
|
|
|
09-22-2007, 10:43 PM
|
#35
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,192
|
Does autofs use HAL though? If not it seems like overkill to have two different automounting utilities coexisting on one machine. Does autofs affect autmounting using HAL in KDE/XFCE/etc.?
(Normally I would just look this up, but a quick google search didn't help)
|
|
|
|
09-22-2007, 10:48 PM
|
#36
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
Autofs considerably pre-dates HAL. Using both would certainly be overkill and likely just cause conflicts.
|
|
|
|
09-23-2007, 02:59 AM
|
#37
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
No conflicts here. I've been using both for a while now.
|
|
|
|
09-23-2007, 08:10 AM
|
#38
|
|
Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,817
|
It is still redundant for mounting removable devices on a HAL-equipped system. HAL is already working for him, he simply needs a HAL client to do the actual mounting. Why introduce another daemon into the equation?
Last edited by MS3FGX; 09-23-2007 at 08:17 AM.
|
|
|
|
09-23-2007, 09:47 AM
|
#39
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
What other HAL clients are there?
|
|
|
|
09-23-2007, 10:26 AM
|
#40
|
|
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.0
Posts: 2,192
|
Quote:
|
Originally Posted by dive
What other HAL clients are there?
|
Um...ivman/pmount? They should theoretically do the job as said many times (although I've never used them).
|
|
|
|
09-23-2007, 01:09 PM
|
#41
|
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,081
|
But ivman is running as a daemon all the time, the same as Autofs. I guess I should have asked which other clients are there that don't run as a daemon.
I use ivman and autofs but I guess I could use just ivman alone for most of what I do.
|
|
|
|
05-12-2008, 02:40 PM
|
#42
|
|
Member
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167
Rep:
|
This is question about mounting from console and not needing to become root or whoever else.
What could be done about mount(8)? Can it be explicitly stated, that every user of any device being a member of plugdev group could mount a device?
Please, do not post that I should add an fstab entry for a device with option "group=plugdev". Because then you will have to add an entry to /dev/every /dev/device /dev/name /dev/there /dev/could /dev/appear.
Thanks.
|
|
|
|
05-12-2008, 09:51 PM
|
#43
|
|
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,439
Rep:
|
Quote:
Originally Posted by iiv
This is question about mounting from console and not needing to become root or whoever else.
What could be done about mount(8)? Can it be explicitly stated, that every user of any device being a member of plugdev group could mount a device?
Please, do not post that I should add an fstab entry for a device with option "group=plugdev". Because then you will have to add an entry to /dev/every /dev/device /dev/name /dev/there /dev/could /dev/appear.
Thanks.
|
pmount allows any normal user to mount removable devices or those listed under /etc/pmount.allow. This is assuming of course the devices are not already mounted, not locked, not listed in /etc/fstab, etc (see man page for the full policy).
If you use the pmount slackBuild the pmount binary will be SUID with only execute perms for root and the group plugdev.
pmount is just a wrapper around the mount program.
|
|
|
|
05-12-2008, 10:06 PM
|
#44
|
|
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,894
Rep: 
|
Quote:
Originally Posted by iiv
This is question about mounting from console and not needing to become root or whoever else.
What could be done about mount(8)? Can it be explicitly stated, that every user of any device being a member of plugdev group could mount a device?
Please, do not post that I should add an fstab entry for a device with option "group=plugdev". Because then you will have to add an entry to /dev/every /dev/device /dev/name /dev/there /dev/could /dev/appear.
|
I think you're wanting a combination of ivman (a generic hal event handler) and pmount.
I must admit that I have *very* little experience with them, as I've just not seen much need for them, but I'm pretty sure that's what you're wanting.
|
|
|
|
05-13-2008, 10:09 AM
|
#45
|
|
Senior Member
Registered: Sep 2005
Distribution: Slackware
Posts: 1,439
Rep:
|
ivman is only needed if you want a device to be automatically mounted upon insertion. You can have other commands run based upon HAL events as well.
pmount is the program that does the mounting (through mount), so if you are OK with having a user issue a command to mount the device then pmount is all you need.
Edit:
Do note that pmount-hal, which comes with pmount, will automatically detect device information as given be HAL. This just means that you don't necessarily have to enter all the mount options when mounting.
Last edited by shadowsnipes; 05-13-2008 at 10:11 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|