Package: e2fsprogs
Version: 1.41.12-2
Severity: critical

--- Please enter the report below this line. ---

Hello,

I wanted very quickly to know number of used/free inodes in my root ext4 fs and tried "sudo fsck /dev/sda1", where /dev/sda1 was mounted root fs.
I expected result something like:
1) /dev/sda1: clean, 14884540/14884864 files [...]
2) or readonly check and statistics displayed when finished
3) or failure because the fs is mounted

Now I know this was bad idea (especially sudo) but that time I thought it is safe and if it will not work I find another solution - I was in a hurry and short thinking. I saw a big fat warning about severe filesystem damage if I will continue and so I opened fsck man page in other terminal and found desired -nf options. I switched back and press the up arrow key to make command corrections. I forgot I did not cancel the confirmation prompt, and the up key was interpreted as: Yes, continue and cause severe damage to my root fs :).

I admit this was caused by my stupidity, but interpreting the up key as positive answer to this very dangerous confirmation question is IMO serious bug.

This bug appears only with cs_CZ locale as in Czech language there is (a/n) instead of English (y/n). The up arrow key is interpreted as 'a' answer for unknown reason. Maybe is it interpreted as a 'A' because the up key produces ^[[A sequence if I press ctrl+V <up arrow key>?

Sorry if you feel critical severity is too high for this bug, I just follow reportbug-ng hints about bug severities (this bug may cause severe data damage).

Cheers, Petr

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.32-5-686

Debian Release: 6.0.1
  990 stable          ftp.cz.debian.org
  500 squeeze-updates ftp.cz.debian.org
  500 proposed-updates ftp.cz.debian.org

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Suggests           (Version) | Installed
============================-+-===========
gpart                        |
parted                       |
e2fsck-static                |





--
S pozdravem,
Petr Gajdůšek



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to