bug#29259: tail does not seek to the end of block device

2017-11-12 Thread Pádraig Brady
On 12/11/17 21:52, Paul Eggert wrote: > Why doesn't lseek work for this? Good call, it probably would. Something like the following is more acceptable since it adds very little complexity: diff --git a/src/tail.c b/src/tail.c index 1c7418d..a10470b 100644 --- a/src/tail.c +++ b/src/tail.c @@

bug#29259: tail does not seek to the end of block device

2017-11-12 Thread Paul Eggert
Why doesn't lseek work for this?

bug#29259: tail does not seek to the end of block device

2017-11-12 Thread Pádraig Brady
On 11/11/17 12:08, David Durham wrote: > sudo tail -c 1024 /dev/sda2 | hd the entire /dev/sda2 device rather than > seeking to the end. This takes a very long time with large disks. Deltik > gives a nice explanation here - >