Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine - Missing Anything?

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 65 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

jfs_debugfs


       jfs_debugfs - shell-type JFS file system editor


SYNOPSIS

       jfs_debugfs device


DESCRIPTION

       jfs_debugfs is a program which can be used to perform var­
       ious low-level actions on a JFS formatted device.

       device is the  special  file  name  corresponding  to  the
       actual device to be edited (e.g. /dev/hdb1).

       jfs_debugfs must be run as root.


COMMANDS

       a[lter] <block> <offset> <hex_string>
               replaces  the  data  located  at  the  <offset> of
              <block> with <hex_string>

              <block> is the block number - given in decimal

              <offset> is the offset within that block - given in
              hexadecimal

              <hex_string> is an even-numbered string of hexadec­
              imal digits to write to the disk

       b[tree] <block> [<offset>]
              * not implemented yet *
               displays one node of the btree located at <offset>
              of <block> and enters a subcommand mode to navigate
              the btree

              SUBCOMMANDS:
               l => visit left sibling
               m => modify current node
               p => visit parent node
               r => visit right sibling
               [0-9] => visit the n'th child node
               x => exit subcommand mode

       cb[blfsck]
               displays the area used  by  ClearBadBlockList  for
              communication with fsck

              SUBCOMMANDS:
               m => modify entries
               x => exit subcommand mode

       d[isplay] [<block> [<offset> [<format> [<count>]]]]
              displays <count> objects located at the <offset> of
              <block> in <format>

              <block> is the block number - given in decimal

              <offset> is the offset within <block>  -  given  in
              hexadecimal

              <format> is one of the following:
               a => ascii
               b => block allocation map
               d => decimal
               i => inode
               I => inode allocation map
               s => superblock
               x => hexadecimal
               X => extent allocation descriptor

              <count> is the number of objects to display - given
              in decimal

       dm[ap]  displays aggregate disk (block) map

              SUBCOMMANDS
               m => modify map fields
               f => display free count
               t => display tree levels
               x => exit subcommand mode

       dt[ree] <inode_number> [<file_set>]
               displays root of the directory  btree  located  at
              <inode_number> and enters a subcommand mode to nav­
              igate the btree

              <inode_number> is the directory's inode - given  in
              decimal

              <file_set> currently must be zero

              SUBCOMMANDS
               l => visit left sibling
               m => modify current node
               p => visit parent node (not parent directory)
               r => visit right sibling
               [0-9] => visit the n'th child node
               x => exit subcommand mode

              displayed

       ia[g] [<IAG_number>] [a | s | <file_set>]
               displays  IAG  information  for  <IAG_number>  and
              enters subcommand mode

              <IAG_number> is given in decimal

              a is to use the primary aggregate inode table

              s is to use the secondary aggregate inode table

              <file_set> currently must be zero

              SUBCOMMANDS
               e => display/modify inode extents map
               m => modify IAG
               p => display/modify persistent map
               w => display/modify working map
               x => exit subcommand mode

       i[node] [<inode_number>] [a | s | <file_set>]
               displays inode information for <inode_number>  and
              enters subcommand mode

              <inode_number> is given in decimal

              a is to use the primary aggregate inode table

              s is to use the secondary aggregate inode table

              <file_set> currently must be zero

              SUBCOMMANDS
               a => display/modify inode's ACL
               m => modify inode
               x => exit subcommand mode

       logs[uper]
               displays  the  journal  log  superblock and enters
              subcommand mode

              SUBCOMMANDS
               m => modify journal log superblock
               x => exit subcommand mode

       q[uit]  exits jfs_debugfs


              s displays the secondary superblock

              SUBCOMMANDS:
               m => modify entries
               x => exit subcommand mode

       s2p[erblock] [p | s]
               displays alternate superblock data

              p displays the primary superblock

              s displays the secondary superblock

              SUBCOMMANDS:
               m => modify entries
               x => exit subcommand mode

       u[nset] <variable>
              * not implemented yet *
               deletes user-defined <variable>

       xt[ree] <inode_number> [<file_set>]
               displays  root  of the non-directory btree located
              at <inode_number> and enters a subcommand  mode  to
              navigate the btree

              <inode_number>  is the directory's inode - given in
              decimal

              <file_set> currently must be zero

              SUBCOMMANDS
               l => visit left sibling
               m => modify current node
               p => visit parent node (not parent directory)
               r => visit right sibling
               [0-9] => visit the n'th child node
               x => exit subcommand mode


REPORTING BUGS

       If you find a bug in JFS or jfs_debugfs, please report  it
       via the bug tracking system ("Report Bugs" section) of the
       JFS project web site:
       http://oss.software.ibm.com/jfs

       Please send as much  pertinent  information  as  possible,
       including the complete output of running jfs_fsck with the
       http://oss.software.ibm.com/jfs

                         October 29, 2002          jfs_debugfs(8)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
The Linux Tutorial can use your help.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds