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

Re: USB Removiable media



On Sun, Jun 25, 2006 at 13:36:44 -0400, H.S. wrote:
> Rocky Ou wrote:
> >Hey List,
> >
> >I'm runing debian sid on my Dell Inspiron 2200 laptop. I can use digikam to
> >download pictures from my canon powershot camera through usb port. My
> >problem is that when I plug my USB removiable media in the usb port I can
> >see it is there throug konqueror->go->storage media but when I click on 
> >it I
> >got the following error:
> >
> >#######
> >Could not mount device.
> >The reported error was:
> >[mntent]: warning: no final newline at the end of /etc/fstab
> >mount: only root can mount /dev/sda1 on /media/usb
> >########
> >
> >lover@YUNNAN:~$ more /etc/fstab
> ># /etc/fstab: static file system information.
> >#
> ># <file system> <mount point>   <type>  <options>       <dump>  <pass>
> >proc            /proc           proc    defaults        0       0
> >/dev/hda3       /               ext3    defaults,errors=remount-ro 
> >0       1
> >/dev/hda6       none            swap    sw              0       0
> >/dev/hdb        /media/cdrom0   iso9660 ro,user,noauto  0       0
> >/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> >/dev/sda1       /media/usb      auto    defaults        0       0
> >
> >Can anyone tell me how can I access my usb removeble media please?
> 
> Try commenting out the /dev/sda1 line and plug in your USB media again. 
> KDE or Gnome should detect it and deal with it automatically. In Gnome, 
> you should get its icon on desktop. In KDE, you should get a prompt 
> asking what you want to do with it (you will still get an icon on desktop).

This requires the package "pmount" and adding your user to the "plugdev"
group. Using pmount has the advantage that you don't have to write new
fstab entries if you want to use more than one usb stick at the same
time (/dev/sdb, /dev/sdc, etc) or if you have more than one partition on
the medium (/dev/sda2, /dev/sda3, etc).

-- 
Regards,
          Florian



Reply to: