From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GXqJk-0003II-IM for garchives@archives.gentoo.org; Thu, 12 Oct 2006 02:29:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9C2QpIb019621; Thu, 12 Oct 2006 02:26:51 GMT Received: from web35212.mail.mud.yahoo.com (web35212.mail.mud.yahoo.com [66.163.179.91]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9C2OcQ9015199 for ; Thu, 12 Oct 2006 02:24:38 GMT Received: (qmail 58490 invoked by uid 60001); 12 Oct 2006 02:24:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1jPajJKLmk07zST9SinsFwaaNS9g/WVGGVR3gBK9c6ijFH+wOi8IcpuGcefQFKMLGbksn4dRChBpJIqJCjajj1CenZpXnseizbtNBfw7G4KDopvxGP+MxcjyItiqps/t4GGEuGyX6kxyQnD3o/aFNmEH94poNhS4gkdl8JqR+BA= ; Message-ID: <20061012022437.58488.qmail@web35212.mail.mud.yahoo.com> Received: from [219.79.147.64] by web35212.mail.mud.yahoo.com via HTTP; Wed, 11 Oct 2006 19:24:37 PDT Date: Wed, 11 Oct 2006 19:24:37 -0700 (PDT) From: Stephen Liu Subject: Re: [gentoo-user] Auto-mount USB device To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k9C2OcQ9015199 X-Archives-Salt: 6a09663b-102d-4f6c-a8f1-afaa21061eff X-Archives-Hash: c4357ec11295a05cd857a4d66df8e725 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/pci0000:00/0000: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/ Filesystem Size 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/ Filesystem Size 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