Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fhs]

Filesystem Hierarchy Standard

1
vote
2answers
686 views

Where should Steam install game data on linux, to be FHS-compliant?

I want to create a folder on my linux system for Steam to download game data to. I am doing this so the data is shared between users, and games do not have to be downloaded multiple times. Originally,...
2
votes
1answer
147 views

Should I install a custom webapp in /opt or /srv?

My understanding is that custom/non-distro software should be installed in /opt. However in a Django deployment tutorial [1] I found a suggestion to install a Django webapp to /srv which is described ...
0
votes
1answer
21 views

What is a FHS compliant installation dir for vendor-provided binaries?

A software vendor has to create a Linux filesystem hierarchy standard (FHS) compliant Debian package. What installation dir has to be used for binaries? Software placed in /bin or /usr/bin may be ...
0
votes
1answer
15 views

nsroot, what directories need to be host-specific?

I'm playing with an nfsroot boot for multiple hosts; Ubuntu has some dated docs that recommend: #/etc/fstab none /tmp tmpfs defaults 0 0 none /var/run ...
0
votes
1answer
435 views

What is the user equivalent of the global /opt directory?

I'm wondering if anybody has agreed on a user equivalent of the global /opt directory, for third-party packages that are distributed as a tarball to be unpacked as a single directory. Examples include ...
3
votes
0answers
171 views

Is the directory /apps/ a legacy of anything?

Several times, I have seen in (quite) big projects, software installations made under /apps/ First I thought it was a fantasy, refusing FHS normalisation. https://en.wikipedia.org/wiki/...
3
votes
0answers
116 views

Are {/bin, /lib, /sbin} symlinks into /usr in Ubuntu?

I am a little confused by this question about moving files from /bin to /usr/bin on an Ubuntu 17.04 system. Reading the Ubuntu wiki says: For Quantal, merged /usr should be supported. On new ...
2
votes
0answers
58 views

Is there a standard way for getting the media mount path (like /media/user, /run/media/user…)?

In an application, I need to find out where removable media is mounted. On Ubuntu, this happens in /media/username/ . On Arch, it is /run/media/username/ . On other systems, its just /media/ etc. ...
1
vote
0answers
34 views

Docker and Linux architecture,var directory

I worked on Docker and Jenkins project and Now I am looking at /var directory of the docker container named jenkins docker exec jenkins ls -l var total 40 drwxr-xr-x 2 root root 4096 Aug 26 ...
1
vote
0answers
52 views

Moving to FHS 3: How to overwrite GNU Autotools directory variables?

In GNU Autotools, the directory variables $sharedstatedir and $localstatedir expand to $(prefix)/com and $(prefix)/var respectively. However the com and var directories don't exist anymore in FHS 3, ...
1
vote
0answers
35 views

About the status of the File Hierarchy standard

In the question Where can I find the Official File Hierarchy Standard for UNIX? one writes: As with all things unix, it's less of a law and more of a guideline; how much of it is adhered to varies by ...
0
votes
0answers
33 views

Where should an FHS-compliant program ideally place all its files?

After reading the FHS, I have concluded on the following table: +----------------+-------------------+---------------------------------+-----------------------+ | Part | Sofware in /opt | ...
0
votes
0answers
19 views

Installer support for sharing /usr or /usr/share

According to the Filesystem Hierarchy Standard (FHS), /usr is "shareable between various FHS-compliant hosts" (and /usr/share is even shareable between different architectures of the same OS). Are ...
0
votes
0answers
36 views

Why doesn't Guile have /usr/local in path?

I've noticed when compiling and installing modules for Guile in /usr/local that they cannot be found, while setting the prefix to /usr they work as intended. Is there a reason why Guile doesn't have /...
0
votes
0answers
26 views

Where to write data which should persit until next application startup?

To be compliant with the FHS I'm going to install my application in usr/local and the corresponding subdirectories. Where should the application write data which persits until the next application ...
0
votes
0answers
306 views

Config folder for a service

Context When running the Deluge daemon (deluged) as a service, you can specify an option to where the config folder will be created. The deluge-user I've created, is a system account, and therefore ...