tags 29259 fixed
close 29259
stop
(triaging old bugs)
Pushed here:
tail: seek to the end of block devices
https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=31dd7a0de272affa1120ba1fbc7db3445c548aa5
so closing as "fixed".
-assaf
On Mon, Nov 13, 2017 at 12:03 AM, Pádraig Brady wrote:
> On 12/11/17 22:21, Pádraig Brady wrote:
>> 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 complex
On 12/11/17 22:21, Pádraig Brady wrote:
> 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:
Full patch attached with tests.
cheers,
Pádraig
>From 6
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
@@ -184
Why doesn't lseek work for this?
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 -
> https://superuser.com/questions/1267402/how-do-i-tail-a-block-device-in-l
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 -
https://superuser.com/questions/1267402/how-do-i-tail-a-block-device-in-linux
- of how ioctl can be used to obtain the s