Re: smart media changing problem

Thomas Dodd <[email protected]>
Newsgroups gmane.linux.redhat.release.limbo
Message-ID <[email protected]>

Gerry Tool wrote:
> On Thu, 2002-09-19 at 09:45, Thomas Dodd wrote:
> 
>>
> 
>>>Initializing USB Mass Storage driver...
>>>usb.c: registered new driver usb-storage
>>>scsi1 : SCSI emulation for USB Mass Storage devices
>>>  Vendor: Olympus   Model: Camedia MAUSB-2   Rev: 0100
>>>  Type:   Direct-Access                      ANSI SCSI revision: 02
>>
>>Seams detected OK.
>>
>> > Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
>>
>>Knows it's removable too.
>>I wonder if issuing and eject might help?
>>
> 
> [gerry@gstpc gerry]$ mount /mnt/smedia
> mount: block device /dev/sda1 is write-protected, mounting read-only
> [gerry@gstpc gerry]$ umount /mnt/smedia
> [gerry@gstpc gerry]$ eject /mnt/smedia
> eject: unable to open `/dev/sda1'

You cannot eject a partition, use the whole disk.

> [gerry@gstpc gerry]$ eject sda
> eject: unable to find or open device for: `sda'

You need the full path, /dev/sda.

$eject /dev/sda

The mount point works with CD's and floppies, because
you mount the whole device with them, not partitions.
If hdd is a CD, 'mount /dev/hdd /mn/cdrom' not hdd1.

	-Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.