bug-findutils
[Top][All Lists]
Advanced

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

[bug #45780] inode column is badly aligned when running 'find <dir> -ls'


From: Hans Deragon
Subject: [bug #45780] inode column is badly aligned when running 'find <dir> -ls'
Date: Thu, 20 Aug 2015 20:32:04 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.130 Safari/537.36

Follow-up Comment #2, bug #45780 (project findutils):

I tested it under Ubuntu 14.04 LTS.  I have no clue if it is pure GNU find or
not.  However, you are right about the mangled output of my example.  Still, 6
characters is not enough; it should be increased.  In /var, I have a lot of
inodes using 7 characters (at least half).  In another of my filesystems, they
are all 7 characters long.  What about you?  Does it often goes over 6
characters?  Maybe its time to increase the default from 6 to 8?

And under Cygwin (Windows), it is worse.  16 characters are needed minimum. 
So if there is a conditional compilation flag and cygwin is detected, I would
increase it to 16 characters.

$ find --version
find (GNU findutils) 4.4.2
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
Built using GNU gnulib version e5573b1bad88bfabcda181b9e0125fb0c52b7d3b
Features enabled: D_TYPE O_NOFOLLOW(enabled) LEAF_OPTIMISATION FTS()
CBO(level=0)

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45780>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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