Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-22-2015, 06:26 AM   #1
LQ Newbie
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
Clearing mount cache

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.
Old 01-22-2015, 07:11 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,675

Rep: Reputation: 239Reputation: 239Reputation: 239
After unmounting the usb drive try running:

sudo mount /dev/sdb1 /mount/usb0
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox Cache Not Clearing rnturn Linux - Software 1 10-04-2012 03:14 AM
Clearing the Cache. surisourabh Programming 2 04-14-2009 06:08 AM
clearing CD cache grayFalcon Programming 1 09-21-2006 05:55 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 01:02 PM
clearing cache waxiem Linux - General 1 03-02-2003 10:42 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration