View previous topic :: View next topic |
Author |
Message |
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Tue Jan 13, 2009 11:52 pm Post subject: XFCE - mount: sepecial device /dev/sda1 does not exist |
|
|
On XFCE desktop whenever I insert memory stick, the icon pops up on a desktop but when I try to mount it / open it I get an error message:
Code: | mount: special device /dev/sda1 does not exist |
fstab:
Code: | /dev/sda1 /media/stick auto noauto,rw,users 0 0 |
|
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Jan 14, 2009 1:17 pm Post subject: |
|
|
Probably 'cause its not being listed as device /dev/sda1 !!!
What is the output of 'dmesg | tail' after inserting the memory stick? Bet it doesn't register the device at /dev/sda !!
Its not using Xfce, but I'd look into writing some custom udev rules for at least creating a symlink in /dev/ to a specific device of your choosing based on the devices info.
HOWTO : Customising Udev should be useful for this. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
Joseph_sys Advocate
Joined: 08 Jun 2004 Posts: 2712 Location: Edmonton, AB
|
Posted: Wed Jan 14, 2009 2:28 pm Post subject: |
|
|
slack---line wrote: | Probably 'cause its not being listed as device /dev/sda1 !!!
What is the output of 'dmesg | tail' after inserting the memory stick? Bet it doesn't register the device at /dev/sda !!
Its not using Xfce, but I'd look into writing some custom udev rules for at least creating a symlink in /dev/ to a specific device of your choosing based on the devices info.
HOWTO : Customising Udev should be useful for this. |
You are absolutely correct. dmesg indicates it was recognized as adb1.
However, I have both mount points in my fstab:
Code: | /dev/sda1 /media/stick auto noauto,rw,users 0 0
/dev/sdb1 /media/stick auto noauto,rw,users 0 0 |
commenting first one out solve the problem. But I'm puzzled, the icon on the desktop was automatically mounted by hall so when I click on it it was looking for sda1 and the system recognized the usb stick as sdb1.
It must be a bug somewhere. |
|
Back to top |
|
|
|