bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Jim Meyering
Pádraig Brady wrote: On 12/22/2011 11:48 PM, Pádraig Brady wrote: On 12/22/2011 09:50 PM, Alan Curry wrote: Bob Proulx writes: Jim Meyering wrote: Are there so many new remote file systems coming into use now? That are not listed in /usr/include/linux/magic.h? The past can always be

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Pádraig Brady
On 12/23/2011 12:08 PM, Jim Meyering wrote: Pádraig Brady wrote: On 12/22/2011 11:48 PM, Pádraig Brady wrote: On 12/22/2011 09:50 PM, Alan Curry wrote: Bob Proulx writes: Jim Meyering wrote: Are there so many new remote file systems coming into use now? That are not listed in

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Jim Meyering
Pádraig Brady wrote: On 12/23/2011 12:08 PM, Jim Meyering wrote: Pádraig Brady wrote: On 12/22/2011 11:48 PM, Pádraig Brady wrote: On 12/22/2011 09:50 PM, Alan Curry wrote: Bob Proulx writes: Jim Meyering wrote: Are there so many new remote file systems coming into use now? That are not

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Pádraig Brady
On 12/23/2011 02:03 PM, Jim Meyering wrote: Pádraig Brady wrote: On 12/23/2011 12:08 PM, Jim Meyering wrote: Pádraig Brady wrote: On 12/22/2011 11:48 PM, Pádraig Brady wrote: On 12/22/2011 09:50 PM, Alan Curry wrote: Bob Proulx writes: Jim Meyering wrote: Are there so many new remote file

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Erik Auerswald
Hi Gilles, On 12/23/2011 02:45 PM, Gilles Espinasse wrote: I was using a way to check md5sum on a lot of file using for myfile in `cat ${ALLFILES}`; do if [ -f /${myfile} ]; then md5sum /$myfile $ALLFILES}.md5; fi; done But this is slow, comparing with xargs md5sum way. time (for myfile in

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Bob Proulx
severity 10355 wishlist tags 10355 + notabug wontfix moreinfo thanks Erik Auerswald wrote: Gilles Espinasse wrote: I was using a way to check md5sum on a lot of file using for myfile in `cat ${ALLFILES}`; do if [ -f /${myfile} ]; then md5sum /$myfile $ALLFILES}.md5; fi; done ... You could

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Pádraig Brady
On 12/23/2011 01:45 PM, Gilles Espinasse wrote: I was using a way to check md5sum on a lot of file using for myfile in `cat ${ALLFILES}`; do if [ -f /${myfile} ]; then md5sum /$myfile $ALLFILES}.md5; fi; done But this is slow, comparing with xargs md5sum way. time (for myfile in `cat

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Gilles Espinasse
- Original Message - From: Bob Proulx b...@proulx.com To: Gilles Espinasse g@free.fr; 10...@debbugs.gnu.org Sent: Friday, December 23, 2011 6:17 PM Subject: Re: bug#10355: Add an option to {md5,sha*} to ignore directories severity 10355 wishlist tags 10355 + notabug wontfix

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Jim Meyering
Pádraig Brady wrote: ... My original goal was to warn, for unknown file system types, that the type is unknown (suggesting to report it), and that tail -f is resorting to the use of polling. Oh right, warn about unknown. That would make sense. Here's a proposed patch: From

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Pádraig Brady
On 12/23/2011 06:11 PM, Jim Meyering wrote: Here's a proposed patch: Looks good, one nit. --- a/src/extract-magic +++ b/src/extract-magic @@ -65,10 +65,15 @@ FIXME: describe OPTIONS: - Derive #define directives from specially formatted `case ...:' statements. + There are two modes

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Jim Meyering
Pádraig Brady wrote: On 12/23/2011 06:11 PM, Jim Meyering wrote: Here's a proposed patch: Looks good, one nit. --- a/src/extract-magic +++ b/src/extract-magic @@ -65,10 +65,15 @@ FIXME: describe OPTIONS: - Derive #define directives from specially formatted `case ...:' statements. +

bug#10349: tail: fix --follow on FhGFS remote file systems

2011-12-23 Thread Sven Breuner
Jim Meyering wrote on 12/23/2011 07:11 PM: Pádraig Brady wrote: ... My original goal was to warn, for unknown file system types, that the type is unknown (suggesting to report it), and that tail -f is resorting to the use of polling. Oh right, warn about unknown. That would make sense.

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Alan Curry
Bob Proulx writes: severity 10355 wishlist tags 10355 + notabug wontfix moreinfo thanks Erik Auerswald wrote: Gilles Espinasse wrote: I was using a way to check md5sum on a lot of file using for myfile in `cat ${ALLFILES}`; do if [ -f /${myfile} ]; then md5sum /$myfile

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Bob Proulx
Alan Curry wrote: Do you suppose we can convince GNU grep's maintainer to follow this philosphy? Too late. GNU grep already has --recursive. I think adding --recursive to grep was a mistake. It then requires most of 'find' to be added to it too. (--include*, --exclude*) $ mkdir d $ touch