Results 1 to 3 of 3
Hello everyone.
Today I looked for a way to hard link directories. I came to "mount --bind olddir newdir" to achieve what I wanted. Accidentally the "olddir" folder specified contained ...
- 06-03-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
Undo mount action
Hello everyone.
Today I looked for a way to hard link directories. I came to "mount --bind olddir newdir" to achieve what I wanted. Accidentally the "olddir" folder specified contained some imported PHP files. After command execution the folder was empty.
What I'm looking for is recovering the files I've lost. I've used magicrescue to find deleted files, but it seems my files are not in deleted files.
That is why I thought that they are not actually deleted, but
"hidden" somehow, and maybe un-mounting will show my files again.
Any help is highly appreciated!
- 06-03-2010 #2
Welcome to the forums!
It's impossible to hardlink a directory. You could softlink it, or mount the filesystem in two places.
And what you did was remount your olddir at newdir. Are you sure your files aren't in newdir?Can't tell an OS by it's GUI
- 06-03-2010 #3Just Joined!
- Join Date
- Jun 2010
- Posts
- 2
Hello, Freston!
Yes, they do not exists in both directories. Now I'm sure that they are not in deleted files too, as after recovering of all deleted files I've found ones deleted months ago, but these files are not found.And what you did was remount your olddir at newdir. Are you sure your files aren't in newdir?
Any other suggestions?


Reply With Quote
