Could you please provide commands to:
- attach pen drive in Ubuntu system
- unmount command
- attach external HDD using mount command
Thanks.
Use blkid
to view the list of disks and partitions. Note which one is your pendrive, example: sdc3
Create a folder where to mount sdc3 : mkdir /path/to/myfolder
Finally attach it (=mount it) mount /dev/sdc3 /path/yo/myfolder
To "eject"
umount /dev/sdc3
or umount /path/to/myfolder
There is enough information for you here:
lsblk
to see attached drivessudo mount /dev/sdb1 /dev/mnt
(replace sdb1
with output of previous command)ls /dev/mnt
or nautilus /dev/mnt
sudo umount /dev/mnt