You are not logged in.

#1 2005-10-20 15:13:26

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

USB linking to wrong device

OK, I have dbus and hal all set up and working. I have autofs all set up and working great.

My problem is when I plug in my little MP3 player, autofs correctly mounts it to /media/usbstick just fine, but in fstab, I have this:

/dev/sdb1               /media/SMFS1_0_---      vfat etc...etc...

That is not the correct mapping I want. I want it to go to /media/usbstick. This is messing up my KDE kioslave. I tryes to open in konqueror, and fails at this mount point.

I checked out the udev rules and I cant see where its getting that SMFS jazz.

Can someone point me in the right direction to get this resolved?

Thanks!!!

Joe

Offline

#2 2005-10-20 15:26:01

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: USB linking to wrong device

The SMFS jazz is your volume label. If you must have it automounted, you may want to use ivman. It correctly uses the volume label info to mount it. That being said, autofs and hal and dbus maybe aren't supposed to run together.

Offline

#3 2005-10-20 15:34:15

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: USB linking to wrong device

or create a udev rule for it

Offline

#4 2005-10-20 15:40:06

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: USB linking to wrong device

Penguin wrote:

The SMFS jazz is your volume label. If you must have it automounted, you may want to use ivman. It correctly uses the volume label info to mount it. That being said, autofs and hal and dbus maybe aren't supposed to run together.

Why is it, then, when I mount my DVD, CD, and Floppy drive that it mounts it correctly with my directories in /media and not to 00102005_000001 (Volume lable on a cd I have)? Only USB stick mounts to the volume name. Eveything else workes as it should except my USB stick. I don't think that changeing applications is the fix here.

I checked the wiki and there is a page that tells how to check the ID of the device and make a udev rule for it, however, the command at the top doesn't work. Its located here:
http://wiki.archlinux.org/index.php/Usi … o_a_device

if you want to take a look.

Thanks for the reply!!!

Joe

Offline

#5 2005-10-20 16:29:18

EmbraceThePenguin
Member
From: New Mexico, USA
Registered: 2004-08-09
Posts: 197

Re: USB linking to wrong device

The fstab update issue that I am having is NOT handled by udev. Its handled by hal and fstab-sync. There appears to be a tonnage of XML information for this type of change, so once I figure it out, I will make a wiki on it because its a PITA...

Joe

Offline

Board footer

Powered by FluxBB