Wireshark mailing list archives
Re: Using /var/tmp instead of /tmp
From: Roland Knall <rknall () gmail com>
Date: Thu, 29 Jun 2017 12:30:52 +0200
Not sure why, because the two temp directories are different. Judging by https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard /tmp is usually purged during a reboot (at least you cannot expect to survive it) /var/tmp is not purged during a reboot The Qt::Dir() related stuff is actually a bug and should default to the wsutil function or at least the same g_get_tmp_dir, as Gtk and Qt might have different methods of getting the tmp directory and by using a Qt specific version this may lead to file polution. I think using /var/tmp was a decision by the package developer for the Fedora package. I honestly see no reasons behind that decision, except to wanting to access the tmp files and making sure they stay around. But this leads to an overly crowded /var/tmp after some time in my book, so I think it actually should change back to /tmp cheers Roland On Thu, Jun 29, 2017 at 11:25 AM, Martin Sehnoutka <msehnout () redhat com> wrote:
What are the pros and cons of using /var/tmp instead of /tmp for Wireshark? In Fedora, there is this downstream patch, which makes Wireshark use /var/tmp: http://pkgs.fedoraproject.org/cgit/rpms/wireshark.git/tree/ wireshark-0008-move-default-temporary-directory-to-var-tmp.patch so I'm just wondering why is it Fedora specific. -- Martin Sehnoutka | Associate Software Engineer PGP: 5FD64AF5 UTC+1 (CET) RED HAT | TRIED. TESTED. TRUSTED. ____________________________________________________________ _______________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject= unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Using /var/tmp instead of /tmp Martin Sehnoutka (Jun 29)
- Re: Using /var/tmp instead of /tmp Roland Knall (Jun 29)
- Re: Using /var/tmp instead of /tmp John Thacker (Jun 29)
- Re: Using /var/tmp instead of /tmp Guy Harris (Jun 29)
- Re: Using /var/tmp instead of /tmp John Thacker (Jun 29)
- Re: Using /var/tmp instead of /tmp Michał Łabędzki (Jun 29)
- Re: Using /var/tmp instead of /tmp Guy Harris (Jun 29)
- Re: Using /var/tmp instead of /tmp Peter Wu (Jun 30)
- Re: Using /var/tmp instead of /tmp Alexis La Goutte (Jun 30)
- Re: Using /var/tmp instead of /tmp Jeff Morriss (Jun 30)
- Re: Using /var/tmp instead of /tmp John Thacker (Jun 29)
- Re: Using /var/tmp instead of /tmp Roland Knall (Jun 29)