ro_debug_cmds.ct revision e88c5a33a841026728fa7c9fcc4bcdca6580b495
1# 2# Restricted set of debugfs commands 3# 4# Copyright (C) 1993 Theodore Ts'o. This file may be redistributed 5# under the terms of the GNU Public License. 6# 7command_table debug_cmds; 8 9request do_show_debugfs_params, "Show debugfs parameters", 10 show_debugfs_params, params; 11 12request do_open_filesys, "Open a filesystem", 13 open_filesys, open; 14 15request do_close_filesys, "Close the filesystem", 16 close_filesys, close; 17 18request do_show_super_stats, "Show superblock statistics", 19 show_super_stats, stats; 20 21request do_ncheck, "Do inode->name translation", 22 ncheck; 23 24request do_icheck, "Do block->inode translation", 25 icheck; 26 27request do_chroot, "Change root directory", 28 change_root_directory, chroot; 29 30request do_change_working_dir, "Change working directory", 31 change_working_directory, cd; 32 33request do_list_dir, "List directory", 34 list_directory, ls; 35 36request do_stat, "Show inode information ", 37 show_inode_info, stat; 38 39request do_dump_extents, "Dump extents information ", 40 dump_extents, extents, ex; 41 42request do_blocks, "Dump blocks used by an inode ", 43 blocks; 44 45request do_testi, "Test an inode's in-use flag", 46 testi; 47 48request do_find_free_block, "Find free block(s)", 49 find_free_block, ffb; 50 51request do_find_free_inode, "Find free inode(s)", 52 find_free_inode, ffi; 53 54request do_print_working_directory, "Print current working directory", 55 print_working_directory, pwd; 56 57request do_lsdel, "List deleted inodes", 58 list_deleted_inodes, lsdel; 59 60request do_logdump, "Dump the contents of the journal", 61 logdump; 62 63request do_htree_dump, "Dump a hash-indexed directory", 64 htree_dump, htree; 65 66request do_dx_hash, "Calculate the directory hash of a filename", 67 dx_hash, hash; 68 69request do_dirsearch, "Search a directory for a particular filename", 70 dirsearch; 71 72request do_bmap, "Calculate the logical->physical block mapping for an inode", 73 bmap; 74 75request do_imap, "Calculate the location of an inode", 76 imap; 77 78request do_supported_features, "Print features supported by this version of e2fsprogs", 79 supported_features; 80 81request do_dump_mmp, "Dump MMP information", 82 dump_mmp; 83 84end; 85 86