bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: David Durham
Subject: bug#29259: tail does not seek to the end of block device
Date: Sat, 11 Nov 2017 15:08:22 -0500

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 size of a block device instead of
fstat.

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]