Quote:
Originally Posted by Lenard
Your usb mp3 player is known by the system, it's sde with the parition sde1. Now I will assume for the sake of the command the partition is vfat (FAT32). So lets first make sure you have a valid mountpoint for this device, as root from the console or xterm session type something like;
mkdir /media/mp3player
Then mount the device;
mount -t vfat /dev/sde1 /media/mp3player -rw
See both 'man mount' and 'man fstab' for the details and other options, like making the mountpoint available for all users other then root.
You can verify that the device is present by typing something like;
cat /proc/scsi/scsi
Remember to un-mount the device before removing it;
umount /dev/sde1 or umount /media/mp3player
|
Lenard, thanks. good info.
i'm using reiserfs, so i just ommitted th "vfat" in the mount command - i think everything worked ok. here's my cat output...
root@6[abc]# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: USB SD Reader Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 01
Vendor: Generic Model: USB CF Reader Rev: 1.01
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 02
Vendor: Generic Model: USB SM Reader Rev: 1.02
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 00 Lun: 03
Vendor: Generic Model: USB MS Reader Rev: 1.03
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi5 Channel: 00 Id: 00 Lun: 00
Vendor: GPX Model: Digital Player Rev: 0100
Type: Direct-Access ANSI SCSI revision: 04
root@6[jski23]#
i think that means it is there and usable. i found it and moved my files to it.
i then tried to unmount it - basically guessing at what i was doing... here are the ugly details...
root@6[abc]# unmount /media/mp3player
bash: unmount: command not found
root@6[abc]# umount /media/mp3player
umount: /media/mp3player: not mounted
root@6[abc]# umount -a /media/mp3player
umount: /mnt/hdb5: device is busy
umount: /home: device is busy
umount: /: device is busy
root@6[abc]#
after typing in "umount /media/mp3player" and getting the following result, "umount: /media/mp3player: not mounted", i removed the device and it didn't have any files on it. looking back at this point, "not mounted" must've meant it wasn't seen vs being unmounted as i originally thought.
the mount point has the files, but the device doesn't.
where do i go from here?
also, i'd like for an sde1 icon to show up that let's me right click mount and unmount - how do i do that?
tia...