LWN: Comments on "Filesystem hierarchy standard 3.0 process begins" https://lwn.net/Articles/441589/ This is a special feed containing comments posted to the individual LWN article titled "Filesystem hierarchy standard 3.0 process begins". en-us Thu, 25 Sep 2025 21:39:21 +0000 Thu, 25 Sep 2025 21:39:21 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/443197/ https://lwn.net/Articles/443197/ wookey <div class="FormattedComment"> I don't think multiarch has prompted this resurrection, but it is relevant. The timing is perhaps rather unfortunate in that regard. Multiarch is not a new idea (initially proposed in Debian in 2005 IIRC), but it has only just made it into real distributions (Ubuntu Natty release a week or so ago). That makes it rather too young to be adopted as something to mandate in the FHS. On the other hand if it's going to be a few years before we get another it'd be nice to have it as an option, or mentioned, or something.<br> <p> We'll be bringing this subject up to see what people thing about it, but I imagine that at the moment most people's reaction to the multiarch stuff is that it is weird Debian/Ubuntu craziness, best ignored. Now in fact it's a powerful and useful concept which I hope will have a long and friutful life, but clearly it's too early to make big claims about how it will create cross-architecture nirvana in filesystem-trees. <br> </div> Tue, 17 May 2011 12:15:17 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/443176/ https://lwn.net/Articles/443176/ The_Barbarian <div class="FormattedComment"> Yes please<br> </div> Tue, 17 May 2011 06:15:08 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/442844/ https://lwn.net/Articles/442844/ tack <div class="FormattedComment"> That isn't necessary anymore with GRUB 2.<br> </div> Fri, 13 May 2011 18:39:22 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/442491/ https://lwn.net/Articles/442491/ elanthis <div class="FormattedComment"> I myself may have been an idjit and mistyped that. :)<br> </div> Thu, 12 May 2011 03:45:45 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/442241/ https://lwn.net/Articles/442241/ dtlin <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">$XDG_CONFIG_HOME</a>? Tue, 10 May 2011 18:10:18 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/442183/ https://lwn.net/Articles/442183/ hnaz <div class="FormattedComment"> Fantastic! Time to standardize the dotfiles, so I can maintain ~/.etc in git without interfering temp files, logs, and caches :)<br> </div> Tue, 10 May 2011 07:39:20 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441900/ https://lwn.net/Articles/441900/ Hausvib6 <div class="FormattedComment"> Agree, like HTML5. Browsers implements new features all the time, ahead of each other, so does GNU/Linux distros adding new/renaming/moving directories in the filesystem. <br> </div> Sat, 07 May 2011 10:37:39 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441849/ https://lwn.net/Articles/441849/ Wol <div class="FormattedComment"> And on one of my systems I have doze on hda, linux on hdb, grub as my bootloader, and I couldn't get an hdb /boot to work ...<br> <p> Mind you, I get the impression from the OP that's okay because / and /boot are on different hard drives.<br> <p> Cheers,<br> Wol<br> </div> Fri, 06 May 2011 22:27:13 +0000 Obviously it SHOULD be there :-). https://lwn.net/Articles/441843/ https://lwn.net/Articles/441843/ david.a.wheeler <div class="FormattedComment"> Sounds great! I believe all the officially-named directories are already UTF-8 compliant (as they only use the ASCII subset), so in THAT sense they are there already. If you can't *mandate*, the FHS could at least *recommend* that all filenames be UTF-8 encoded. That's where all the desktops are slowly going anyway; there's no way to include encoding information about filenames in the filesystems, and the environment variables have the wrong scope. Even just a *recommendation* might help push everyone else that way. Then at least we could *display* filenames :-).<br> <p> </div> Fri, 06 May 2011 21:26:07 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441839/ https://lwn.net/Articles/441839/ zooko <div class="FormattedComment"> Haha! That's funny.<br> </div> Fri, 06 May 2011 20:22:30 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441836/ https://lwn.net/Articles/441836/ cry_regarder <div class="FormattedComment"> Where things go:<br> <p> -- Things that aren't named in UTF-8 go __no_where__<br> <p> What directories exist:<br> <p> -- Directories that aren't named in UTF-8 do __not_exist__<br> </div> Fri, 06 May 2011 20:15:41 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441830/ https://lwn.net/Articles/441830/ rfunk <div class="FormattedComment"> I'm pretty sure all your questions are answered in the text of the FHS.<br> </div> Fri, 06 May 2011 19:37:13 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441829/ https://lwn.net/Articles/441829/ rfunk <div class="FormattedComment"> That's outside the scope of the FHS, which merely defines where things go and what directories exist.<br> </div> Fri, 06 May 2011 19:36:35 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441827/ https://lwn.net/Articles/441827/ zooko <div class="FormattedComment"> Would it make any sense to try to get FHS people to look at David Wheeler's "fix POSIX file names by outlawing insane stuff" proposal?<br> <p> <a href="http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html">http://www.dwheeler.com/essays/fixing-unix-linux-filename...</a><br> <p> As a working data/filesystem hacker (<a href="http://tahoe-lafs.org">http://tahoe-lafs.org</a> ), the things that bother me are all things that Wheeler brought up, starting with "you can't know what encoding these bytes were originally supposed to be in". If we could get someone with a semblance of authority to publicly announce that using an encoding other than utf-8 on your linux file system is non-standard and won't be universally supported then that would be a good start.<br> </div> Fri, 06 May 2011 19:24:18 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441786/ https://lwn.net/Articles/441786/ tchernobog <div class="FormattedComment"> I never really understood the need for /srv. On most machines I had, it was there but empty. Services use something under /var/lib, mostly. Do we really need to have a gazillion directories under root?<br> <p> Also, I have seen the /mnt vs. /media thing baffle out more than one user. If I have an external USB HDD always attached to my machine it goes to /media, okay. But what is the rationale of mounting other things such as network shares in /mnt? It's almost always empty, nowadays. When I mount something for a short while, I just do a "mkdir temp; mount -t auto /dev/something temp" in my home or in /tmp if it should be accessible for other users.<br> <p> PS: as far as I know, /opt has been used in the past years mostly either in place of /usr/local, or for installing proprietary apps like Google Earth and Oracle. Maybe they should make that clearer.<br> </div> Fri, 06 May 2011 14:56:42 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441768/ https://lwn.net/Articles/441768/ intgr <div class="FormattedComment"> Surely this controversy is not critical enough to warrant the attention of FSB, Russia's Federal Security Service? :)<br> <p> FHS + LSB = FSB?<br> <p> </div> Fri, 06 May 2011 12:15:46 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441756/ https://lwn.net/Articles/441756/ anselm <p> Nothing in the FHS says that /boot <em>must</em> be on its own partition. Under some circumstances this is unavoidable (e.g., with some LVM and/or encryption setups), and historically it used to be necessary on various machines due to BIOS limitations. However there is nothing wrong in principle with having /boot on the root file system along with /etc, /bin and so on, just as there is nothing wrong with having it on its own partition. The FHS makes no stipulation either way. </p> Fri, 06 May 2011 09:05:38 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441751/ https://lwn.net/Articles/441751/ niner <div class="FormattedComment"> One still needs /boot on it's own partition if one is using LVM for root or a file system not supported by one's bootloader.<br> </div> Fri, 06 May 2011 08:02:52 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441749/ https://lwn.net/Articles/441749/ petegn <div class="FormattedComment"> Why do we have to mess with it at all the last thing wanted is yet more need for extra partitions boot works quite well as an dir on / there is no need for an separate partition &lt; i have not too much knowledge of the FHS but certain things just strike me as a retrograde step we used to have /boot as an partition years ago i do not want to see it return<br> <p> <p> </div> Fri, 06 May 2011 07:53:19 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441737/ https://lwn.net/Articles/441737/ Kamilion <div class="FormattedComment"> Also, the moving of /selinux to /sys/fs/selinux noted here:<br> <p> <a href="http://lists.freedesktop.org/archives/systemd-devel/2011-May/002168.html">http://lists.freedesktop.org/archives/systemd-devel/2011-...</a><br> <p> and backed by Greg KH<br> </div> Fri, 06 May 2011 04:33:06 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441734/ https://lwn.net/Articles/441734/ dlang <div class="FormattedComment"> <font class="QuotedText">&gt;&gt; Just make sure that you understand _why_ you are violating the standard, (and if you are doing this for anything beyond your personal systems, document what you are doing strange and why), then go on with life.</font><br> <p> <font class="QuotedText">&gt;Funny thing was, I didn't think I was violating any such standard with the separate /boot partition. I openly admit to being ignorant of the FHS, or even the mere existence of such a standard (well, not totally—I might've read about the FHS some time ago). Which sort of explains why I asked here.</font><br> <p> well, if nothing else you were violating the 'standard' of your distro. If you are ever going to have anyone else involved with maintaining the system, you can get away with not documenting the distro, but you should document what you change from the default.<br> </div> Fri, 06 May 2011 03:38:38 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441725/ https://lwn.net/Articles/441725/ pr1268 <p><font class="QuotedText"> &gt; Just make sure that you understand _why_ you are violating the standard, (and if you are doing this for anything beyond your personal systems, document what you are doing strange and why), then go on with life.</font></p> <p>Funny thing was, I didn't think I was violating any such standard with the separate <tt>/boot</tt> partition. I openly admit to being ignorant of the FHS, or even the mere existence of such a standard (well, not totally&mdash;I might've read about the FHS some time ago). Which sort of explains why I asked here.</p> <p><font class="QuotedText"> &gt; I think that there is a lot of good thinking in your decision. I'm not sure I would go to that much effort, but I won't say that you are wrong to do so.</font></p> <p>Thank you (and anselm) for your words of encouragement.</p> <p><font class="QuotedText"> &gt; (I am also someone who ops to use lilo instead of grub)</font></p> <p>I use LILO because I run Slackware on my computers (and Slackware's philosophy is also &quot;if it ain't broke, then no need to fix it&quot; [and LILO still works great despite its antiquity]).</p> <p><font class="QuotedText"> &gt; One of the big pains to deal with in running production systems is when the distro and the upstream disagree on where a critical package lives (or where it's config files, or loadable modules, etc live). This makes it unnecessarily hard to upgrade to a custom built version of the package when your installation needs something different from the distro default.</font></p> <p>Don't I know it! (My experience at trying to install 3rd-party ProFTP and PAM/MySQL RPMs onto a CentOS 5.1 box several years ago turned into a nightmare [CentOS's own VSFTP implementation was out of the question as it didn't support the authentication scheme], but I digress...).</p> <p>Back to the FHS-2.3 document, I would like to express gratitude at its enlightening me on the difference between <tt>/mnt</tt> and <tt>/media</tt>, and also for explaining the rationale for separating <tt>/bin</tt> and <tt>/lib</tt> from their <tt>/usr</tt> counterparts.</p> <p>Finally, to add to the discussion/debate above, I do think that (a) the seven years have elapsed because (again) it wasn't broken and no need to fix it, and (b) <a href="http://lwn.net/Articles/436012/">creating a <tt>/run</tt> directory</a> obviates the need for a standards update. Obviously. &lt;/sarcasm&gt;</p> Fri, 06 May 2011 02:16:24 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441716/ https://lwn.net/Articles/441716/ dlang <div class="FormattedComment"> your system is non-complient (and _any_ system is not recommended, by _someone_ ;-)<br> <p> but that doesn't really matter<br> <p> the FHS is a standard for application packagers (either distros or independent) to give them guidelines as to where they should install the various components of their application by default.<br> <p> not only is the nice thing about standards is that there are so many to choose from, but no matter what the standard is, there is always going to be some situation, somewhere, some time, where the right thing to do is going to be to violate the standard.<br> <p> Just make sure that you understand _why_ you are violating the standard, (and if you are doing this for anything beyond your personal systems, document what you are doing strange and why), then go on with life.<br> <p> I think that there is a lot of good thinking in your decision. I'm not sure I would go to that much effort, but I won't say that you are wrong to do so. (I am also someone who ops to use lilo instead of grub)<br> <p> <p> now if a distro violates the FHS, or if someone makes their 'make install' do things that violate the FHS, then you should complain, and probably do so fairly loudly. One of the things that makes the *nix ecosystem work is that applications built and configured for one distro/OS can work on others with relatively few problems. one of the keys to making this work is standardising where things are installed.<br> <p> One of the big pains to deal with in running production systems is when the distro and the upstream disagree on where a critical package lives (or where it's config files, or loadable modules, etc live). This makes it unnecessarily hard to upgrade to a custom built version of the package when your installation needs something different from the distro default.<br> </div> Thu, 05 May 2011 23:39:59 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441714/ https://lwn.net/Articles/441714/ anselm <p>Frankly I don't see what your problem is here. The rules in the FHS apply to distributors and application developers. As a system administrator you are perfectly free to arrange your own system as you see fit – the FHS tells you which bits of the file system you should avoid because the distribution is allowed to futz around with them, but other than that, whatever floats your boat is fine.</p> <p>In particular I don't think there's anything gravely wrong with <em>not</em> having the content of the /boot directory accessible during normal system operation. Also there ought to be no problems with GRUB provided that GRUB can get at the partition in question when the system is booted.</p> Thu, 05 May 2011 23:23:06 +0000 Filesystem hierarchy standard - questions about /boot https://lwn.net/Articles/441710/ https://lwn.net/Articles/441710/ pr1268 <p>So, if I'm to understand the (existing) FHS-2.3 document, then my below configuration is non-compliant (or not recommended):</p> <ul> <li><tt>/boot</tt> is a separate partition and filesystem on the <i>same physical disk</i> as the <tt>/</tt> partition/FS;</li> <li><tt>/boot</tt> is <i>not</i> mounted by default; i.e., the &quot;noauto&quot; option is located in my <tt>/etc/fstab</tt> file;</li> <li>The bootable kernels reside in the <tt>/boot</tt> partition, and the boot manager points to their physical location on the disk (I use LILO), so booting isn't affected by the separate partition;</li> <li>Since the kernel is loaded into memory at boot time, then access to the files in the <tt>/boot</tt> partition isn't needed during normal operation<sup>1</sup>, unless I'm installing a new kernel and/or adjusting LILO configuration settings (during which I have the partition mounted);</li> <li>A <tt>/boot</tt> directory still exists even when the <tt>/boot</tt> partition isn't mounted (although it is empty);</li> <li>Should the physical disk drive give up the ghost, then the separate boot partition wouldn't help me or hurt me (but I'd have other issues to deal with, obviously);</li> <li>My rationale for this is so that normal use of the computer won't cause any &quot;accidents&quot; where kernels and System.maps might get dorked with (Malware comes to mind, but my occasional carelessness is probably a bigger threat to my computer than any malware! ;-) )</li> </ul> <p>Is this not recommended? This technique was suggested to me by a friend at a LUG meeting a few years ago, and I've done it since without any trouble whatsoever (so far). Should I assume a separate <tt>/boot</tt> partition with kernel images will <i>not</i> work with GRUB? Discussion is appreciated.</p> <p>I apologize if this is not the proper venue to discuss this, but that FHS-2.3 document linked on this page seemed to contradict what I'm doing, so I think it's pertinent. Thanks!</p> <p><sup>1</sup> I don't use an initrd, and <tt>/lib/modules</tt> (containing all the run-time loadable kernel modules) <i>is</i> part of the <tt>/</tt> filesystem.</p> Thu, 05 May 2011 23:03:28 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441673/ https://lwn.net/Articles/441673/ alvieboy <div class="FormattedComment"> This boils down to basically:<br> <p> "If it ain't broke, don't fix it".<br> <p> So far it was suited everyone needs, but sometimes we need to take another step towards what's considered de-facto standards or recent best practices, or just, well... moving on.<br> <p> Nothing is eternal. Not even standards. <br> </div> Thu, 05 May 2011 19:45:44 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441667/ https://lwn.net/Articles/441667/ clugstj <div class="FormattedComment"> This is a standards document, not some "we can fix it later" code. If we've got to put up with what's in it for the next 7 years (or explain over and over why we are ignoring it), then it'd better not be a rush job.<br> </div> Thu, 05 May 2011 19:24:17 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441642/ https://lwn.net/Articles/441642/ elanthis <div class="FormattedComment"> Why should tweaks to a simple document take more than a few<br> Months? He'll, why should it take more than a few weeks? You've spent too long in waterfall-managed corporate bereucracies, friend.<br> </div> Thu, 05 May 2011 18:26:46 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441639/ https://lwn.net/Articles/441639/ elanthis <div class="FormattedComment"> The big stink over /run raised by whiny idjits is likely the only reason anyone is bothering with a new FSB, so yeah, expect it to be there.<br> </div> Thu, 05 May 2011 18:23:40 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441637/ https://lwn.net/Articles/441637/ rfunk <div class="FormattedComment"> I don't think there's any drastic change happening, just updates to account for modern scenarios. Nor do I think there are many people clamoring for a DJBIX view of the filesystem.<br> </div> Thu, 05 May 2011 18:16:10 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441634/ https://lwn.net/Articles/441634/ clugstj <div class="FormattedComment"> There is no release for 7 years and suddenly they need to have the next release out in 3 months? What's the hurry?<br> </div> Thu, 05 May 2011 18:08:59 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441623/ https://lwn.net/Articles/441623/ euske <div class="FormattedComment"> I think the points raised by D. J. Bernstein years ago are still valid. Hopefully they take some of his advice if they're drastically changing things. cf. <a href="http://cr.yp.to/slashpackage.html">http://cr.yp.to/slashpackage.html</a><br> </div> Thu, 05 May 2011 16:58:03 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441616/ https://lwn.net/Articles/441616/ rfunk <div class="FormattedComment"> Follow that Bugzilla link and do a blank search there, selecting FHS as the product. That'll give you a page of issues people have logged so far. (Some are years old, but others are more recent.)<br> </div> Thu, 05 May 2011 16:18:46 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441614/ https://lwn.net/Articles/441614/ Jonno <div class="FormattedComment"> From what I've read, the two issues promoting FHS3 are /run and /lib/&lt;architecture triplet&gt; (aka debian multiarch), though more changes may still be added to it.<br> </div> Thu, 05 May 2011 16:17:57 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441608/ https://lwn.net/Articles/441608/ eMBee <div class="FormattedComment"> i expect it to be little tweaks, add in all the current practices that have cropped up in recent years (like /run). the whole process has been pretty much dead for some time, and i am happy to see some attempts at revival to take shape.<br> <p> greetings, eMBee.<br> </div> Thu, 05 May 2011 16:09:26 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441600/ https://lwn.net/Articles/441600/ ssam <div class="FormattedComment"> is there somewhere that gives the broad aims of the new version? what are the big complaints with the current one.<br> <p> Are they going for something radical (like MacOSX or gobolinux). Or is it little tweaks?<br> </div> Thu, 05 May 2011 15:56:14 +0000 Filesystem hierarchy standard 3.0 process begins https://lwn.net/Articles/441604/ https://lwn.net/Articles/441604/ Hausvib6 <div class="FormattedComment"> /run should be added to the new FHS.<br> </div> Thu, 05 May 2011 15:53:08 +0000