Using ssh
from BusyBox, I cannot remove symlinks: after rebooting the device, symlinks re-appear. ls -la
shows that symlinks have been removed, but after rebooting device they re-appear again.
Those symlinks already existed beforehand, created at installing the firmware.
$ rm uw_cert.cer
I tried to remove uw_cert.cer and uw_key_prv.bin, but it reappears after reboot. The other files can be removed without problem.
<root@fwre:/nvram/1/security> ls -la
total 5
drwxr-xr-x 3 root 0 0 Jan 1 00:00 .
drwxr-xr-x 5 root 0 0 Jan 1 00:05 ..
-rwxrwxrwx 1 root 0 905 Jan 1 00:06 cm_cert.cer
drwxr-xr-x 2 root 0 0 Jan 1 00:00 download
lrwxrwxrwx 1 root 0 25 Jan 1 00:00 uw_cert.cer -> /nvram/fw/bpi/uw_cert.cer
lrwxrwxrwx 1 root 0 28 Jan 1 00:00 uw_key_prv.bin -> /nvram/fw/bpi/uw_key_prv.bin
-rwxrwxrwx 1 root 0 1052 Jan 1 00:06 mfg_cert.cer
-rwxrwxrwx 1 root 0 140 Jan 1 00:02 mfg_key_pub.bin
lrwxrwxrwx 1 root 0 37 Jan 1 00:00 root_pub_key.bin -> /etc/docsis/security/root_pub_key.bin
mount
output:
<root@fware:/var/tmp> mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
ramfs on /var type ramfs (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock4 on /nvram type jffs2 (rw)
EDIT:
df /nvram/1/security
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mtdblock4 320 256 64 80% /nvram
cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / squashfs ro 0 0
proc /proc proc rw 0 0
ramfs /var ramfs rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/mtdblock4 /nvram jffs2 rw 0 0
df /nvram/1/security
and ofcat /proc/mounts
?