Re: [gentoo-user] Auto-mount USB device

2006-10-12 Thread Neil Bothwick
On Wed, 11 Oct 2006 19:24:37 -0700 (PDT), Stephen Liu wrote: > Sorry, previously I made a mistake running; > # mount /dev/sdb1 /media/disk > > It should be > # mount /dev/sda1 /media/ Use a custom udev rule to give the device a persistent name. See http://www.reactivated.net/udevrules.php for

Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Stephen Liu
Hi Iain, Sorry, previously I made a mistake running; # mount /dev/sdb1 /media/disk It should be # mount /dev/sda1 /media/ The USB enclosure can still be mounted. They are there. - snip - > Now that you kind-of have things happening, what does /var/log/messages > show when you plug in a usb

Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Iain Buchanan
On Wed, 2006-10-11 at 06:51 -0700, Stephen Liu wrote: > Hi Iain, > > > > OK, we're getting somewhere!! > > Something strange happened here. After serveral boots the trick did not work > any more. > > Login as "user" > > # `gnome-volume-manager &` > (gnome-volume-manager:6102): GnomeUI-WARNIN

Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Stephen Liu
Hi Iain, >> Yes, it worked, no icons on gnome desktop. >> >> $ ls -al /media/disk >> $ ls -al /media/disk-l >> showed 2 partitions of the USB enclosure. >> # gnome-volume-propertie >> ... >> Mount removable drives when hot-plugged >> Mount removable media when inserted >> Browse removable media

Re: [gentoo-user] Auto-mount USB device

2006-10-11 Thread Iain Buchanan
On Tue, 2006-10-10 at 04:16 -0700, Stephen Liu wrote: > Hi Iain, > Yes, it worked, no icons on gnome desktop. > > $ ls -al /media/disk > $ ls -al /media/disk-l > showed 2 partitions of the USB enclosure. > # gnome-volume-propertie > ... > Mount removable drives when hot-plugged > Mount removabl

Re: [gentoo-user] Auto-mount USB device

2006-10-10 Thread Stephen Liu
Hi Iain, > I actually meant brand & chipset if you know it :) But nevermind, your Oh Sorry misunderstood your question Brand - Nil Chipset JM20337 0615 LGEZ1 86 11097027 There are dozens of these devices in the market. I just selected an economic one. > AFAIK this seems to be OK. There wer

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Iain Buchanan
On Mon, 2006-10-09 at 09:37 -0400, Andrew Frink wrote: > Stephen Liu wrote: > > Hi Iain, > > > > Still failed. > > > Also, post details of the usb thing that you're trying to use - what is > > > it? > > > > > USB enclosure is a box for mounting a HD inside to be used for > > external stora

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Stephen Liu
Hi Andrew, Still failed.# cat /etc/group | grep plugdevplugdev:x:1004:haldaemon,satimis if the logout-login doesn't work, then post the relevant partof /var/log/messages when plugging in the usb device. /var/log/message..Oct 10 02:53:09 localhost usb 1-3: configuration #1 chos

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Andrew Frink
Stephen Liu wrote: Hi Iain, Still failed. # cat /etc/group | grep plugdev plugdev:x:1004:haldaemon,satimis if the logout-login doesn't work, then post the relevant part of /var/log/messages when plugging in the usb device. /var/log/message .. Oct 10 02:53:09 loca

Re: [gentoo-user] Auto-mount USB device

2006-10-09 Thread Stephen Liu
Hi Iain, Still failed. # cat /etc/group | grep plugdev plugdev:x:1004:haldaemon,satimis > if the logout-login doesn't work, then post the relevant part > of /var/log/messages when plugging in the usb device. /var/log/message .. Oct 10 02:53:09 localhost usb 1-3: configuration #1 chosen fro

Re: [gentoo-user] Auto-mount USB device

2006-10-08 Thread Iain Buchanan
On Sun, 2006-10-08 at 21:37 -0700, Stephen Liu wrote: > plugdev:x:1004:haldaemon;satimis > (remark:- also tried "plugdev:x:1004:haldaemon,satimis") comma is the correct syntax, not semi-colon. Once you've done that, log out and back in again. > # cat /etc/fstab [snip] looks ok. > USB enclosur

Re: [gentoo-user] Auto-mount USB device

2006-10-08 Thread Stephen Liu
Hi Iain, Tks for your advice. > 2. add yourself to the plugdev group > 3. remove any lines in /etc/fstab for the same device you want to > automount # nano /etc/group adding "satimis" on; plugdev:x:1004:haldaemon;satimis (remark:- also tried "plugdev:x:1004:haldaemon,satimis") # cat /etc/fstab

Re: [gentoo-user] Auto-mount USB device

2006-10-08 Thread Iain Buchanan
On Fri, 2006-10-06 at 09:05 -0700, Stephen Liu wrote: > Hi folks, > > Gentoo_64 > > gnome-light > > When the USB enclosure is plugin hotplug detects it. But it won't mount > it automatically showing it as an icon on desktop. I have to mount it > manually on console. Please advise which file I ha

[gentoo-user] Auto-mount USB device

2006-10-06 Thread Stephen Liu
Hi folks, Gentoo_64 gnome-light When the USB enclosure is plugin hotplug detects it. But it won't mount it automatically showing it as an icon on desktop. I have to mount it manually on console. Please advise which file I have to edit enabling auto-mount when the USB enclosure is plugge