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 a detailed description
of how to do this.


-- 
Neil Bothwick

Ethernet (n): something used to catch the etherbunny


signature.asc
Description: PGP signature


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 removable media when inserted
 Browse removable media when inserted
 all checked

OK, we're getting somewhere!!

I used to have this issue (drives would mount, but not show up on the
desktop). I fixed it by upgrading.

Have you considered gnome 2.14? 
Did you try the gconf key:
gconftool-2 --type bool --set /system/storage/display_internal_hard_drives true

How did your versions of software compare with those listed in comment
#68 in http://bugs.gentoo.org/show_bug.cgi?id=107784 ?

Other than that, I'm out of ideas... sorry!
-- 
Iain Buchanan iaindb at netspace dot net dot au

The answer to the question of Life, the Universe, and Everything is...

Four day work week,
Two ply toilet paper!

-- 
gentoo-user@gentoo.org mailing list



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 when inserted
 all checked

 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-WARNING **: While connecting to session 
manager:
Authentication Rejected, reason : None of the authentication protocols 
specified are supported and host-based authentication failed.
* end *

However
# ls /media
disk

still showing one mount point of the partitions (the HD on USB enclosure has 2 
partitions, both on ext3).  Another disk-1 disappeared.  But it has not 
mounted.  I have to run;
# mount /dev/sdb1 /media/disk

I haven't figured out the cause.  I made several tests with the same result.


 I used to have this issue (drives would mount, but not show up on the
 desktop). I fixed it by upgrading.

 Have you considered gnome 2.14? 

I'm running gnome-light of version 2.14.2.  I'm prepared to install the full 
gnome.  But I haven't figured out whether just run;

# emerge -av gnome

OR

# emerge --unmerge gnome-light  emerge gnome

I have installed some packages on gnome-light

 Did you try the gconf key:
 gconftool-2 --type bool --set /system/storage/display_internal_hard_drives 
 true

No.

 How did your versions of software compare with those listed in comment
 #68 in http://bugs.gentoo.org/show_bug.cgi?id=107784 ?

I read this thread before on sorting out the problem of the mobo (ASUS A8N-VM) 
on this Gentoo box.  The mouse pointer always hangs if without adding noapic 
on the line on grub.conf booting the kernel

I also came across another thread;
http://www.nvnews.net/vbulletin/showthread.php?t=57791page=6

At this juncture I can't ascertain whether my problems encountered coming from 
the software or the mobo.

Tks.

B.R.
SL








-- 
gentoo-user@gentoo.org mailing list



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-WARNING **: While connecting to session 
 manager:
 Authentication Rejected, reason : None of the authentication protocols 
 specified are supported and host-based authentication failed.
 * end *

sorry, should have mentioned here that you only need to start
gnome-volume-manager once.  From then it will (should) add itself to
your session and automatically start next time you login to gnome...

 However
 # ls /media
 disk
 
 still showing one mount point of the partitions (the HD on USB
 enclosure has 2 partitions, both on ext3).  Another disk-1
 disappeared.  But it has not mounted.  I have to run;
 # mount /dev/sdb1 /media/disk
 
 I haven't figured out the cause.  I made several tests with the same
 result.

I find sometimes that stale entries get left it /media.  If you unplug
all external storage, and make sure nothing in /media is mounted, you
can purge /media and try again.

  I used to have this issue (drives would mount, but not show up on the
  desktop). I fixed it by upgrading.
 
  Have you considered gnome 2.14? 
 
 I'm running gnome-light of version 2.14.2.

Eh? you said you were running 2.12.0:

On Mon, 2006-10-09 at 04:16 -0700, Stephen Liu wrote:
 
 # equery l gnome-light
 [ Searching for package 'gnome-light' in all categories among: ]
  * installed packages
 [I--] [  ] gnome-base/gnome-light-2.12.0 (2.0)

If you've upgraded to 2.14, then good.  Have you rebooted (if there were
udev / hald / other init.d updates) or at least restarted X?

   I'm prepared to install the full gnome.  But I haven't figured out
 whether just run;
 
 # emerge -av gnome
 
 OR
 
 # emerge --unmerge gnome-light  emerge gnome

full gnome shouldn't be necessary.  Dependencies should be pulled in if
needed.

 At this juncture I can't ascertain whether my problems encountered
 coming from the software or the mobo.

given that you got it to work somewhere along the way, (and you can
mount manually) I'd say it's software related.

Now that you kind-of have things happening, what does /var/log/messages
show when you plug in a usb disk?

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

I have seen the future and it is just like the present, only longer.
-- Kehlog Albran, The Profit

-- 
gentoo-user@gentoo.org mailing list



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 disk?

After plugin the device,

# cat /var/log/messages
...
Oct 12 17:58:03 localhost dhcpcd[5297]: timed out waiting for a valid DHCP 
server response
Oct 12 17:58:03 localhost cron[5468]: (CRON) STARTUP (V5.0)
Oct 12 17:59:27 localhost (root-5389): GConf server is not in use, shutting 
down.
Oct 12 17:59:27 localhost (root-5389): Exiting
Oct 12 17:59:56 localhost usb 1-4: new high speed USB device using ehci_hcd and 
address 3
Oct 12 17:59:56 localhost usb 1-4: configuration #1 chosen from 1 choice
Oct 12 17:59:56 localhost scsi2 : SCSI emulation for USB Mass Storage devices
Oct 12 17:59:56 localhost usb-storage: device found at 3
Oct 12 17:59:56 localhost usb-storage: waiting for device to settle before 
scanning
Oct 12 18:00:01 localhost cron[5628]: (root) CMD (test -x /usr/sbin/run-crons 
 /usr/sbin/run-crons )
Oct 12 18:00:01 localhost cron[5629]: (root) CMD (rm -f 
/var/spool/cron/lastrun/cron.hourly)
Oct 12 18:00:02 localhost Vendor: Maxtor 9  Model: HAQA  Rev: 5215
Oct 12 18:00:02 localhost Type:   Direct-Access  ANSI SCSI 
revision: 02
Oct 12 18:00:02 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 
MB)
Oct 12 18:00:02 localhost sda: Write Protect is off
Oct 12 18:00:02 localhost sda: Mode Sense: 00 38 00 00
Oct 12 18:00:02 localhost sda: assuming drive cache: write through
Oct 12 18:00:02 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 
MB)
Oct 12 18:00:02 localhost sda: Write Protect is off
Oct 12 18:00:02 localhost sda: Mode Sense: 00 38 00 00
Oct 12 18:00:02 localhost sda: assuming drive cache: write through
Oct 12 18:00:02 localhost sda: sda1 sda2
Oct 12 18:00:02 localhost sd 2:0:0:0: Attached scsi disk sda
Oct 12 18:00:02 localhost usb-storage: device scan complete
Oct 12 18:00:02 localhost scsi.agent[5643]: disk at 
/devices/pci:00/:00:0b.1/usb1/1-4/1-4:1.0/host2/target2:0:0/2:0:0:0
Oct 12 18:00:16 localhost (root-5710): starting (version 2.14.0), pid 5710 user 
'root'
Oct 12 18:00:16 localhost (root-5710): Resolved address 
xml:readonly:/etc/gconf/gconf.xml.mandatory to a read-only configuration 
source at position 0
Oct 12 18:00:16 localhost (root-5710): Resolved address 
xml:readwrite:/root/.gconf to a writable configuration source at position 1
Oct 12 18:00:16 localhost (root-5710): Resolved address 
xml:readonly:/etc/gconf/gconf.xml.defaults to a read-only configuration 
source at position 2
* end *


But there was no icon displayed on gnome desktop.  Last time following your 
advice running `gnome-volume-manager ` 2 icons popup on desktop and the 
partitions of the device mounted automatically.  It only happens once.


# mount /dev/sda1 /media/
# df -h /media/
FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 3.7G   72M  3.5G   3% /media/disk
* end *

# umount /media/

# mount /dev/sda2 /media/
# df -h /media/
FilesystemSize  Used Avail Use% Mounted on
/dev/sda2 2.6G   68M  2.4G   3% /media/disk
* end *


Unplug the device

# cat /var/log/messages


Oct 12 18:05:35 localhost usb 1-4: USB disconnect, address 3
*end *


B.R.
SL





-- 
gentoo-user@gentoo.org mailing list



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 were problems with various versions of
 udev,  gvm, but you seem to have avoided those...

 Read here for some more info if you're feeling adventurous:
http://bugs.gentoo.org/show_bug.cgi?id=107784

Noted with tks.

OK just for curiosity.  I found automount worked on this USB enclose when 
installed on FC5_64 on this PC (on another HD) and also on FC5_32 on another 
PC, both with icons displayed on gnome desktop.

 Of course! well spotted Andrew! you need to start gvm - run
 `gnome-volume-manager ` from a terminal, then logout and back in again,
 and see if it works.

Yes, it worked, no icons on gnome desktop.

$ ls -al /media/disk
$ ls -al /media/disk-l
showed 2 partitions of the USB enclosure.

 After that, you could try the preferences for gvm, (in preferences 
 removable drives and media) and make sure automounting and such is
 checked.

On console
# /etc/init.d/hald start
 * Starting D-BUS system messagebus ...   
[ ok ] * Starting Hardware Abstraction Layer daemon ... 
[ ok ]localhost satimis 

# gnome-volume-propertie
...
Mount removable drives when hot-plugged
Mount removable media when inserted
Browse removable media when inserted
all checked

Tks.

B.R.
SL



-- 
gentoo-user@gentoo.org mailing list



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 from 1 choice
Oct 10 02:53:09 localhost scsi2 : SCSI emulation for USB Mass Storage devices
Oct 10 02:53:09 localhost usb-storage: device found at 3
Oct 10 02:53:09 localhost usb-storage: waiting for device to settle before 
scanning
Oct 10 02:53:14 localhost Vendor: Maxtor 9  Model: HAQA  Rev: 5215
Oct 10 02:53:14 localhost Type:   Direct-Access  ANSI SCSI revision: 02
Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 
MB)
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 
MB)
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost sda: unknown partition table
Oct 10 02:53:14 localhost sd 2:0:0:0: Attached scsi disk sda
Oct 10 02:53:14 localhost usb-storage: device scan complete
Oct 10 02:53:14 localhost scsi.agent[7446]: disk at 
/devices/pci:00/:00:0b.1/usb1/1-3/1-3:1.0
Oct 10 02:53:45 localhost kjournald starting.  Commit interval 5 seconds
Oct 10 02:53:45 localhost EXT3 FS on sda, internal journal
Oct 10 02:53:45 localhost EXT3-fs: mounted filesystem with ordered data mode.
* end *


 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 
storage.  It is connected to USB port.


 and the gnome, udev and kernel version.

# equery l gnome-light
[ Searching for package 'gnome-light' in all categories among: ]
 * installed packages
[I--] [  ] gnome-base/gnome-light-2.12.0 (2.0)

# equery l udev
[ Searching for package 'udev' in all categories among: ]
 * installed packages
[I--] [  ] sys-fs/udev-087-r1 (0)

# cat /proc/version
Linux version 2.6.17-gentoo-r7 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 
4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006


Tks


B.R.
SL




-- 
gentoo-user@gentoo.org mailing list



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 localhost usb 1-3: configuration #1 chosen from 1 choice
Oct 10 02:53:09 localhost scsi2 : SCSI emulation for USB Mass Storage devices
Oct 10 02:53:09 localhost usb-storage: device found at 3
Oct 10 02:53:09 localhost usb-storage: waiting for device to settle before scanning
Oct 10 02:53:14 localhost Vendor: Maxtor 9  Model: HAQA  Rev: 5215
Oct 10 02:53:14 localhost Type:   Direct-Access  ANSI SCSI revision: 02
Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost sda: Write Protect is off
Oct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00
Oct 10 02:53:14 localhost sda: assuming drive cache: write through
Oct 10 02:53:14 localhost sda: unknown partition table
Oct 10 02:53:14 localhost sd 2:0:0:0: Attached scsi disk sda
Oct 10 02:53:14 localhost usb-storage: device scan complete
Oct 10 02:53:14 localhost scsi.agent[7446]: disk at /devices/pci:00/:00:0b.1/usb1/1-3/1-3:1.0
Oct 10 02:53:45 localhost kjournald starting.  Commit interval 5 seconds
Oct 10 02:53:45 localhost EXT3 FS on sda, internal journal
Oct 10 02:53:45 localhost EXT3-fs: mounted filesystem with ordered data mode.
* end *


  
  
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 storage.  It is connected to USB port.


  
  
and the gnome, udev and kernel version.

  
  
# equery l gnome-light
[ Searching for package 'gnome-light' in all categories among: ]
 * installed packages
[I--] [  ] gnome-base/gnome-light-2.12.0 (2.0)

# equery l udev
[ Searching for package 'udev' in all categories among: ]
 * installed packages
[I--] [  ] sys-fs/udev-087-r1 (0)

# cat /proc/version
Linux version 2.6.17-gentoo-r7 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006


Tks


B.R.
SL




  

Do you have gnome-volume-manager installed and in your session(not sure
if thats needed).

Andrew




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 chosen from 1 choiceOct 10 02:53:09 localhost scsi2 : SCSI emulation for USB Mass Storage devicesOct 10 02:53:09 localhost usb-storage: device found at 3Oct 10 02:53:09 localhost usb-storage: waiting for device to settle before scanningOct 10 02:53:14 localhost Vendor: Maxtor 9  Model: HAQA  Rev: 5215Oct 10 02:53:14 localhost Type:   Direct-Access  ANSI SCSI revision: 02Oct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)Oct 10 02:53:14 localhost sda: Write Protect is offOct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00Oct 10 02:53:14 localhost sda: assuming drive cache: write throughOct 10 02:53:14 localhost SCSI device sda: 13281408 512-byte hdwr sectors (6800 MB)Oct 10 02:53:14 localhost sda: Write Protect is offOct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00Oct 10 02:53:14
 localhost sda: assuming drive cache: write throughOct 10 02:53:14 localhost sda: Write Protect is offOct 10 02:53:14 localhost sda: Mode Sense: 00 38 00 00Oct 10 02:53:14 localhost sda: assuming drive cache: write throughOct 10 02:53:14 localhost sda: unknown partition tableOct 10 02:53:14 localhost sd 2:0:0:0: Attached scsi disk sdaOct 10 02:53:14 localhost usb-storage: device scan completeOct 10 02:53:14 localhost scsi.agent[7446]: disk at /devices/pci:00/:00:0b.1/usb1/1-3/1-3:1.0Oct 10 02:53:45 localhost kjournald starting.  Commit interval 5 secondsOct 10 02:53:45 localhost EXT3 FS on sda, internal journalOct 10 02:53:45 localhost EXT3-fs: mounted filesystem with ordered data mode.* end *  
  
Also, post details of the usb thing that you're trying to use - what isit? 
  
  USB enclosure is a box for mounting a HD inside to be used for external storage.  It is connected to USB port.  
  
and the gnome, udev and kernel version.
  
  # equery l gnome-light[ Searching for package 'gnome-light' in all categories among: ] * installed packages[I--] [  ] gnome-base/gnome-light-2.12.0 (2.0)# equery l udev[ Searching for package 'udev' in all categories among: ] * installed packages[I--] [  ] sys-fs/udev-087-r1 (0)# cat /proc/versionLinux version 2.6.17-gentoo-r7 ([EMAIL PROTECTED]) (gcc version 4.1.1 (Gentoo 4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006 Do you have gnome-volume-manager installed and in your session(not sure
if thats needed).
Yes.# equery l gnome-volume-manager[ Searching for package 'gnome-volume-manager' in all categories among: ]* installed packages[I--] [ ] gnome-base/gnome-volume-manager-1.5.15-r2 (0)* end *B.R.SL


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 storage.  It is connected to USB port.

I actually meant brand  chipset if you know it :) But nevermind, your 

   and the gnome, udev and kernel version.
   
  
  # equery l gnome-light
  [ Searching for package 'gnome-light' in all categories among: ]
   * installed packages
  [I--] [  ] gnome-base/gnome-light-2.12.0 (2.0)
  
  # equery l udev
  [ Searching for package 'udev' in all categories among: ]
   * installed packages
  [I--] [  ] sys-fs/udev-087-r1 (0)
  
  # cat /proc/version
  Linux version 2.6.17-gentoo-r7 ([EMAIL PROTECTED]) (gcc version 4.1.1
  (Gentoo 4.1.1)) #5 SMP Mon Sep 25 18:27:54 HKT 2006

AFAIK this seems to be OK.  There were problems with various versions of
udev,  gvm, but you seem to have avoided those...

Read here for some more info if you're feeling adventurous:
http://bugs.gentoo.org/show_bug.cgi?id=107784


 Do you have gnome-volume-manager installed and in your session(not
 sure if thats needed).

Of course! well spotted Andrew! you need to start gvm - run
`gnome-volume-manager ` from a terminal, then logout and back in again,
and see if it works.

After that, you could try the preferences for gvm, (in preferences 
removable drives and media) and make sure automounting and such is
checked.

If that _still_ fails, then gnome 2.14 would be looking tempting to me -
but you may not want to go that way...

HTH!
-- 
Iain Buchanan iaindb at netspace dot net dot au

I'd horsewhip you if I had a horse.
-- Groucho Marx

-- 
gentoo-user@gentoo.org mailing list



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 have to edit enabling
 auto-mount when the USB enclosure is plugged. TIA

There are a couple of things it might be:

1. install gnome-volume-manager
2. add yourself to the plugdev group
3. remove any lines in /etc/fstab for the same device you want to
automount

post back with results if that still fails!

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

And that's the way it is...
-- Walter Cronkite

-- 
gentoo-user@gentoo.org mailing list



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
shm /dev/shmtmpfs   nodev,nosuid,noexec 
0 0
devpts  /dev/ptsdevpts  rw  0 0
/dev/hda2   /   ext3rw,data=ordered 
0 1
/dev/hda1   /boot   ext2rw,nogrpid  
0 2
/dev/vg/usr /usrext3rw,data=ordered 
0 3
/dev/vg/home/home   ext3rw,data=ordered 
0 4
/dev/vg/var /varext3rw,data=ordered 
0 5
/dev/vg/opt /optext3rw,data=ordered 
0 6
/dev/vg/tmp /tmpext3rw,data=ordered 
0 7
none/proc   procrw,nodiratime   
0 0
udev/devtmpfs   rw,nosuid   
0 0
* end *


USB enclosure still could not be mounted automatically on plugging in


B.R.
satimis




-- 
gentoo-user@gentoo.org mailing list



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 enclosure still could not be mounted automatically on plugging in

if the logout-login doesn't work, then post the relevant part
of /var/log/messages when plugging in the usb device.

Also, post details of the usb thing that you're trying to use - what is
it? and the gnome, udev and kernel version.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.

-- 
gentoo-user@gentoo.org mailing list



[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 plugged. TIA





B.R.

SL



-- 
gentoo-user@gentoo.org mailing list