On Wed, Sep 21, 2005 at 10:47:17PM +0200, Sjoerd Simons wrote: > On Mon, Sep 19, 2005 at 12:41:40AM +1000, Hamish Moffatt wrote: > > g-v-m appears to have (or used to) support for "autorun" on the device. > > I enabled this and eventually got my device mounted without noexec, but > > g-v-m still didn't run my script. I tried calling it autorun.sh and > > .autorun, in the root of the device (/media/IHP100). > > I actually disabled autorun in debian's gvm. As it won't work anyway because > device are mounted with noexec.
OK, that explains it. I worked around the noexec thing (if you list the device in /etc/fstab, pmount defers to mount and then you can list any flags you want), but autorun still didn't work. Perhaps I'll rebuild locally. > > It seems that the autorun feature is controversial. I actually don't > > want to run a script from the device - just a command. In my case, just > > to sync my music when plugging in my MP3 player. > > Actually the latest upstream versions of gvm support running a command when > inserting mp3 players. This will come to unstable with G2.12.. That sounds great. How does it identify an MP3 player? Mine (iRiver H140) just appears to be a USB hard drive. usb 3-5: new high speed USB device using ehci_hcd and address 13 scsi11 : SCSI emulation for USB Mass Storage devices usb-storage: device found at 13 usb-storage: waiting for device to settle before scanning Vendor: TOSHIBA Model: MK4004GAH Rev: JC00 Type: Direct-Access ANSI SCSI revision: 00 SCSI device sdc: 78126048 512-byte hdwr sectors (40001 MB) sdc: assuming drive cache: write through SCSI device sdc: 78126048 512-byte hdwr sectors (40001 MB) sdc: assuming drive cache: write through /dev/scsi/host11/bus0/target0/lun0: p1 Attached scsi disk sdc at scsi11, channel 0, id 0, lun 0 thanks Hamish -- Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

