Originally posted by xinorom
Announcement
Collapse
No announcement yet.
Systemd 245 Shipping Soon With Systemd-Homed, Systemd-Repart Partitioner
Collapse
X
-
Originally posted by lumks View PostBecause on Windows every folder is an "etc". Windows is for everything (Binary, settings/configs, artwork, libs, etc), Program Files contains also everything, and of course Users also contains everything., even the root level "c:" contains from apps, to configs everything. Windows does not have a strict hierarchy
Besides configs, which are the only exception to this rule, a package should install into one directory so that removing it is as simple as removing that directory. Installing also just copying it over (unless it needs to alter system configs). All of its files should be there. Not scattered over a million bits and pieces.
Thankfully, Linux started to catch up to this with /opt style packages... Finally something fucking sane.
Leave a comment:
-
Originally posted by lumks View PostThats because /usr/local is for your own stuff, like things you build from source. Nothing that should be touched by the packagemanager. The one that is missing here would be /usr/etc, maybe even with better name.
http://www.pathname.com/fhs/pub/fhs-...LOCALHIERARCHY
/usr/etc would be a good place for the default configs and /var/etc could be for user overrides (meaning the sys admin and not Karen in HR).
The only problem is that may or may not work with systemd. Whenever you "systemctl enable" crap it tweaks stuff under /etc/systemd so all of systemd would need to be relocated to /srv, or /var/srv using the OS Tree standard, so that read-write is guaranteed. Frankly, that applies to any other init system and service manager that uses /etc for configuration so it's not really just a systemd problem and more a problem of "everyone dumping crap into /etc and not following the XDG standards".
Leave a comment:
-
People with attitude like yours are the root cause for inter-platform compatibility issues. Find something to do with your life, instead of mucking in things best left alone.
- Likes 1
Leave a comment:
-
People who quote the FHS are cringe. It's the most irrelevant "standard" there is. The parts that people actually follow predate the standard by a long time and the parts it invented, everyone just ignores.
Leave a comment:
-
Originally posted by aht0 View Post/usr/local/etc ? The place exists, just persuade some distributor to make use of it.
- Likes 1
Leave a comment:
-
Originally posted by lumks View PostIt's Et Cetera, because it's not for configurations or setting, but "everything that does not fit somewhere else". That heavy focus on local configs and settings is just a recent development. But here I am with you. It would be nice to have a place for local configs, made by the Admin that overwrite the pkgmanagers configs.
Leave a comment:
-
Originally posted by Danny3 View Post/bin - What is bin? Recicle bin or binaries?
/cdrom ? I have a DVD-writer.
/etc ? What is this? Et cetera? Shouldn't be more clear if it was named configurations or settings ?
/usr ? Seriously, being so lazy on the root directories for one letter ?
I find much more clear and easier the windows filesytem with:
Windows
Program Files
Users
And this is only one place where LInux is such a mess, there are many others that I saw.
Leave a comment:
-
Originally posted by jacob View PostNope. Well-developed software should not expect to be installed at any given absolute path. The fact that historically Unix-style software used to have a hard-coded prefix (in the best of cases, definable at compile-time) is a deficiency, not something to perpetuate or accept as normal. Plus, with custom namespaces and containerisation, it's not really a problem anyway.
What is on the root of the drive should be explicit and self-evident for the same reason that any other information presented by the OS should be explicit and self-evident, not allegiant to some limitations and misguided short-sighted decisions made fifty years ago. The root of the drive should basically contain /system, /home, /apps and /settings. Of course by /settings I don't mean /etc with its hodgepodge of text files with arbitrary syntaxes but a structured key-value data store (whether JSON, YAML, binary or other is an implementation detail).
Leave a comment:
Leave a comment: