GNU bug report logs - #29012
od: add skip option

Previous Next

Package: coreutils;

Reported by: Christian Kögler <ck3d <at> gmx.de>

Date: Thu, 26 Oct 2017 15:27:01 UTC

Severity: wishlist

Tags: wontfix

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29012 in the body.
You can then email your comments to 29012 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#29012; Package coreutils. (Thu, 26 Oct 2017 15:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christian Kögler <ck3d <at> gmx.de>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 26 Oct 2017 15:27:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christian Kögler <ck3d <at> gmx.de>
To: bug-coreutils <at> gnu.org
Subject: od: busy skip on block devices
Date: Thu, 26 Oct 2017 17:13:33 +0200
If od is used on block devices together with skip, od reads the skipped bytes instead of seeking it.

Cheers
Christian




Information forwarded to bug-coreutils <at> gnu.org:
bug#29012; Package coreutils. (Fri, 27 Oct 2017 05:26:02 GMT) Full text and rfc822 format available.

Message #8 received at 29012 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Christian Kögler <ck3d <at> gmx.de>, 29012 <at> debbugs.gnu.org
Subject: Re: bug#29012: od: busy skip on block devices
Date: Thu, 26 Oct 2017 22:25:25 -0700
On 26/10/17 08:13, Christian Kögler wrote:
> If od is used on block devices together with skip, od reads the skipped bytes instead of seeking it.

Yes it has done that from the initial version.
Note od concatenates multiple files, and skips across
all of them, so consequently restricts itself to
seeking where it knows the file length (regular files).

I suppose we could try to seek if a single argument was specified.

As an alternative you could skip with dd and pipe to od?

cheers,
Pádraig.




Information forwarded to bug-coreutils <at> gnu.org:
bug#29012; Package coreutils. (Sat, 28 Oct 2017 06:13:01 GMT) Full text and rfc822 format available.

Message #11 received at 29012 <at> debbugs.gnu.org (full text, mbox):

From: Christian Kögler <ck3d <at> gmx.de>
To: Pádraig Brady <P <at> draigBrady.com>,29012 <at> debbugs.gnu.org
Subject: Re: bug#29012: od: busy skip on block devices
Date: Sat, 28 Oct 2017 07:59:37 +0200

Am 27. Oktober 2017 07:25:25 MESZ schrieb "Pádraig Brady" <P <at> draigBrady.com>:
>On 26/10/17 08:13, Christian Kögler wrote:
>> If od is used on block devices together with skip, od reads the
>skipped bytes instead of seeking it.
>
>Yes it has done that from the initial version.
>Note od concatenates multiple files, and skips across
>all of them, so consequently restricts itself to
>seeking where it knows the file length (regular files).
>
>I suppose we could try to seek if a single argument was specified.
>
>As an alternative you could skip with dd and pipe to od?
I loose the absolute address offset, but in our case a way to go.
Thanks for helping so quickly!

Cheers
Christian




Information forwarded to bug-coreutils <at> gnu.org:
bug#29012; Package coreutils. (Tue, 30 Oct 2018 01:46:02 GMT) Full text and rfc822 format available.

Message #14 received at 29012 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: 29012 <at> debbugs.gnu.org
Subject: Re: bug#29012: od: busy skip on block devices
Date: Mon, 29 Oct 2018 19:44:53 -0600
severity 29012 wishlist
retitle 29012 od: add skip option
tags 29012 wontfix
close 29012
stop

(triaging old bugs)

On 2017-10-27 11:59 p.m., Christian Kögler wrote:
> 
> Am 27. Oktober 2017 07:25:25 MESZ schrieb "Pádraig Brady" <P <at> draigBrady.com>:
>> On 26/10/17 08:13, Christian Kögler wrote:
>>> If od is used on block devices together with skip, od reads the
>> skipped bytes instead of seeking it.
>>
>> Yes it has done that from the initial version.
>> Note od concatenates multiple files, and skips across
>> all of them, so consequently restricts itself to
>> seeking where it knows the file length (regular files).
>>
>> I suppose we could try to seek if a single argument was specified.
>>
>> As an alternative you could skip with dd and pipe to od?

> I loose the absolute address offset, but in our case a way to go.
> Thanks for helping so quickly!

Given the above, I'm closing this item.
Discussion can continue by replying to this thread.

-assaf





Severity set to 'wishlist' from 'normal' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:46:03 GMT) Full text and rfc822 format available.

Changed bug title to 'od: add skip option' from 'od: busy skip on block devices' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:46:03 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:46:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 29012 <at> debbugs.gnu.org and Christian Kögler <ck3d <at> gmx.de> Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 30 Oct 2018 01:46:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 27 Nov 2018 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.