You are not logged in.

#1 2010-08-30 08:45:12

st0ne2thedge
Member
Registered: 2010-07-03
Posts: 26

[SOLVED]udev automounting

A few days ago i posted a question about automounting with alsa. Someone told me that i should use udev instead.

I went to the wiki entry on udev and followed the instructions.

these are my /etc/udev/rules.d/ folder contents:

file:///etc/udev/rules.d/75-persistent-net-generator.rules.optional

file:///etc/udev/rules.d/75-cd-aliases-generator.rules.optional

file:///etc/udev/rules.d/11-sd-cards-auto-mount.rules

file:///etc/udev/rules.d/11-media-by-label-auto-mount.rules

file:///etc/udev/rules.d/11-discs-auto-mount.rules

file:///etc/udev/rules.d/10-my-media-automount.rules


i simply added these and rebooted my computer after putting udev in the /etc/rc.conf daemons list.

after rebooting, usb devices and dvd/cd's are not automounting. Do i need to add load functions for the .rules somewhere?

Last edited by st0ne2thedge (2010-09-08 20:39:21)

Offline

#2 2010-08-30 09:04:37

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]udev automounting

You probably mean HAL and not alsa, because alsa is used for sound.

There is no need to put udev in the DAEMONS array. Are you sure you read the correct wiki page?

I just use this rule for my usb devices:

http://wiki.archlinux.org/index.php/Ude … if_present


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2010-08-30 09:07:16

st0ne2thedge
Member
Registered: 2010-07-03
Posts: 26

Re: [SOLVED]udev automounting

I'm using the same file... should be working right? :s

What i understood from the wiki entry is that the only thing you need to do to automount using udev is install the udev package and make some of the .rules files that you can use. (except for assuming that udev needed to be in daemons array) i didn't do anything else really

Last edited by Inxsible (2010-08-30 09:13:23)

Offline

#4 2010-08-30 09:14:27

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED]udev automounting

Please use the Edit feature instead of posting multiple times continuously. I merged two od your posts together.


what version of xorg are you using?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#5 2010-08-30 10:00:44

st0ne2thedge
Member
Registered: 2010-07-03
Posts: 26

Re: [SOLVED]udev automounting

this is the output of the Xorg -version cmd: (btw i had to use '2>' to make an output file, though i thought that 2 meant default error output? tongue)

--------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-ARCH i686
Current Operating System: Linux localhost 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 16:22:18 UTC 2010 i686
Kernel command line: root=/dev/sda3 ro vga=773
Build Date: 21 June 2010  11:54:27AM

Current version of pixman: 0.18.4
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
--------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm waiting for the mounted usb drive to show up in thunar when i plug it in... is there a way to debug if udev is auto-mounting?

Last edited by st0ne2thedge (2010-08-30 10:15:37)

Offline

#6 2010-08-30 11:10:21

st0ne2thedge
Member
Registered: 2010-07-03
Posts: 26

Re: [SOLVED]udev automounting

i guess i'll just switch back to hal, it seems much easier.

[EDIT] Got hal up and running... everything works fine. Don't know what happened with udev :s thx for the help though i really am impressed with the arch response rate

Could it be that i still need to install a program layer that handles the automounting like autofs? or do you really mean that udev can handle automounting?

Last edited by st0ne2thedge (2010-08-30 14:57:10)

Offline

Board footer

Powered by FluxBB