0

After safely remove or eject it, i want to remount it without unplug it, and re-plug it again .. so Any suggestion pls?

PS

after using eject all usb memories are out of fdisk command scope i don't think it is that easy

`       Device Boot      Start         End      Blocks   Id  System
/dev/sda1       109473792  1953525167   922025688   83  Linux
/dev/sda3         2050048    99706297    48828125   83  Linux
/dev/sda4        99708926   109471743     4881409    5  Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5        99708928   109471743     4881408   82  Linux swap / Solaris

Partition table entries are not in disk order`

None of them is the usb memory

muru
  • 207,228
Ahmed Zain El Dein
  • 634
  • 4
  • 12
  • 25

1 Answers1

-1

First check what dev is your usb. It should be in FAT (most common) or NTFS

sudo fdisk -l

First you have to create mount point.

sudo mkdir /media/external

If your USB device is /dev/sdb1 and FAT

sudo mount -t vfat /dev/sdb1 /media/external -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

NTFS

sudo mount -t ntfs-3g /dev/sdb1 /media/external

For unmount

sudo umount /dev/sdb1

or:

sudo umount /media/external

I basically told you what is written in the wiki.

OdinRW
  • 632