Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-09-2008, 02:34 AM   #1
Registered: Sep 2007
Posts: 54

Rep: Reputation: 15
Recovering files lost by mount command

HI friends....

I have mounted some .iso file to a home directory /home/somedirectory using command mount -t iso9660 -o loop *.iso /home/somedirectory ....

then i lost the existing files in /home/directory .......
Is there any way to recover those files...

please help me..

Thanks in advance...
Old 06-09-2008, 03:40 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
The files aren't lost, you mounted over the directory hiding the files inside. If you umount the iso image, the files will return. Mount the image over an empty directory somewhere else. If you are the only user accessing the files, then create a subdirectory in your home directory and mount it over that.
Old 06-09-2008, 04:22 AM   #3
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recovering lost files? Wocky Linux - Hardware 2 01-02-2007 02:45 PM
recovering lost data???? tnelson42345 Linux - Software 3 08-25-2006 12:27 PM
Recovering lost code/program The MCP Programming 3 03-09-2006 04:26 AM
Recovering Lost Data lawrencegoodman Linux - General 1 04-04-2004 01:57 PM
Recovering Lost Files gonus Linux - Software 1 08-08-2003 03:14 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:42 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