Hi,

In order to preserve log files in NAND partition, I mounted my NAND
patition /dev/mtdX in /var/log.

Disabled volatile file system from creating  any object or link to
/var/volatile/log by commenting out following in
/etc/default/volatiles/00_core

#d root root 0755 /var/volatile/log none
#l root root 0755 /var/log /var/volatile/log
#f root root 0664 /var/log/wtmp none

But when system boots, I still see /var/volatile/log and a symlink to it
inside /var/log

root@am335x-evm:~# ls -al /var/log/
drwxr-xr-x    3 root     root             0 Sep 17 00:05 .
drwxr-xr-x    8 root     root           808 Sep 16 23:36 ..
-rw-r--r--    1 root     root         23600 Sep 17 00:04 dmesg
-rw-r--r--    1 root     root           292 Sep 17 00:05 lastlog
lrwxrwxrwx    1 root     root            17 Sep 17 00:04 log ->
/var/volatile/log
-rw-r--r--    1 root     root         53389 Sep 17 00:05 messages
-rw-rw-r--    1 root     root          3456 Sep 17 00:05 wtmp


How to fix it ?

thanks
Ankur
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to