To mount a USB under the linux shell (USB should be in FAT32 and it should the first partition as FAT32)

#tail -f /var/log/messages-2014-10-23 (to see which directory it is read as e.g. /dev/sdb1 , once plugged in)

#cat /proc/partitions (to see which /dev/ directory it is plugged into) or #fdisk -l

#mkdir /tmp/usb (create a mount point)

#mount /dev/sdb1 /tmp/usb

#cp /var/archive/backup123. /tmp/usb

#unmount /tmp/usb

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s