LinuxQuestions.org
Review your favorite Linux distribution.
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 08-26-2011, 06:36 PM   #1
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
UDEV and auto mounting external devices


I'm not finding a good guide to udev. Before when I had some usb storage is was easy to find the device id, put in the hotplug config file and make it run a little script to mount it what I wanted it to be called. Doing this not seems to elude me and I'm looking at the Slackbook 3.0 and its not mentioned, am I overlooking somehting simple?
 
Old 08-26-2011, 09:42 PM   #2
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by enine View Post
I'm not finding a good guide to udev. Before when I had some usb storage is was easy to find the device id, put in the hotplug config file and make it run a little script to mount it what I wanted it to be called. Doing this not seems to elude me and I'm looking at the Slackbook 3.0 and its not mentioned, am I overlooking somehting simple?
lsusb will give you the device id of anything pluged in via usb.
 
Old 08-27-2011, 01:58 AM   #3
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Here's a guide about writing udev rules:

http://www.reactivated.net/writing_udev_rules.html
 
Old 08-27-2011, 06:05 PM   #4
gorillus
Member
 
Registered: Jun 2011
Location: /home
Distribution: Slackware
Posts: 31

Rep: Reputation: 16
Or here (more copy and paste and not exactly a guide to write them on your own):

https://wiki.archlinux.org/index.php/Udev

Last edited by gorillus; 08-27-2011 at 06:12 PM.
 
Old 11-05-2011, 11:08 AM   #5
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486

Original Poster
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
udevinfo, udevtest, etc don't even seem to exist anymore, is this where HAL replaces udev (I thought hal was only at the kde level), is there a guide thats current?
Basically what I want to do is take a specific device id and make it auto mount as /media/backup

Last edited by enine; 11-05-2011 at 08:59 PM.
 
Old 11-05-2011, 11:12 AM   #6
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
AFAIK there is no current guide. udevadm info replaces udevinfo and udevadm test replaces udevtest. HAL and udev co-exist. HAL is not KDE-specific.
 
Old 11-06-2011, 07:57 AM   #7
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839

Rep: Reputation: 242Reputation: 242Reputation: 242
BTW, HAL is obsolete. Recent versions of major distros have started to drop it, and it is no longer maintained, AFAIK. Many programs that formerly used HAL, now use udev directly, and udisk and upower emerge as the new standard succeeding HAL.

gargamel
 
  


Reply



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 disable auto-mounting of USB Devices on Slackware 12.2? sertmusluman Slackware 31 12-20-2008 03:57 AM
Gnome: Auto mounting external devices as first user logged in, not current user yitzle Linux - Software 4 04-01-2008 09:43 AM
(auto)mounting devices in slackware w/ (or w/o) KDE crisostomo_enrico Slackware 1 08-04-2006 11:59 PM
Disable Auto-mounting of devices in .... WINDOWS? opioid General 4 04-20-2006 01:35 PM
Auto mounting of USB devices leecming Linux - Newbie 6 08-05-2004 01:42 PM

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

All times are GMT -5. The time now is 02:49 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