zlacker

[parent] [thread] 8 comments
1. hendry+(OP)[view] [source] 2013-06-26 03:36:03
I prefer the simpler filesystem proposal from http://sta.li/filesystem

The FHS has been poorly done for years. For e.g. where is the canonical place for a Web vhost root? /srv/www? /srv/web? /var/www?

replies(6): >>javert+d1 >>derefr+G1 >>gizmo6+I2 >>vacri+H4 >>anonov+29 >>drdaem+0u
2. javert+d1[view] [source] 2013-06-26 03:58:40
>>hendry+(OP)
The whole stali idea is pretty cool.

I was wondering recently if there could be any role for something like Docker in an experimental/radically different Linux distro.

3. derefr+G1[view] [source] 2013-06-26 04:10:40
>>hendry+(OP)
One thing I've never been able to figure out is where to store web-application code for webserver backends not associated with any particular vhost. I ended up deciding to package them as full "applications" under /opt, but this still feels a bit off.

Under stali, would these be in /svc?

4. gizmo6+I2[view] [source] 2013-06-26 04:28:57
>>hendry+(OP)
That looks like a really cool idea.

One thing I don't like about its filesystem is its insistence that all binaries go into /bin. As a user, I greatly appreciate the concept of having some sort of /local directory to distinguish between files (or just executable in this case) which the end user installed and which are part of the distribution. If you abandon the idea that /bin has no subdirecories, then I could see /bin/local as a viable alternative (although I think I would still prefer a /local folder where that had /local/bin, /local/etc ...).

replies(2): >>dredmo+q3 >>ahomes+4l1
◧◩
5. dredmo+q3[view] [source] [discussion] 2013-06-26 04:43:30
>>gizmo6+I2
The point of standards is that they define how others (distros, vendors) should interact with your system.

Debian Policy makes this more explicit by noting that it defines what packages (and hence: package maintainers) must do, may do, and must not do.

Among the latter: other than creating some of the hierarchy under /usr/local, packages may not delete content under this tree. That is for local system management.

Similarly, /opt as a location where third-party vendors can install their crap, excuse me, packages, is a pretty well established standard. Note too that you can offer the filesystem view independent of the underlying storage view, whether by symlinks (e.g., ln -s /usr/local/opt /opt), union mounts, or other means.

Any parts of the filesystem you create outside the defined standards are pretty much yours to worry about, though I've also got extreme reservations about polluting the root filesystem excessively. Better to create a structure under /usr/local or elsewhere (if for no other reason: it simplifies backups). This is a practice often respected in the breach in reality, however....

6. vacri+H4[view] [source] 2013-06-26 05:13:51
>>hendry+(OP)
Adding /devel to a location that already has /dev seems like an annoyance to the tab-completers among us.
7. anonov+29[view] [source] 2013-06-26 07:12:54
>>hendry+(OP)
Arch Linux recently merged /bin, /sbin, and /usr/sbin to /usr/bin [1]. The filesystem hierarchy is quite flat and well defined [2], kind of like your example.

[1]: https://www.archlinux.org/news/binaries-move-to-usrbin-requi... [2]: https://wiki.archlinux.org/index.php/Arch_filesystem_hierarc...

8. drdaem+0u[view] [source] 2013-06-26 13:38:50
>>hendry+(OP)
As for software, personally, I'm fond of GoboLinux approach: http://www.gobolinux.org/index.php?page=at_a_glance

Minor details (ahem capitalized directory names ahem) aside, having a designated place for each distinct software release (/Programs/Bash/3.0/bin/) in my personal opinion looks more practical than having a separate database of package-installed files.

Unfortunately, the projects seems to be dead or nearly dead.

◧◩
9. ahomes+4l1[view] [source] [discussion] 2013-06-26 21:23:31
>>gizmo6+I2
I really dislike the idea of /usr/local. Users should install everything through the package manager, otherwise stuff just collects in /usr/local and there's no easy way to remove it (if 3 different users install 5 different programs in /usr/local, how do you remove one of those programs?).

Also, one thing I think is needed right now is an easy way for users to install programs in $HOME, only for themselves (not system-wide) and without root access. On most distros (AFAIK), you can only do "sudo apt-get install PKG" (or something similar) which installs the package system-wide for everyone, or you can go through the whole configure&&make fun to install a program in your home directory. I'd like to see something like $HOME/bin and $HOME/lib where users can auto-install binaries that only they use.

[go to top]