TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Linux Filesystem Hierarchy (2004)

58 点作者 reqo超过 1 年前

10 条评论

yrro超过 1 年前
Hm, not to be confused with the Linux Filesystem Hierarchy Standard: <a href="https:&#x2F;&#x2F;refspecs.linuxfoundation.org&#x2F;FHS_3.0&#x2F;fhs.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;refspecs.linuxfoundation.org&#x2F;FHS_3.0&#x2F;fhs.html</a><p>... which is referenced in hier(7) <a href="https:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man7&#x2F;hier.7.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;man7.org&#x2F;linux&#x2F;man-pages&#x2F;man7&#x2F;hier.7.html</a><p>... which is itself referenced in file-hierarchy(7) <a href="https:&#x2F;&#x2F;www.freedesktop.org&#x2F;software&#x2F;systemd&#x2F;man&#x2F;latest&#x2F;file-hierarchy.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.freedesktop.org&#x2F;software&#x2F;systemd&#x2F;man&#x2F;latest&#x2F;file...</a> (which is the first place I look things up these days).
评论 #38473852 未加载
评论 #38471894 未加载
smallstepforman超过 1 年前
The equivalent for Haiku OS, without decades of legacy, conflicts, changes, history, backwards compatibility:<p><a href="https:&#x2F;&#x2F;www.haiku-os.org&#x2F;docs&#x2F;userguide&#x2F;en&#x2F;filesystem-layout.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.haiku-os.org&#x2F;docs&#x2F;userguide&#x2F;en&#x2F;filesystem-layout...</a><p>This shows you what Linux could be if it were redesigned from scratch without layers of patches&#x2F;fixes. Nice, simple, and due to dynamically mounted read only package system, read-only actually means read only.
评论 #38472661 未加载
评论 #38472573 未加载
readingnews超过 1 年前
I actually like how the document dates itself, for example in the &#x2F;opt description:<p>&quot;For example, StarOffice, Kylix, Netscape Communicator and WordPerfect packages are normally found here&quot;
drexlspivey超过 1 年前
&#x2F;bin &#x2F;usr&#x2F;bin &#x2F;usr&#x2F;local&#x2F;bin &#x2F;sbin &#x2F;usr&#x2F;sbin &#x2F;usr&#x2F;local&#x2F;sbin I never know where to put my own binaries so I just add my own at ~&#x2F;bin. Some programs also add their own like ~&#x2F;.cargo&#x2F;bin what a mess
评论 #38475129 未加载
评论 #38473894 未加载
评论 #38474060 未加载
pkkm超过 1 年前
See also the GoboLinux filesystem hierarchy [0], which may be what would happen if we redesigned the traditional Unix hierarchy.<p>[0] <a href="https:&#x2F;&#x2F;wiki.gobolinux.org&#x2F;Overview&#x2F;GoboLinux-Filesystem-Hierarchy&#x2F;index.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;wiki.gobolinux.org&#x2F;Overview&#x2F;GoboLinux-Filesystem-Hie...</a>
irdc超过 1 年前
I still think it’s funny how what used to be the location of user home directories, namely &#x2F;usr, has been retconned to be where the majority of binaries are stored.
评论 #38472169 未加载
评论 #38471922 未加载
评论 #38472220 未加载
nishs超过 1 年前
complementary openbsd resource:<p><a href="https:&#x2F;&#x2F;man.openbsd.org&#x2F;hier" rel="nofollow noreferrer">https:&#x2F;&#x2F;man.openbsd.org&#x2F;hier</a><p>some differences:<p>* openbsd does not use a &#x2F;boot&#x2F; partition. instead it uses the bsd.* files in root.<p>* no &#x2F;proc&#x2F; in its entirety in openbsd. use sysctl(3) instead.<p>* current openbsd does not have a separate &#x2F;var&#x2F;tmp&#x2F;; it is a symbolic link to &#x2F;tmp&#x2F;.
评论 #38472205 未加载
评论 #38473020 未加载
评论 #38472681 未加载
bobsmith432超过 1 年前
Why does every distro mount USB mass storage devices differently? &quot;&#x2F;run&#x2F;media&quot; vs &quot;&#x2F;media&#x2F;&quot; vs &quot;&#x2F;mnt&#x2F;&quot;
评论 #38475811 未加载
endre超过 1 年前
&gt; your file system got damaged so badly that the files were mutilated beyond recognition<p>:D
评论 #38476807 未加载
nilslindemann超过 1 年前
The fundamental errors of this are:<p>* It is hierarchical.<p>* It sorts by file type, not by namespace.
评论 #38488661 未加载