[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45648: `dd` seek/skip which way is up?
From: |
Bernhard Voelker |
Subject: |
bug#45648: `dd` seek/skip which way is up? |
Date: |
Tue, 5 Jan 2021 04:28:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
On 1/5/21 3:06 AM, Paul Eggert wrote:
> On 1/4/21 3:07 PM, Bernhard Voelker wrote:
>> What 'dd' implementation was this specifically?
>
> Solaris dd has iseek and oseek. However, they are not aliases for skip
> and seek. If coreutils dd were to add these features I expect we should
> do them the Solaris way, instead of making them aliases for skip and
> seek. This would take more work than the proposed patches.
>
> https://docs.oracle.com/cd/E36784_01/html/E36871/dd-1m.html
That would make the situation even more confusing for the user
... and more complex because such implementation would interfere
with GNU dd's seek/skip and iflag=skip_bytes and oflag=skip_bytes
functionality. Doesn't sound like a good idea.
Have a nice day,
Berny