Opened 2 years ago

#20670 new defect

firstboot/jffs2reset command has wiped other than overlay folder

Reported by: arunmozhi_v@… Owned by: developers
Priority: highest Milestone:
Component: base system Version: Barrier Breaker 14.07
Keywords: Cc:


I am using barrier breaker version on TPLINK MR3040. When I was trying to reset the router by giving the firstboot command, it took unusually long time (few minutes). Later after reboot, I realized that the entire files from an attached USB backup drive have been deleted :-(. I think the issue is caused due to the fact that I had a soft-link to the mounted drive on the overlay.

I believe that there is something wrong in the way the function overlay_delete is implemented (directories being glob'ed recursively in the overlay partition and deleted, which may not take care of soft/hard links?).

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.