
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.
I have also tried remounting the previously removed memstick and lost the data on that also.
Er... did I mention that I'm running mandrake 10 Official with hotplug installed.
I have tried:
# mount -t usbfs /dev/sda1 /mnt/removable # mount -t vfat /dev/sda1 /mnt/removable # mount -t ext2 /dev/removable # mount -t ext2,vfat /dev/removable
If it's a standard drive that works in windows, you will want to use -t vfat
I understood that the first one should have worked whereas the other three would only work if I had formatted the drive to one or both of those file systems.
And booting into WinXP I didn't have any problems provided I did as suggested previously - was able to put some data onto the memstick and retry my Linux side in an attempt to get this thing to work. This is important because at work I am getting more and more clients arriving with their dxf files on mem/flash sticks and it is a pain that I cannot reliable use Linux to read them. It is embarrassing to have to boot into Windows just to download the data and then back into Windows later to update their sticks.
As to the CD issue mentioned earlier - if in doubt then as su issue:
# eject
Remove the CD and then:
# eject -t
The 'eject' command ought to unmount the device for you. [Note: if you have more than one CD/DVD onboard then you will have to specify the device. eg:
# eject cdrom1
------------------------------------------------------------------------
_______________________________________________ wlug mailing list | wlug(a)list.waikato.ac.nz Unsubscribe: http://list.waikato.ac.nz/mailman/listinfo/wlug
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 { removed it here } { then re-installed it } [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 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 Surely with automount running there ought to be an easier way? -- Regards SnapafunFrank Big or small, a challenge requires the same commitment to resolve. Registered Linux User # 324213