File locations
-
It has been a long time since I last developed for a Unix shell. (Current a DB application developer) (really tired of lame hardware firewalls).
My questions are for packages what would be the standard places for files on the file system.
My guesses are-
/usr/ for temporary files since this is a ram disk partition.
-
/usr/pkgname/log for logfiles
-
/usr/pkgname/tmp for temp files
-
/var/ for permanent fiiles.
-
/var/pkgname/ for shell scripts, additional php, inc, other runtime junk to be kept between reboots.
-
/etc/ should be kept out of for packages??
-
-
/usr/local/bin|sbin <–- third party applications
/usr/local/etc/ <--- third party conf files
/etc <--- system conf files
/usr/local/pkg/ <--- pfSense CoreGUI filesOur package system basically bootstraps FreeBSD binary packages with a XML layer giving us the additional capabilities of pfSense such as the webConfigurator.
Have a look at http://wiki.pfsense.com/wikka.php?wakka=CoreGUI for more information.
-
Yes got the GUI and FreeBSD binaries concepts. I was just looking at the other packages and noting the different locations.
Thanks what I wanted. I was asking about for a place to dump files downloaded from an URL then converted for use.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy