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

/tmp -> / ? Is that supposed to be there?

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
3 Posts 2 Posters 2.0k 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.
  • A
    adrianhensler
    last edited by Jan 2, 2009, 10:40 PM

    Hi, I am sure this is a dumb question but if I don't ask I'll never know.

    On my 1.2.1, I have this is /tmp:

    lrwxr-xr-x  1 root  wheel       1 Dec 30 19:56 tmp -> /

    Why does that link to the root?  Is that normal?  I removed it to see what happened and it came back on it's own.

    edit: I think I had to reboot to get it back.  Not going to try that right now but I think that was what happened.

    1 Reply Last reply Reply Quote 0
    • C
      cmb
      last edited by Jan 7, 2009, 6:26 AM

      code that creates that says:

      # Setup compatibility link for packages that
      # have trouble overriding the PREFIX configure
      # argument since we build our packages in a
      # seperated PREFIX area
      # Only create if symlink does not exist.
      if [ ! -h /tmp/tmp ]; then
      ln -hfs / /tmp/tmp
      
      
      1 Reply Last reply Reply Quote 0
      • A
        adrianhensler
        last edited by Jan 7, 2009, 2:14 PM

        So that would be a 'yes'.

        It just looked odd to me, just wanted to make sure it wasn't something weird.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received