16.04 - Ways to mount a Sd card / Usb drive in a different location - Ask Ubuntu


i wondering if can mount sd card or usb stick in different location rather /media if there way please tell me

you can use (assuming desired directory ~/usb , current mount point /media/xcy/ccd3-9e9d):

$ mkdir ~/usb $ sudo mount --bind /media/xcy/ccd3-9e9d ~/usb 

then can use both of these 2 directories, or here way (assuming device name /dev/sdb1)

$ umount /dev/sdb1           # unmount if it's mounted $ mkdir ~/usb                # make dir if isn't exist $ sudo mount /dev/sdb1 ~/usb 

then can use ~/usb.

you can find out device name , mount point mount (without options or arguments), in case, /dev/sdb1 , /media/xcy/ccd3-9e9d/ when insert usb drive.


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User