I recently installed Arch on my computer and now I would like to read data from USB devices (i.e. flash drives, SD cards, etc.) but I don't know how to. I know that using Gnome or KDE will do this for me automatically but I am only using Openbox for my installation so I don't know where to start.
I read from the Arch Wiki that Udev handles this but I don't know how to use it (or find it for that matter). I also checked and /etc/udev/rules.d/
is empty so I doubt that my USB devices are mounted automatically. I want to:
- Know where these devices are being (or are going to be) mounted
- Know how to check if these devices are mounted
- Know how to mount them if these devices are not mounted
- Know how to automatically mount them once I insert them into the USB slot
Thanks.
Best Answer
_1,2. Just type
mount
into the terminal._3. After you attach a usb drive, you may want too look
dmesg | tail
. The last few lines should contain information about the attached drive, I mean you can find out which/dev/sd?
was assigned to your drive. Then you create a directory in which you want the drive mounted, withmkdir NAME_OF_DIR
and mount the drive in it bymount YOUR_FLASH YOUR_DIRECTORY
. Also, don't forget that if you read/dev/sde
indmesg
, you should writemount /dev/sde1 /media/myflash1
, wheresde1
stands for the first partition on the drive sde._4. I suggest reading arch wiki for this one.