3

From the dumpe2fs man page:

dumpe2fs prints the super block and blocks group information for the filesystem present on device.

So dumpe2fs will dump the filesystem superblock. Is there any such tool to dump the Linux VFS superblock (i.e. in-memory superblock)?

7
  • What's your use case? What information do you specifically want to get from there? Sep 3, 2014 at 6:03
  • The VFS superblock structure depends on which kind of a filesystem it points at. There are some general things common to all filesystems, but most of things in superblocks are not shared between, for example VFAT and EXT2.
    – user48669
    Sep 3, 2014 at 6:12
  • @StéphaneChazelas I am trying to study how mount exactly works. During that I came across VFS superblock.
    – Suku
    Sep 3, 2014 at 6:14
  • Then you're looking for kernel debugging tools like systemtap or kgdb to dump internal structures of the kernel. You'd be better of asking on stackoverflow. Sep 3, 2014 at 7:03
  • dumpe2fs is probably not the command you want for that unless it is an ext[234] type filesystem. You probably want wipefs instead - it's a little more versatile.
    – mikeserv
    Sep 3, 2014 at 9:22

0

You must log in to answer this question.

Browse other questions tagged .