LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Clearing mount cache (https://www.linuxquestions.org/questions/debian-26/clearing-mount-cache-4175531814/)

Bedserxis 01-22-2015 05:26 AM

Clearing mount cache
 
Hello,
I'm trying to mount a USB flash drive in debian. I messed up some of the libraries so X won't start and I'm doing it from the command line.

I'm typing:
sudo mount /dev/sdb /mount/usb0

and the operation completes successfully. But when I navigate to /mount/usb0 and type ls it returns an outdated snapshot of what's on the flashdrive - specifically, it returns the files for the debian installer that I put on the flash drive. Since installation I have formatted the flash drive and put some files on it so I don't understand why it's showing me a cached version of the drive's contents.

kilgoretrout 01-22-2015 06:11 PM

After unmounting the usb drive try running:

sudo mount /dev/sdb1 /mount/usb0


All times are GMT -5. The time now is 02:54 AM.