LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-09-2008, 01:34 AM   #1
thirumalesh
Member
 
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, 02:40 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
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, 03:22 AM   #3
thirumalesh
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Thanks........
 
  


Reply



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 01:45 PM
recovering lost data???? tnelson42345 Linux - Software 3 08-25-2006 11:27 AM
Recovering lost code/program The MCP Programming 3 03-09-2006 03:26 AM
Recovering Lost Data lawrencegoodman Linux - General 1 04-04-2004 12:57 PM
Recovering Lost Files gonus Linux - Software 1 08-08-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:48 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
Open Source Consulting | Domain Registration