public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] DebugFS
@ 2009-02-12 11:29 Mark Somerville
  2009-02-12 11:34 ` Mark Somerville
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Somerville @ 2009-02-12 11:29 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

I see that DebugFS is getting mounted very early on in the boot
sequence.

I want to keep it enabled in the kernel, but not automatically mounted.
What mounts it? How can I stop it?

Thanks,

Mark

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] DebugFS
  2009-02-12 11:29 [gentoo-user] DebugFS Mark Somerville
@ 2009-02-12 11:34 ` Mark Somerville
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Somerville @ 2009-02-12 11:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

On Thu, Feb 12, 2009 at 11:29:43AM +0000, Mark Somerville wrote:
> I see that DebugFS is getting mounted very early on in the boot
> sequence.
> 
> I want to keep it enabled in the kernel, but not automatically mounted.
> What mounts it? How can I stop it?

In typical style, I solved it almost immediately after asking!

/etc/init.d/sysfs mounts it.

Mark

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] debugfs
@ 2011-06-09 16:40 Stéphane Guedon
  2011-06-09 16:52 ` Paul Hartman
  2011-06-09 18:16 ` Alan McKinnon
  0 siblings, 2 replies; 7+ messages in thread
From: Stéphane Guedon @ 2011-06-09 16:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 922 bytes --]

16:05 root@luciole /boot # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,commit=0)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs 
(rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/sda6 on /home type ext4 (rw,commit=0)

Is debugfs usefull ? If not, is there a way not to mount it ?
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] debugfs
  2011-06-09 16:40 [gentoo-user] debugfs Stéphane Guedon
@ 2011-06-09 16:52 ` Paul Hartman
  2011-06-09 17:16   ` Stéphane Guedon
  2011-06-09 18:16 ` Alan McKinnon
  1 sibling, 1 reply; 7+ messages in thread
From: Paul Hartman @ 2011-06-09 16:52 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 9, 2011 at 11:40 AM, Stéphane Guedon <stephane@22decembre.eu> wrote:
> 16:05 root@luciole /boot # mount
> rootfs on / type rootfs (rw)
> /dev/root on / type ext3 (rw,commit=0)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> rc-svcdir on /lib64/rc/init.d type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
> /dev/sda6 on /home type ext4 (rw,commit=0)
>
> Is debugfs usefull ? If not, is there a way not to mount it ?

If you don't use it, it's not useful. :) Disable it in your kernel and
it will go away.

debugfs is not a real filesystem, it's a virtual way to access
debugging info from various modules/programs. Kind of like /proc is a
virtual filesystem which shows info about processes. If you don't use
any of that debugging info, then it's useless to you.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] debugfs
  2011-06-09 16:52 ` Paul Hartman
@ 2011-06-09 17:16   ` Stéphane Guedon
  2011-06-09 18:15     ` Paul Hartman
  0 siblings, 1 reply; 7+ messages in thread
From: Stéphane Guedon @ 2011-06-09 17:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1596 bytes --]

On Thursday 09 June 2011 18:52:29 Paul Hartman wrote:
> On Thu, Jun 9, 2011 at 11:40 AM, Stéphane Guedon <stephane@22decembre.eu> 
wrote:
> > 16:05 root@luciole /boot # mount
> > rootfs on / type rootfs (rw)
> > /dev/root on / type ext3 (rw,commit=0)
> > proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> > rc-svcdir on /lib64/rc/init.d type tmpfs
> > (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
> > sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> > debugfs on /sys/kernel/debug type debugfs
> > (rw,nosuid,nodev,noexec,relatime) udev on /dev type tmpfs
> > (rw,nosuid,relatime,size=10240k,mode=755) devpts on /dev/pts type devpts
> > (rw,nosuid,noexec,relatime,gid=5,mode=620) shm on /dev/shm type tmpfs
> > (rw,nosuid,nodev,noexec,relatime)
> > /dev/sda6 on /home type ext4 (rw,commit=0)
> > 
> > Is debugfs usefull ? If not, is there a way not to mount it ?
> 
> If you don't use it, it's not useful. :) Disable it in your kernel and
> it will go away.
> 
> debugfs is not a real filesystem, it's a virtual way to access
> debugging info from various modules/programs. Kind of like /proc is a
> virtual filesystem which shows info about processes. If you don't use
> any of that debugging info, then it's useless to you.

of course I won't use it
But it seems every debugfs is disabled in my kernel. But it always mount !
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] debugfs
  2011-06-09 17:16   ` Stéphane Guedon
@ 2011-06-09 18:15     ` Paul Hartman
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Hartman @ 2011-06-09 18:15 UTC (permalink / raw
  To: gentoo-user

On Thu, Jun 9, 2011 at 12:16 PM, Stéphane Guedon <stephane@22decembre.eu> wrote:
> But it seems every debugfs is disabled in my kernel. But it always mount !

Hmmm, I think the main setting is in "Kernel Hacking" section. In your
.config it is CONFIG_DEBUG_FS=n



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] debugfs
  2011-06-09 16:40 [gentoo-user] debugfs Stéphane Guedon
  2011-06-09 16:52 ` Paul Hartman
@ 2011-06-09 18:16 ` Alan McKinnon
  1 sibling, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2011-06-09 18:16 UTC (permalink / raw
  To: gentoo-user

Apparently, though unproven, at 18:40 on Thursday 09 June 2011, Stéphane 
Guedon did opine thusly:

> 16:05 root@luciole /boot # mount
> rootfs on / type rootfs (rw)
> /dev/root on / type ext3 (rw,commit=0)
> proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
> rc-svcdir on /lib64/rc/init.d type tmpfs
> (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
> sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
> debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
> udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
> devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
> shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
> /dev/sda6 on /home type ext4 (rw,commit=0)
> 
> Is debugfs usefull ? If not, is there a way not to mount it ?

deslect it in kernel config

It's not something you mount like a regular disk-based fs


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-09 18:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 16:40 [gentoo-user] debugfs Stéphane Guedon
2011-06-09 16:52 ` Paul Hartman
2011-06-09 17:16   ` Stéphane Guedon
2011-06-09 18:15     ` Paul Hartman
2011-06-09 18:16 ` Alan McKinnon
  -- strict thread matches above, loose matches on Subject: below --
2009-02-12 11:29 [gentoo-user] DebugFS Mark Somerville
2009-02-12 11:34 ` Mark Somerville

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox