LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-21-2007, 06:05 AM   #31
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled

I mean which automount software are you using?
 
Old 09-21-2007, 05:48 PM   #32
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32 / 64
Posts: 406

Rep: Reputation: 30
Quote:
Originally Posted by dive View Post
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.
 
Old 09-21-2007, 08:29 PM   #33
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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.
 
Old 09-21-2007, 11:59 PM   #34
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
or Autofs...
 
Old 09-22-2007, 10:43 PM   #35
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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)
 
Old 09-22-2007, 10:48 PM   #36
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Autofs considerably pre-dates HAL. Using both would certainly be overkill and likely just cause conflicts.
 
Old 09-23-2007, 02:59 AM   #37
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
No conflicts here. I've been using both for a while now.
 
Old 09-23-2007, 08:10 AM   #38
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 09-23-2007, 09:47 AM   #39
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What other HAL clients are there?
 
Old 09-23-2007, 10:26 AM   #40
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
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).
 
Old 09-23-2007, 01:09 PM   #41
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
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.
 
Old 05-12-2008, 02:40 PM   #42
iiv
Member
 
Registered: Jun 2007
Location: Russia, Moscow Region
Distribution: Slackware
Posts: 167

Rep: Reputation: 30
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.
 
Old 05-12-2008, 09:51 PM   #43
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by iiv View Post
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.
 
Old 05-12-2008, 10:06 PM   #44
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by iiv View Post
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.
 
Old 05-13-2008, 10:09 AM   #45
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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.
 
  


Reply

Tags
console, hal, mount



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use HAL wesd Linux - Software 1 06-11-2007 04:00 PM
hal krusty_lab Fedora 3 10-10-2005 10:23 AM
Hal gamehack Programming 7 12-16-2004 02:03 AM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 10:00 PM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration