What are these files for?
-
Hi there,
Please take a look at the file listing from ls -l /
total 27
-rw-r–r-- 2 root wheel 793 Dec 8 02:14 .cshrc
-rw-r--r-- 1 root wheel 260 Dec 8 02:14 .profile
drwxrwxr-x 2 root operator 512 Dec 8 02:32 .snap
-r--r--r-- 1 root wheel 6197 Dec 8 02:14 COPYRIGHT
drwxr-xr-x 2 root wheel 1024 Dec 8 02:34 bin
drwxr-xr-x 7 root wheel 512 Dec 8 02:34 boot
-rw-r--r-- 1 root wheel 3 Feb 2 14:04 boot.config
drwxr-xr-x 4 root wheel 512 Dec 8 03:05 cf
lrwxr-xr-x 1 root wheel 9 Feb 8 15:35 conf -> /cf/conf/
drwxr-xr-x 2 root wheel 512 Dec 8 02:39 conf.default
dr-xr-xr-x 7 root wheel 512 Feb 8 15:35 dev
drwxr-xr-x 18 root wheel 3584 Feb 8 15:36 etc
drwxr-xr-x 2 root wheel 512 Dec 8 02:14 home
drwxr-xr-x 2 root wheel 512 Dec 8 02:39 kernels
drwxr-xr-x 3 root wheel 1024 Dec 8 02:34 lib
drwxr-xr-x 2 root wheel 512 Dec 8 02:34 libexec
drwxr-xr-x 2 root wheel 512 Dec 8 02:13 media
drwxr-xr-x 2 root wheel 512 Dec 8 02:13 mnt
drwxr-xr-x 4 root wheel 512 Dec 8 02:39 nano
-rw-r--r-- 1 root wheel 0 Dec 8 02:21 nanobuild
-rw-r--r-- 1 root wheel 0 Jan 27 21:30 needs_package_sync
dr-xr-xr-x 1 root wheel 0 Feb 8 15:41 proc
drwxr-xr-x 2 root wheel 512 Dec 8 02:13 rescue
drwxr-xr-x 4 root wheel 512 Feb 7 14:50 root
drwxr-xr-x 2 root wheel 1536 Dec 8 02:35 sbin
drwxr-xr-x 2 root wheel 512 Dec 8 02:21 scripts
drwxr-xr-x 6 root wheel 512 Feb 6 00:50 squidGuard
-rwxr-xr-x 1 root wheel 715 Dec 8 02:21 test_php.php
lrwxrwxrwx 1 root wheel 7 Dec 8 02:35 tmp -> var/tmp
-rw-r--r-- 1 root wheel 0 Dec 8 02:14 touch
drwxr-xr-x 10 root wheel 512 Oct 11 22:24 usr
drwxr-xr-x 13 root wheel 512 Feb 8 15:36 varWhat are the 0byte files for? I can't remember seeing them around before. They stay there, even after a reboot. Can anyone please explain their purpose?
Thanks
-
Any1?
-
usually they are flag files that are just touched so that other processes which are run periodically (cron, etc) can see some action that needs to be done.
Not sure about the one named "touch" that was probably a bug somewhere or perhaps done by hand(?)