You are not logged in.
Pages: 1
I did not enable tracefs, why are those lines in my fstab? I'm open to questions and answers.
# tracefs
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec 0 0
Offline
I did not enable ftracer*
Offline
That seems to be automatically added by genfstab now. I'm not aware of the reasoning. Tracefs seems to be mounted regardless of the entry in fstab anyways (I have no such line in my fstab and it is still listed in the output of `mount`). I gather this is due to the system mount sys-kernel-tracing.mount.
Last edited by Trilby (2022-02-27 20:08:54)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I tried to run genfstab from arch-install-scripts after umounting /sys/kernel/tracing and no luck, it still mounts itself.
Offline
genfstab is not detecting tracefs as a pseudofs filesystem.
Wad added to util-linux but arch-install-scripts/common has not been resynced against it
https://github.com/util-linux/util-linu … fdda6401d9
also missing updates from
https://github.com/util-linux/util-linu … 83dbe73b79
Last edited by loqs (2022-02-27 20:15:39)
Offline
When is arch-install-scripts going to be resynced to include the commits? This is just a little inconvenience, I used genfstab to correctly configure a ntfs partition. Thanks for the answer! Should I manually remove it?
Last edited by ableto (2022-02-27 20:32:32)
Offline
How did you create the fstab in the first place?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Try rebuilding arch-install-scripts with this patch applied
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index be6fde1..042768d 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -10,11 +10,17 @@ url="https://github.com/archlinux/arch-install-scripts"
license=('GPL2')
depends=('awk' 'bash' 'coreutils' 'pacman' 'util-linux')
makedepends=('asciidoc' 'git')
-source=("git+https://github.com/archlinux/arch-install-scripts#tag=v${pkgver}?signed")
+source=("git+https://github.com/archlinux/arch-install-scripts#tag=v${pkgver}?signed"
+ 'arch-install-scripts-pseudofs-update.patch')
validpgpkeys=(
'BD27B07A5EF45C2ADAF70E0484818A6819AF4A9B' # Eli Schwartz
)
-md5sums=('SKIP')
+md5sums=('SKIP'
+ 'bcbaf2e34fd08104f53e79aeb399989a')
+
+prepare() {
+ patch -Np1 -i ../arch-install-scripts-pseudofs-update.patch -d "$pkgname"
+}
pkgver() {
cd "$pkgname"
diff --git a/trunk/arch-install-scripts-pseudofs-update.patch b/trunk/arch-install-scripts-pseudofs-update.patch
new file mode 100644
index 0000000..700dc94
--- /dev/null
+++ b/trunk/arch-install-scripts-pseudofs-update.patch
@@ -0,0 +1,48 @@
+diff --git a/common b/common
+index 0fe3cb0..0c2d61c 100644
+--- a/common
++++ b/common
+@@ -1,7 +1,9 @@
+ # generated from util-linux source: libmount/src/utils.c
+ declare -A pseudofs_types=([anon_inodefs]=1
++ [apparmorfs]=1
+ [autofs]=1
+ [bdev]=1
++ [binder]=1
+ [bpf]=1
+ [binfmt_misc]=1
+ [cgroup]=1
+@@ -13,10 +15,13 @@ declare -A pseudofs_types=([anon_inodefs]=1
+ [devpts]=1
+ [devtmpfs]=1
+ [dlmfs]=1
++ [dmabuf]=1
++ [drm]=1
+ [efivarfs]=1
+ [fuse.gvfs-fuse-daemon]=1
+ [fusectl]=1
+ [hugetlbfs]=1
++ [ipathfs]=1
+ [mqueue]=1
+ [nfsd]=1
+ [none]=1
+@@ -24,13 +29,18 @@ declare -A pseudofs_types=([anon_inodefs]=1
+ [proc]=1
+ [pstore]=1
+ [ramfs]=1
++ [resctrl]=1
+ [rootfs]=1
+ [rpc_pipefs]=1
++ [smackfs]=1
+ [securityfs]=1
+ [sockfs]=1
+ [spufs]=1
+ [sysfs]=1
+- [tmpfs]=1)
++ [tmpfs]=1
++ [tracefs]=1
++ [vboxsf]=1
++ [virtiofs]=1)
+
+ # generated from: pkgfile -vbr '/fsck\..+' | awk -F. '{ print $NF }' | sort
+ declare -A fsck_types=([cramfs]=1
Offline
Pages: 1