
On Tue, 2004-12-21 at 23:51 +1300, SnapafunFrank wrote:
Alastair Porter wrote:
On Tue, 2004-12-21 at 22:16 +1300, SnapafunFrank wrote:
And to keep this subject alive and helpful may I ask...... How do you re-mount another mass_storage device?
eg. I boot my system with a memstick inserted and the system sees it AOK.
I then issue:
# umount /mnt/removable
And then remove the device.
I now wish to insert my camera card reader - and this is where at present I come unstuck as I have yet to successfully do this without 'emptying' the data ( read photos ) from the device.
Chances are, the device has been registered as /dev/sdb, so you should be able to mount it using /dev/sdb1 as the partition.
Running 'dmesg' after pluggin in the dives will show you technical information including what the device is, and the file in /dev that it has been linked to.
So OK, I had that much correct anyway. Thanks for confirmation.
To follow your advise I removed the memstick: and replaced having first issued
[root(a)Snapafun mnt]# umount removable/ umount: removable/: not mounted This is saying that you haven't actually unmounted the device. Try umount /mnt/removable
{ removed it here } Because you didn't really unmount it, this will probably have bed concequences - ie, the loss of data you were talking about
{ then re-installed it } Since you are plugging the same device in, it will have the same allocation in /dev
[root(a)Snapafun mnt]# dmesg usb 2-3: USB disconnect, address 5 usb 2-3: new full speed USB device using address 6 scsi1 : SCSI emulation for USB Mass Storage devices Vendor: M-Sys. Model: Storage Media Rev: 1.05 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sda: 32000 512-byte hdwr sectors (16 MB) sda: assuming Write Enabled Here you can see it's been re-allocated sda sda: assuming drive cache: write through /dev/scsi/host1/bus0/target0/lun0: p1 Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi1, channel 0, id 0, lun 0, type 0 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 6
So...... care to fill in the missing bits?
# mount -t vfat /dev/...... /mnt/removable # mount -t vfat /dev/sda1 /mnt/removable
Surely with automount running there ought to be an easier way? You said you were running Mandrake. Does an icon appear on the desktop when you plug the drive in? If so, then there is probably an 'Unmount'
<snip> option in the menu when you right click on it. This would be a much wasier way to use it. Alastair -- (o< - A l a s t a i r P o r t e r //\ V_/_ alastair(a)linuxexperience.com