3

Could you please provide commands to:

  • attach pen drive in Ubuntu system
  • unmount command
  • attach external HDD using mount command

Thanks.

3 Answers 3

2
  1. Use blkid to view the list of disks and partitions. Note which one is your pendrive, example: sdc3

  2. Create a folder where to mount sdc3 : mkdir /path/to/myfolder

  3. Finally attach it (=mount it) mount /dev/sdc3 /path/yo/myfolder


To "eject" umount /dev/sdc3 or umount /path/to/myfolder

0

There is enough information for you here:

1
  • lsblk and fdisk -l are useful to get information on the blocks/devices you potentially can mount Aug 31, 2015 at 12:50
0
  1. Use lsblk to see attached drives
  2. Mount with sudo mount /dev/sdb1 /dev/mnt (replace sdb1 with output of previous command)
  3. Explore with ls /dev/mnt or nautilus /dev/mnt
  4. Unmount with sudo umount /dev/mnt

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .