Re: bug#6554: [PATCH] split: Additional suffix for split (bug#6554)

2012-02-06 Thread Jérémy Compostella
Pádraig, all, I took into account general comments on my commits. I attached the improved patch for feature. Improvements are: - Add by file description, - I put back accents on my name (Jérémy instead of Jeremy), - I referenced from who this feature was requested. Cheers, Jérémy --- From

ls -l: Avoid unnecessary getxattr() overhead

2012-02-06 Thread Sven Breuner
Hi, when strace'ing ls -l on Linux, I see that it runs three syscalls for every file in the directory, e.g.: $ strace ls -l ... lstat(test, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 lgetxattr(test, security.selinux, 0x62d130, 255) = -1 ENODATA (No data available) getxattr(test,

Re: bug#9085: 'split' feature request: an option to uses e.g. '.001' as first suffix.

2012-02-06 Thread Jérémy Compostella
Pádraig, all, I took into account general comments on my commits. I attached the improved patch for feature. Improvements are: - Add by file description, - I put back accents on my name (Jérémy instead of Jeremy), - I referenced from who this feature was requested. I added a new dedicated tests

Re: dd: add 'skip_bytes' and 'count_bytes' operands

2012-02-06 Thread Jérémy Compostella
Pádraig, all, I took into account general comments on my commits. I attached the improved patch for feature. Improvements are: - Add by file description, - I put back accents on my name (Jérémy instead of Jeremy), Cheers, Jérémy --- From 53c65c4bc125217b935c824c193449e592011a74 Mon Sep 17

bug#10735: chmod +x file

2012-02-06 Thread francky . leyn
Hello, I perform the following: ubuntu@ubuntu-VirtualBox:~/.gvfs/account on stockholm/Documents/03 professional/structured_documentation$ ls -l doc/filters_for_this_document -rwx-- 1 ubuntu ubuntu 98 2012-02-06 14:47 doc/filters_for_this_document

bug#10735: chmod +x file

2012-02-06 Thread Pádraig Brady
tags 10735 notabug On 02/06/2012 02:23 PM, francky.l...@telenet.be wrote: Hello, I perform the following: ubuntu@ubuntu-VirtualBox:~/.gvfs/account on stockholm/Documents/03 professional/structured_documentation$ ls -l doc/filters_for_this_document -rwx-- 1 ubuntu ubuntu 98

bug#10686: mv: moving hardlink of a softlink to the softlink does nothing

2012-02-06 Thread Bernhard Voelker
On 02/04/2012 04:49 PM, Jim Meyering wrote: The above wasn't quite right in that it failed to honor mv's --backup option. mv --backup s f would not have created the required backup file. I've adjusted it to fix that, and added tests to cover both cases. This is still not quite ready (i.e.,

Re: dd: add 'skip_bytes' and 'count_bytes' operands

2012-02-06 Thread Pádraig Brady
On 02/06/2012 02:01 PM, Jérémy Compostella wrote: Pádraig, all, I took into account general comments on my commits. I attached the improved patch for feature. Improvements are: - Add by file description, - I put back accents on my name (Jérémy instead of Jeremy), Great thanks. Hmm,

Re: ls -l: Avoid unnecessary getxattr() overhead

2012-02-06 Thread Jérémy Compostella
Sven, As I'm stuck home today (unusual snow at Bordeaux, France), I made some tests: 1. time ls -l /dev/null /dev/null (with a 10 thousands files in current directory over NFS) a) With coreutils 8.5-1 real0m4.242s user0m0.132s sys 0m0.504s b) With coreutils devel 8.15

Re: dd: add 'skip_bytes' and 'count_bytes' operands

2012-02-06 Thread Jérémy Compostella
Hmm, shouldn't there be a seek_bytes param too for consistency? That was effectively my first mail question. As you talk about it in your explanation addition in coreutils.texi I guess I should start implementing it ? I'd change the NEWS to something simpler like: ** New features dd now

Re: dd: add 'skip_bytes' and 'count_bytes' operands

2012-02-06 Thread Pádraig Brady
On 02/06/2012 03:24 PM, Jérémy Compostella wrote: Hmm, shouldn't there be a seek_bytes param too for consistency? That was effectively my first mail question. As you talk about it in your explanation addition in coreutils.texi I guess I should start implementing it ? I think so. Note it

Re: ls -l: Avoid unnecessary getxattr() overhead

2012-02-06 Thread Sven Breuner
Hi Jérémy, thanks for running the tests. Jérémy Compostella wrote on 02/06/2012 04:09 PM: As I'm stuck home today (unusual snow at Bordeaux, France), I made some tests: Hm, Bordeaux - You're not working at the University, are you? Then you would even have access to a fhgfs file system to

bug#10735: chmod +x

2012-02-06 Thread Bob Proulx
Francky Leyn wrote: Dear Bob, thanks for your intervention. The problem is a lot clearer to me right now. It is indead a Virtual Box on top of Windows 7 with an NTFS system and the Linux virtual box is Ubuntu 11.04. NTFS doesn't have any concept of the same file modes as a Unix-like

bug#10735: chmod +x

2012-02-06 Thread Bob Proulx
francky.l...@telenet.be wrote: some more questions. I abstract a file system as something where each dir/file has a header where all properties reside. Yes. This information is stored in the Inode. You can read about it here. http://en.wikipedia.org/wiki/Inode There doesn't exist a

Re: ls -l: Avoid unnecessary getxattr() overhead

2012-02-06 Thread Sven Breuner
Jérémy Compostella wrote on 02/06/2012 08:00 PM: Anyway, you should maybe provide a strace -c output in both cases in order to know how much would be the speed improvement. on a directory with 61441 files: $ strace -c ls -l /dev/null % time seconds usecs/call callserrors syscall

Re: ls -l: Avoid unnecessary getxattr() overhead

2012-02-06 Thread Sven Breuner
Pádraig Brady wrote on 02/06/2012 09:06 PM: This seems to have some related info. https://bugzilla.redhat.com/show_bug.cgi?id=662011 We might be able to cache something. We'll investigate. Thanks, Pádraig. I assume that bugzilla report is only related on a very abstract level: The reporter of

[PATCH] test: expose recent gnulib canonicalize bug

2012-02-06 Thread Eric Blake
https://lists.gnu.org/archive/html/bug-gnulib/2012-02/msg00038.html detailed a couple of bugs in gnulib's canonicalize that were visible through coreutils' readlink, but only on systems where // is distinct from /. This particular test assumes that POSIX will be fixed to require canonicalization

Adding humanize_number to coreutiles?

2012-02-06 Thread Peng Yu
Hi, Several commands in coreutils have the -h option. I'm wondering whether anybody in the develop team also thinks that it is worthwhile to export it as a standalone command. If so, I'd recommend add such convenient command in coreutiles. As I don't find it anywhere else as a stand alone