summary refs log tree commit diff
path: root/host/initramfs
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2022-04-24 08:28:42 +0000
committerAlyssa Ross <hi@alyssa.is>2022-04-25 07:45:55 +0000
commitefb69484c50c9edc388fa188086e93c2420d2cf6 (patch)
tree6e34b4979f99e0b82a867e0d5e4b5c0bcca6d98b /host/initramfs
parent402c7fd0637e834f97b0ea1a2abb89c417e7469d (diff)
downloadspectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar.gz
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar.bz2
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar.lz
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar.xz
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.tar.zst
spectrum-efb69484c50c9edc388fa188086e93c2420d2cf6.zip
Add fs_freq and fs_passno fields to fstab files
These fields are pretty much obsolete and are supposed to be optional
according to fstab(5), but upstream Musl requires them.  Long ago, I
wrote a patch[1] to fix it, sent it upstream, and then applied it in
Spectrum's Nixpkgs as a temporary measure, to avoid churn in the fstab
files, thinking it would quickly be applied upstream.

But it has now been more than half a year since the last discussion on
my patch.  I do think it'll probably be accepted eventually, but at
this point it's not worth patching Musl ourselves for to avoid the
very minor churn of doing this change now, and reverting it when my
patch is finally accepted.  So just add the fields, and then we can
drop the patch from our Nixpkgs, and then we won't have to rebuild the
Musl-targetting compilers we could otherwise get from Hydra.

[1]: https://inbox.vuxu.org/musl/20210915221155.3977763-4-hi@alyssa.is/
Diffstat (limited to 'host/initramfs')
-rw-r--r--host/initramfs/etc/fstab6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/initramfs/etc/fstab b/host/initramfs/etc/fstab
index 7dc2c76..b0a36bd 100644
--- a/host/initramfs/etc/fstab
+++ b/host/initramfs/etc/fstab
@@ -1,3 +1,3 @@
-devtmpfs	/dev				devtmpfs	defaults
-proc		/proc				proc		defaults
-sysfs		/sys				sysfs		defaults
+devtmpfs	/dev	devtmpfs	defaults	0	0
+proc		/proc	proc		defaults	0	0
+sysfs		/sys	sysfs		defaults	0	0