this was stupidly easy with kernel 2.4:
# tail -f /var/log/messages
[plug in reader]
[watch for device assignment]
# mount -t vfat /dev/x/y/z /mnt/cf
but on 2.6, the following output doesn't give me a /dev/ location:
kernel: usb 1-2.3: new full speed USB device using address 8
kernel: usb 1-2.3: Product: eUSB CompactFlash Adapter
kernel: usb 1-2.3: Manufacturer: SCM Microsystems Inc.
kernel: usb 1-2.3: SerialNumber: FFFFFFFF
kernel: scsi3 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: eUSB Model: Compact Flash Rev:
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
scsi.agent[25404]: disk
at /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.3/1-2.3:1.0/host3/3:0:0:0
the only thing that appeared useful was the reference to "sg0" which did seem
only to be available when the cf reader was plugged in, but there's only one
problem:
# mount -t vfat /dev/sg0 /mnt/cf/
mount: /dev/sg0 is not a block device
and so i'm stuck. /dev/sg0 seems to be the only thing "new" that appears when
i plug something in, so what am i missing here?
--
there is a time, when the operation of the machine becomes so odious, makes
you so sick at heart, that you can't take part; and you've got to put your
bodies upon the gears and upon the wheels, upon the levers, upon all the
apparatus and you've got to make it stop. and you've got to indicate to the
people who run it, to the people who own it, that unless you're free, the
machine will be prevented from working at all.
- mario savio
--
gentoo-user@gentoo.org mailing list
# tail -f /var/log/messages
[plug in reader]
[watch for device assignment]
# mount -t vfat /dev/x/y/z /mnt/cf
but on 2.6, the following output doesn't give me a /dev/ location:
kernel: usb 1-2.3: new full speed USB device using address 8
kernel: usb 1-2.3: Product: eUSB CompactFlash Adapter
kernel: usb 1-2.3: Manufacturer: SCM Microsystems Inc.
kernel: usb 1-2.3: SerialNumber: FFFFFFFF
kernel: scsi3 : SCSI emulation for USB Mass Storage devices
kernel: Vendor: eUSB Model: Compact Flash Rev:
kernel: Type: Direct-Access ANSI SCSI revision: 02
kernel: Attached scsi generic sg0 at scsi3, channel 0, id 0, lun 0, type 0
scsi.agent[25404]: disk
at /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2.3/1-2.3:1.0/host3/3:0:0:0
the only thing that appeared useful was the reference to "sg0" which did seem
only to be available when the cf reader was plugged in, but there's only one
problem:
# mount -t vfat /dev/sg0 /mnt/cf/
mount: /dev/sg0 is not a block device
and so i'm stuck. /dev/sg0 seems to be the only thing "new" that appears when
i plug something in, so what am i missing here?
--
there is a time, when the operation of the machine becomes so odious, makes
you so sick at heart, that you can't take part; and you've got to put your
bodies upon the gears and upon the wheels, upon the levers, upon all the
apparatus and you've got to make it stop. and you've got to indicate to the
people who run it, to the people who own it, that unless you're free, the
machine will be prevented from working at all.
- mario savio
--
gentoo-user@gentoo.org mailing list