12 points

/sbn

permalink
report
reply
12 points

So does my website folder go under /var/www, /srv/www, or /home/www-data/www ?

permalink
report
reply
5 points

I put mine in /sbn

permalink
report
parent
reply
3 points

Well I put mine in /opt !

permalink
report
parent
reply
4 points

All of the above. mount --bind and never guess again!

permalink
report
parent
reply
3 points

Depends on what you specify in the config.

permalink
report
parent
reply
7 points

Ah yes, and usr/bin, and usr/sbin, of course

permalink
report
reply
6 points

And /usr/local/sbin of course

permalink
report
parent
reply
5 points

What’s diff between device files vs config files vs variable files?

permalink
report
reply
6 points

/dev is for device files, ie special files that let you communicate directly with a physical piece of hardware

/etc is for configuration files, ie the comments tell how to setup a device or application

/var is for variable files, ie files who’s content is regularly changing, the primary example is logs, but there are a lot of other files that land in /var (some are moving to /run, though)

permalink
report
parent
reply
2 points

Two important things under /var are /var/spool for printing and /var/mail

permalink
report
parent
reply
2 points

Pretty outdated. /run/media is used by udisksctl to mount stuff that the user actually has access to.

permalink
report
reply

Community stats

  • 11

    Monthly active users

  • 12

    Posts

  • 92

    Comments

Community moderators