GNU bug report logs -
#34367
GNU sed v. 4.5 – Are printed the very rows aimed not to be printed.
Previous Next
Reported by: Ricky Tigg <ricky.tigg <at> gmail.com>
Date: Thu, 7 Feb 2019 11:08:02 UTC
Severity: normal
Tags: notabug
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi. Command executed focusing on an USB device's whole block:
# fsck /dev/sdc | sed '1,2d'
e2fsck 1.44.3 (10-July-2018)
e2fsck: need terminal for interactive repairs:
Are printed the very rows aimed not to be printed; then *Sed* behaved
according to command sed '1,2!d'.
For comparison (*whole* output is here mentioned) :
# fsck /dev/sdc
fsck from util-linux 2.32.1
e2fsck 1.44.3 (10-July-2018)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Unexpectedly there is no mention of the output resulting from the first
command. Regards.
[Message part 2 (text/html, inline)]
This bug report was last modified 6 years and 99 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.