set_inode_field, since it is more intuitive.
+2005-01-07 Theodore Ts'o <tytso@mit.edu>
+
+ * debug_cmds.ct: Make the official name of set_inode be
+ set_inode_field, since it is more intuitive.
+
+ * set_fields.c (print_possible_fields): Document bmap[] in
+ "set_inode_field -l" listing. Change name of set_inode to
+ set_inode_field in usage message.
+
2004-12-23 Theodore Ts'o <tytso@mit.edu>
* set_fields.c: Add support for array indexes, which we use for
set_super_value, ssv;
request do_set_inode, "Set inode field",
- set_inode, si;
+ set_inode_field, sif;
request do_logdump, "Dump the contents of the journal",
logdump;
.I filespec
as in use in the inode bitmap.
.TP
-.I set_inode filespec field value
+.I set_inode_field filespec field value
Modify the inode specified by
.I filespec
so that the inode field
.I value.
The list of valid inode fields which can be set via this command
can be displayed by using the command:
-.B set_inode -l
+.B set_inode_field -l
.TP
.I set_super_value field value
Set the superblock field
type = "hash algorithm";
else if (ss->func == parse_time)
type = "date/time";
+ else if (ss->func == parse_bmap)
+ type = "set physical->logical block map";
strcpy(name, ss->name);
if (ss->flags & FLAG_ARRAY) {
if (ss->max_idx > 0)
void do_set_inode(int argc, char *argv[])
{
const char *usage = "<inode> <field> <value>\n"
- "\t\"set_inode -l\" will list the names of "
+ "\t\"set_inode_field -l\" will list the names of "
"the fields in an ext2 inode\n\twhich can be set.";
static struct field_set_info *ss;