blob: f21e3cea3df88a53fe26f42b1f40f3a25fbb000d [file] [log] [blame]
Theodore Ts'oc461e161999-01-12 23:40:01 +00001User request:
2
3BTW: Could you please add some sort of deleted and possibly corrupted file
4 and inode list to e2fsck report. There should be filenames deleted
5 from directory inodes, files with duplicate blocks e.t.c.
6 It's pretty annoying to filter this information from e2fsck output
Theodore Ts'oe2e69ba1999-06-18 01:13:31 +00007 by hand :-
8
9------------------------------------------
10
11Add a "answer Yes always to this class of question" response.
12
13----------------------------------
14
15ext2fs_flush() should return a different error message for primary
16versus backup superblock flushing, so that mke2fs can print an
17appropriate error message.
18
Theodore Ts'oe2e69ba1999-06-18 01:13:31 +000019---------------------------------
Theodore Ts'oe2e69ba1999-06-18 01:13:31 +000020Date: Mon, 08 Mar 1999 21:46:14 +0100
21From: Sergio Polini <s.polini@mclink.it>
22
23
24I'm reading the sorce code of e2fsck 1.14.
25In pass2.c, lines 352-357, I read:
26
27if ((dirent->name_len & 0xFF) > EXT2_NAME_LEN) {
28 if (fix_problem(ctx, PR_2_FILENAME_LONG, &cd->pctx)) {
29 dirent->name_len = EXT2_NAME_LEN;
30 dir_modified++;
31 }
32}
33
34I think that I'll never see any messages about too long filenames,
35because "whatever & 0xFF" can never be "> 0xFF".
36Am I wrong?
37--------------------------------------
38
Theodore Ts'oe2a99be1999-07-19 15:48:08 +000039Add chmod command to debugfs.
Theodore Ts'oe2e69ba1999-06-18 01:13:31 +000040
Theodore Ts'o8a31ffe1999-10-23 03:33:15 +000041------------------------------------------
42
43fix up get_backup_sb, so that it doesn't choose something bogus if
44fs->super->.... is ridiculous
45
Theodore Ts'o24ded091999-11-10 15:56:16 +000046----------------------------------
47
48Maybe a bug in debugfs v.1.14:
49if a file has more than one hardlink, only the first filename is shown when
50using command
51 ncheck <inode>
52
53------------------------------------
Theodore Ts'ofdbba5c2000-02-08 23:16:51 +000054
55Add a filesystem creation date to the superblock
56
57-----------------------------------
58Date: Tue, 18 Jan 2000 17:54:53 -0800 (PST)
59From: Alan Blanchard <alan@abraxas.to>
60To: tytso@MIT.EDU
61Subject: DEBUGFS - thanks and a feature idea
62Content-Type: TEXT/PLAIN; charset=US-ASCII
63
64Theodore:
65
66First, let me thank you for writing debugfs. Recently, my Linux box
67(RH 6.0, 400 MHz PIII, on a DSL line) was hacked into. The intruder did
68an "rm -Rf" on a 34 GB drive with about 5GB of data on it. I was able to
69restore essentially the entire thing with debugfs and a bit of C code and Perl.
70Actually, I could have done the entire thing with debugfs and Perl, but I
71thought it would be too slow.
72
73During this exercise, I noticed that one small feature was lacking that would
74have made my job a bit easier. The length of a deleted directory is
75reported as 0, hence debugfs won't dump the contents of the directory to a
76file using the "dump" command. The only thing that saved me was that the
77list of disk blocks is not zeroed out. I was able to dump the contents of the
78directories by using debugfs to get the relevant block numbers, then
79using dd to get the actual data.
80
81If debugfs had a feature where it ignored the size of a directory reported by
82the inode and instead just dumped all the blocks, it would have facilited
83things a bit. This seems like a very easy feature to add.
84
85Again, thanks for writing debugfs (and all the other Linux stuff you've written!).
86
87Cheers,
88Alan Blanchard
89alan@abraxas.to
90
91
92-------------------------------------------------------------------
93
94Date: Fri, 21 Jan 2000 14:07:12 -0800
95From: "H. Peter Anvin" <hpa@www.transmeta.com>
96Subject: mkfs -cc and fsck -c
97
98a) An option to mkfs to run badblocks in read/write mode. The
99filesystem is blank, so this is the perfect time to run the read/write
100test.
101
102b) An option to mkfs to zero the partition. Yes, it can be done with
103dd, but it would be a nicer way of doing it.
104