LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Recovering files lost by mount command (https://www.linuxquestions.org/questions/linux-general-1/recovering-files-lost-by-mount-command-647938/)

thirumalesh 06-09-2008 01:34 AM

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...

jschiwal 06-09-2008 02:40 AM

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.

thirumalesh 06-09-2008 03:22 AM

Thanks........


All times are GMT -5. The time now is 02:42 PM.