LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

Rep: Reputation: Disabled
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.
 
Old 01-22-2015, 06:11 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,653

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

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


Reply


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 02:14 AM
Clearing the Cache. surisourabh Programming 2 04-14-2009 05:08 AM
clearing CD cache grayFalcon Programming 1 09-21-2006 04:55 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 12:02 PM
clearing cache waxiem Linux - General 1 03-02-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

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