I've got USB drive (SD-card reader to be exact) connected to the RPi. What I want is to access it's files while in console mode/CLI.
The problem is that RPi doesn't see files stored on SD card - not until I run GUI by startx
command.
- When I go to
/media/my-usb
in CLI and hitls
command it doesn't list any files. - When in run file manager in graphic interface mode, the files are listed as they should.
The funny thing is that the files are also visible from console launched in graphic interface mode. But as soon as I log off to console mode, they become unreachable again.
my-usb
folder has 777 permissions
What do I need to do so the files stored on USB would be accessible in CLI?
EDIT:
lsusb
command is listing my device/my-usb
folder is visible byls
command under/media
- I can also do
cd /media/my-usb
and it enters the folder, but it doesn't see any files inside.
/media/my-usb
Do you see it when you uselsusb
?ls
while in /media folder. It just doesn't see it's contents.mount | grep media
before and after you start the GUI.