Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
XFCE - mount: sepecial device /dev/sda1 does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Tue Jan 13, 2009 11:52 pm    Post subject: XFCE - mount: sepecial device /dev/sda1 does not exist Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed Jan 14, 2009 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2712
Location: Edmonton, AB

PostPosted: Wed Jan 14, 2009 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum