commit | 08fd3f36c3a53eed446ef98f1e4426d05032b396 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Thu Dec 23 14:11:34 2004 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Dec 23 14:11:34 2004 -0500 |
tree | 91aeaeb608a00c0485967e14e9ef8a8d08198ed9 | |
parent | 1d667534e93e78eedbf2efcef6d7844041675f26 [diff] |
Add support in debugfs's set_field command to specify array specifiers for fields to be set. For example, to set i_block[2] for the resize inode to be 42, simply issue the debugfs command: set_inode <7> block[2] 42 Also added is the virtual field "bmap", which also takes an array index. So to set the physical block mapping for logical block 1282 in the file /test/inode to be 57, use the debugfs command: set_inode /test/inode bmap[1282] 57