Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What are these files for?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jlepthien
      last edited by

      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 var

      What 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

      | apple fanboy | music lover | network and security specialist | in love with cisco systems |

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by

        Any1?

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          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(?)

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.