* [ptxdist] [PATCH] fstab: don't explicitly mount debugfs
@ 2019-01-08 21:41 Uwe Kleine-König
2019-01-11 13:51 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2019-01-08 21:41 UTC (permalink / raw)
To: ptxdist
If the kernel in use doesn't support it having an explicit entry results
in a failure.
On systems with systemd it is mounted anyways by
/lib/systemd/system/sys-kernel-debug.mount iff DEBUG_FS is enabled in
the kernel.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
projectroot/etc/fstab | 1 -
1 file changed, 1 deletion(-)
diff --git a/projectroot/etc/fstab b/projectroot/etc/fstab
index 269e35f66859..88099aacc17e 100644
--- a/projectroot/etc/fstab
+++ b/projectroot/etc/fstab
@@ -6,7 +6,6 @@
proc /proc proc nosuid,nodev,noexec 0 0
devpts /dev/pts devpts nosuid,noexec,mode=620,gid=112 0 0
sysfs /sys sysfs nosuid,nodev,noexec 0 0
-debugfs /sys/kernel/debug debugfs noauto 0 0
# ramdisks
tmpfs /tmp tmpfs nosuid,nodev,mode=1777,size=20% 0 0
--
2.19.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] fstab: don't explicitly mount debugfs
2019-01-08 21:41 [ptxdist] [PATCH] fstab: don't explicitly mount debugfs Uwe Kleine-König
@ 2019-01-11 13:51 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2019-01-11 13:51 UTC (permalink / raw)
To: ptxdist
On Tue, Jan 08, 2019 at 10:41:02PM +0100, Uwe Kleine-König wrote:
> If the kernel in use doesn't support it having an explicit entry results
> in a failure.
I don't mind either way, but this does not fail at boot, right? It has
'noauto' in the mount options.
Michael
> On systems with systemd it is mounted anyways by
> /lib/systemd/system/sys-kernel-debug.mount iff DEBUG_FS is enabled in
> the kernel.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
> projectroot/etc/fstab | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/projectroot/etc/fstab b/projectroot/etc/fstab
> index 269e35f66859..88099aacc17e 100644
> --- a/projectroot/etc/fstab
> +++ b/projectroot/etc/fstab
> @@ -6,7 +6,6 @@
> proc /proc proc nosuid,nodev,noexec 0 0
> devpts /dev/pts devpts nosuid,noexec,mode=620,gid=112 0 0
> sysfs /sys sysfs nosuid,nodev,noexec 0 0
> -debugfs /sys/kernel/debug debugfs noauto 0 0
>
> # ramdisks
> tmpfs /tmp tmpfs nosuid,nodev,mode=1777,size=20% 0 0
> --
> 2.19.1
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-11 13:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-08 21:41 [ptxdist] [PATCH] fstab: don't explicitly mount debugfs Uwe Kleine-König
2019-01-11 13:51 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox