All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@redhat.com>
To: Andreas Dilger <adilger@dilger.ca>
Cc: Prashant Shah <pshah.mumbai@gmail.com>, linux-ext4@vger.kernel.org
Subject: Re: debuge2fs not displaying /dev folder
Date: Tue, 15 Jan 2013 12:00:31 -0600	[thread overview]
Message-ID: <50F5993F.5020606@redhat.com> (raw)
In-Reply-To: <CF3C02F1-C284-4E7F-9921-C6DB21A33EE5@dilger.ca>

On 1/15/13 11:43 AM, Andreas Dilger wrote:
> 
> On 2013-01-14, at 11:01 PM, Prashant Shah wrote:
>> When using debuge2fs on a ext3 partition the /dev partition does not
>> show any entries at all. While running it on a ext4 partition only
>> part of entries are shown for /dev.
>>
>> Below is the list of files and folder within /dev folder residing on
>> a ext4 partition. Using "debugfs" shows around 92 entries while "ls"
>> shows around 217 entries. A block level dump also shows the same
>> folders as "debugfs".
> 
> The first and most important question is whether "/dev" is a real
> filesystem, or if it is a virtual (e.g. "tmpfs" type) filesystem
> on your machine?

was going to say the same thing; try

# mount | grep "on /dev"

>> --------------------- debugfs --------------------
>> 3014659  (12) .    2  (12) ..    3014663  (12) fd    3014664  (16) mapper
>> 3014665  (12) pts    3014666  (12) shm    3014667  (16) agpgart
>>
>>
>> --------- from ls -----------
>> autofs           ecryptfs  loop6               pts    random    sr0
>> tty2   tty35  tty50  tty9       ttyS22  uinput      vcsa2
>> block            fb0       loop7               ram0   rfkill    stderr
> 
> It would be useful to show "ls -li" information for some of the
> entries that appear via debugfs (e.g. "fd", "pts", and "shm" above),
> and also some of the entries that do not appear in debugfs.

Yep, I'm guessing you are seeing some installer-created devices in the root fs's
/dev but that something has been mounted over the top of it.

-Eric

 
> Cheers, Andreas



  reply	other threads:[~2013-01-15 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAD6i1f+GzTqewnV=2OefPTGT8YFzNo6+zmoPvxuJXMb9r0ABng@mail.gmail.com>
2013-01-15  6:01 ` debuge2fs not displaying /dev folder Prashant Shah
2013-01-15 17:43   ` Andreas Dilger
2013-01-15 18:00     ` Eric Sandeen [this message]
2013-01-15 18:05     ` Prashant Shah
2013-01-15 20:14   ` Theodore Ts'o
2013-01-16 15:46     ` Prashant Shah

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F5993F.5020606@redhat.com \
    --to=sandeen@redhat.com \
    --cc=adilger@dilger.ca \
    --cc=linux-ext4@vger.kernel.org \
    --cc=pshah.mumbai@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.