summary refs log tree commit diff
path: root/host/rootfs
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/rootfs
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/rootfs')
-rw-r--r--host/rootfs/etc/fstab8
1 files changed, 4 insertions, 4 deletions
diff --git a/host/rootfs/etc/fstab b/host/rootfs/etc/fstab
index ceb1087..2bccd91 100644
--- a/host/rootfs/etc/fstab
+++ b/host/rootfs/etc/fstab
@@ -1,4 +1,4 @@
-proc	/proc		proc	defaults
-devpts	/dev/pts	devpts	defaults,gid=4,mode=620
-tmpfs	/dev/shm	tmpfs	defaults
-sysfs	/sys		sysfs	defaults
+proc	/proc		proc	defaults		0	0
+devpts	/dev/pts	devpts	defaults,gid=4,mode=620	0	0
+tmpfs	/dev/shm	tmpfs	defaults		0	0
+sysfs	/sys		sysfs	defaults		0	0