[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mounting error USB stick



Paul Cartwright on 24/02/08 19:19, wrote:
On Sun February 24 2008, Adam Hardy wrote:
Using xfce, Thunar used to pick up on the new usb storage device and put an
icon in its tree pane for me with the usb stick's name. Clicking on that
would then mount it to /media
hal still creates /dev/sda and /dev/sda1 but I can't see it as a mounted
file system.

ls -la /dev/sda1/ returns "not a directory"

the mount point for the "special" file /dev/sda1 would be in /media. /dev/sda
wait, /dev/sda1 is my root filesystem. my USB stick is /dev/sdf .

mount /dev/sdf /media/sdf1


what is the output of the mount command on your system as it normally boots:

what folders do you have under /media?

if sda1 is your USB stick, what happens when you type:

mount /dev/sda1 /media/sda1 ( assuming you have a folder sda1 under /media)

under /media:
drwxr-xr-x  4 root root 4096 2008-02-21 19:17 .
drwxr-xr-x 23 root root 4096 2008-02-20 09:02 ..
lrwxrwxrwx  1 root root    6 2005-03-09 21:04 cdrom -> cdrom0
drwxr-xr-x  2 root root 4096 2005-03-09 21:04 cdrom0
lrwxrwxrwx  1 root root    7 2005-03-09 21:04 floppy -> floppy0
drwxr-xr-x  2 root root 4096 2005-03-09 21:04 floppy0
-rw-r--r--  1 root root    0 2008-02-21 19:17 .hal-mtab
--wS--x--T  1 root root    0 2006-11-13 22:14 .hal-mtab-lock

.hal-mtab-lock appeared red on my terminal which looked bad, and 'file .hal-mtab-lock' said 'setuid sticky empty', so I deleted it. Didn't help much.

I can run the mount command, no problem, as root - but the trick before was that hal or thunar was taking care of that automatically, along with permissions.



Reply to: