M
M@rco
Guest
I'm preparing to do a completely clean install of 384.7 final. I disconnected my USB drives after unmounting them through the UI and choose to 'Format/jffs at next reboot' through the UI as well before installing 384.7. I made sure I applied the setting to format /jffs at next reboot. Before rebooting this is the output of du and df:
Then I reboot to actually format /jffs. After the router is back up again, this is the output of du and df:
I believe this is the same issue I've encountered before (and I think @martinr as well, see this thread) where writing to /jffs fails after first reboot, which makes sense as it looks it isn't properly mounted, I guess? There's no space left to write anything anyway.
So I reboot again and to my surprise, it looks like everything is back again/still there:
Looking at the contents of /jffs, it's been either repopulated or was never wiped in the first place:
There are no USB devices attached, I'm (still) on 384.7 beta 3 - but this has been the case on earlier builds as well. I'd like to know whether this is a bug and whether there's a way to manually format /jffs without messing things up?
Your assistance is highly appreciated.
Code:
# du /jffs
363 /jffs/bin
6 /jffs/ssl
326 /jffs/.sys/nc
326 /jffs/.sys
3 /jffs/configs
192 /jffs/scripts
14 /jffs/openvpn
0 /jffs/usericon
1190 /jffs
# df /jffs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mtdblock4 64256 2200 62056 3% /jffs
Code:
# du /jffs
0 /jffs
# df /jffs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 34816 34816 0 100% /
So I reboot again and to my surprise, it looks like everything is back again/still there:
Code:
# du /jffs
363 /jffs/bin
6 /jffs/ssl
327 /jffs/.sys/nc
327 /jffs/.sys
3 /jffs/configs
192 /jffs/scripts
14 /jffs/openvpn
0 /jffs/usericon
1200 /jffs
# df /jffs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mtdblock4 64256 2216 62040 3% /jffs
Code:
# ls
bin shared-Diversion-whitelist
cfg.json shared-Skynet-whitelist
configs shared-Skynet2-whitelist
nmp_cl_json.js ssl
nmp_client_list syslog.log
openvpn syslog.log-1
scripts usericon
There are no USB devices attached, I'm (still) on 384.7 beta 3 - but this has been the case on earlier builds as well. I'd like to know whether this is a bug and whether there's a way to manually format /jffs without messing things up?
Your assistance is highly appreciated.