Section: Maintenance Commands (8)
Updated: August 2014
The debugfs program is an interactive file system debugger. It can be used to examine and change the state of an ext2, ext3, or ext4 file system.
Many debugfs commands take a filespec as an argument to specify an inode (as opposed to a pathname) in the filesystem which is currently opened by debugfs. The filespec argument may be specified in two forms. The first form is an inode number surrounded by angle brackets, e.g., <2>. The second form is a pathname; if the pathname is prefixed by a forward slash ('/'), then it is interpreted relative to the root of the filesystem which is currently opened by debugfs. If not, the pathname is interpreted relative to the current working directory as maintained by debugfs. This may be modified by using the debugfs command cd.
This is a list of the commands which debugfs supports.
:zap_block [-f filespec] [-o offset] [-l length] [-p pattern] block_num
debugfs was written by Theodore Ts'o <email@example.com>.
Tutoriais de Tecnologia Web