[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31184: tail -f on Network FS not refreshing as soon as the file is c
From: |
Pádraig Brady |
Subject: |
bug#31184: tail -f on Network FS not refreshing as soon as the file is changed. |
Date: |
Thu, 3 May 2018 18:47:21 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
On 02/05/18 06:39, Jewsco Pius Jacquez wrote:
> I tried and the --follow=name doesn't refresh either. The stat output is
> changing.
>
> address@hidden ~]$ tail --follow=name /media/samba/test.file
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:54 CDT 2018
> append Wed May 2 08:35:55 CDT 2018
> ^C
> address@hidden ~]$ tail --follow=name /media/samba/test.file
> append Wed May 2 08:36:01 CDT 2018
> append Wed May 2 08:36:01 CDT 2018
> append Wed May 2 08:36:01 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> append Wed May 2 08:36:02 CDT 2018
> ^C
> address@hidden ~]$ while :; do stat -c '%s' /media/samba/test.file; sleep 1;
> done
> 1649717
> 1650077
> 1650401
> 1650761
> 1651121
> 1651445
> 1651769
> 1652093
> 1652417
>
>
> About the reverting the patch, so I need to download the source and patch it?
>
> cd coreutils-8.29 &&
> wget 'https://github.com/coreutils/coreutils/commit/7fc7206.patch' -O- |
> patch -R -p1 &&
> make
You'd done that previously, for for completeness
yes you need to download the source first like:
wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz
tar -xf coreutils-8.29.tar.xz
thanks,
Pádraig
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Pádraig Brady, 2018/05/02
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Jewsco Pius Jacquez, 2018/05/02
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.,
Pádraig Brady <=
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Jewsco Pius Jacquez, 2018/05/04
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Pádraig Brady, 2018/05/05
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Jewsco Pius Jacquez, 2018/05/08
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Jewsco Pius Jacquez, 2018/05/22
- bug#31184: tail -f on Network FS not refreshing as soon as the file is changed., Pádraig Brady, 2018/05/23