mirror of
https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
synced 2024-12-01 05:53:56 +08:00
99 lines
2.1 KiB
Plaintext
99 lines
2.1 KiB
Plaintext
|
#
|
||
|
# Copyright (C) 1993 Theodore Ts'o. This file may be redistributed
|
||
|
# under the terms of the GNU Public License.
|
||
|
#
|
||
|
command_table debug_cmds;
|
||
|
|
||
|
request do_show_debugfs_params, "Show debugfs parameters",
|
||
|
show_debugfs_params, params;
|
||
|
|
||
|
request do_open_filesys, "Open a filesystem",
|
||
|
open_filesys, open;
|
||
|
|
||
|
request do_close_filesys, "Close a filesystem",
|
||
|
close_filesys, close;
|
||
|
|
||
|
request do_init_filesys, "Initalize a filesystem (DESTROYS DATA)",
|
||
|
init_filesys;
|
||
|
|
||
|
request do_show_super_stats, "Show superblock statistics",
|
||
|
show_super_stats, stats;
|
||
|
|
||
|
request do_ncheck, "Do inode->name translation",
|
||
|
ncheck;
|
||
|
|
||
|
request do_icheck, "Do block->inode translation",
|
||
|
icheck;
|
||
|
|
||
|
request do_chroot, "Change root directory",
|
||
|
change_root_directory, chroot;
|
||
|
|
||
|
request do_change_working_dir, "Change working directory",
|
||
|
change_working_directory, cd;
|
||
|
|
||
|
request do_list_dir, "List directory",
|
||
|
list_directory, ls;
|
||
|
|
||
|
request do_stat, "Show inode information ",
|
||
|
show_inode_info, stat;
|
||
|
|
||
|
request do_link, "Create directory link",
|
||
|
link, ln;
|
||
|
|
||
|
request do_unlink, "Delete a directory link",
|
||
|
unlink;
|
||
|
|
||
|
request do_mkdir, "Create a directory",
|
||
|
mkdir;
|
||
|
|
||
|
request do_rmdir, "Remove a directory",
|
||
|
rmdir;
|
||
|
|
||
|
request do_rm, "Remove a file (unlink and kill_file, if appropriate)",
|
||
|
rm;
|
||
|
|
||
|
request do_kill_file, "Deallocate an inode and its blocks",
|
||
|
kill_file;
|
||
|
|
||
|
request do_clri, "Clear an inode's contents",
|
||
|
clri;
|
||
|
|
||
|
request do_freei, "Clear an inode's in-use flag",
|
||
|
freei;
|
||
|
|
||
|
request do_seti, "Set an inode's in-use flag",
|
||
|
seti;
|
||
|
|
||
|
request do_testi, "Test an inode's in-use flag",
|
||
|
testi;
|
||
|
|
||
|
request do_freeb, "Clear a block's in-use flag",
|
||
|
freeb;
|
||
|
|
||
|
request do_setb, "Set a block's in-use flag",
|
||
|
setb;
|
||
|
|
||
|
request do_testb, "Test a block's in-use flag",
|
||
|
testb;
|
||
|
|
||
|
request do_modify_inode, "Modify an inode by structure",
|
||
|
modify_inode, mi;
|
||
|
|
||
|
request do_find_free_block, "Find free block(s)",
|
||
|
find_free_block, ffb;
|
||
|
|
||
|
request do_find_free_inode, "Find free inode(s)",
|
||
|
find_free_inode, ffi;
|
||
|
|
||
|
request do_print_working_directory, "Print current working directory",
|
||
|
print_working_directory, pwd;
|
||
|
|
||
|
request do_expand_dir, "Expand directory",
|
||
|
expand_dir, expand;
|
||
|
|
||
|
end;
|
||
|
|
||
|
|
||
|
|
||
|
|