]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - debugfs/debug_cmds.ct
Many files:
[thirdparty/e2fsprogs.git] / debugfs / debug_cmds.ct
CommitLineData
3839e657
TT
1#
2# Copyright (C) 1993 Theodore Ts'o. This file may be redistributed
3# under the terms of the GNU Public License.
4#
5command_table debug_cmds;
6
7request do_show_debugfs_params, "Show debugfs parameters",
8 show_debugfs_params, params;
9
10request do_open_filesys, "Open a filesystem",
11 open_filesys, open;
12
21c84b71 13request do_close_filesys, "Close the filesystem",
3839e657
TT
14 close_filesys, close;
15
21c84b71
TT
16request do_dirty_filesys, "Mark the filesystem as dirty",
17 dirty_filesys, dirty;
18
3839e657
TT
19request do_init_filesys, "Initalize a filesystem (DESTROYS DATA)",
20 init_filesys;
21
22request do_show_super_stats, "Show superblock statistics",
23 show_super_stats, stats;
24
25request do_ncheck, "Do inode->name translation",
26 ncheck;
27
28request do_icheck, "Do block->inode translation",
29 icheck;
30
31request do_chroot, "Change root directory",
32 change_root_directory, chroot;
33
34request do_change_working_dir, "Change working directory",
35 change_working_directory, cd;
36
37request do_list_dir, "List directory",
38 list_directory, ls;
39
40request do_stat, "Show inode information ",
41 show_inode_info, stat;
42
43request do_link, "Create directory link",
44 link, ln;
45
46request do_unlink, "Delete a directory link",
47 unlink;
48
49request do_mkdir, "Create a directory",
50 mkdir;
51
52request do_rmdir, "Remove a directory",
53 rmdir;
54
55request do_rm, "Remove a file (unlink and kill_file, if appropriate)",
56 rm;
57
58request do_kill_file, "Deallocate an inode and its blocks",
59 kill_file;
60
61request do_clri, "Clear an inode's contents",
62 clri;
63
64request do_freei, "Clear an inode's in-use flag",
65 freei;
66
67request do_seti, "Set an inode's in-use flag",
68 seti;
69
70request do_testi, "Test an inode's in-use flag",
71 testi;
72
73request do_freeb, "Clear a block's in-use flag",
74 freeb;
75
76request do_setb, "Set a block's in-use flag",
77 setb;
78
79request do_testb, "Test a block's in-use flag",
80 testb;
81
82request do_modify_inode, "Modify an inode by structure",
83 modify_inode, mi;
84
85request do_find_free_block, "Find free block(s)",
86 find_free_block, ffb;
87
88request do_find_free_inode, "Find free inode(s)",
89 find_free_inode, ffi;
90
91request do_print_working_directory, "Print current working directory",
92 print_working_directory, pwd;
93
94request do_expand_dir, "Expand directory",
95 expand_dir, expand;
96
50e1e10f
TT
97request do_mknod, "Create a special file",
98 mknod;
99
6f4a1097
TT
100request do_lsdel, "List deleted inodes",
101 list_deleted_inodes, lsdel;
102
50e1e10f
TT
103request do_write, "Copy a file from your native filesystem",
104 write;
105
6f4a1097
TT
106request do_dump, "Dump an inode out to a file",
107 dump_inode, dump;
108
109request do_cat, "Dump an inode out to stdout",
110 cat;
111
3839e657
TT
112end;
113
114
115
116