What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

overwrite /jffs/bin: how to restore

gatorback

Senior Member
It was 2AM and I had no business doing anything that late at night. I tried to mv a file and ended up mv-ing it to /jffs/bin instead of /jffs/bin/myfile. I am in shock that I did this.

To be clear: I no longer have access to to the files in what was the /jffs/bin directory. / jffs/bin is now a text file . I am concerned that if this router loses power, it will be bricked. What can be done to recover the files? I am pretty sure they are still there as I have not overwritten that area of memory (jffs).
 
How did you achieve that?

For most Unix systems moving file myfile to folder /jffs/bin results in a file /jffs/bin/myfile.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top