Gentoo Archives: gentoo-dev

From: Peter Ruskin <Peter.Ruskin@×××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] coreutils patch for 'ls -l' of GB files
Date: Mon, 03 May 2004 20:52:08
Message-Id: 200405032152.26991.Peter.Ruskin@dsl.pipex.com
In Reply to: Re: [gentoo-dev] coreutils patch for 'ls -l' of GB files by Mike Frysinger
1 On Monday 03 May 2004 19:56, Mike Frysinger wrote:
2 > On Thursday 29 April 2004 08:32 am, Jason Cooper wrote:
3 > > ? Here is the output of my `ls -l` after creating 15 5k files w/
4 > > dd.
5 > >
6 > > This is with the unmodified version. It appears to be staying with
7 > > eight chars width. What version of coreutils are you using? I'm
8 > > using:
9 >
10 > 5.2.0
11 > and i just checked it and it seems that gig-sized files are shown
12 > correctly with 5.2.0
13 > root@vapier 0 / # ls -lh | tail
14 > drwxr-xr-x 2 root root 4.0K Feb 5 01:58 service
15 > drwxr-xr-x 8 root root 0 Apr 27 22:10 sys
16 > drwxrwxrwt 29 root root 12K May 3 14:56 tmp
17 > drwxr-xr-x 18 root root 4.0K May 2 15:50 usr
18 > drwxr-xr-x 19 root root 4.0K May 2 02:59 var
19 > -rw-r--r-- 2 root root 2.2M May 2 04:30 vmlinuz
20 > -rw-r--r-- 1 root root 1.3M Jul 2 2003 vmlinuz-2.4.21
21 > -rw-r--r-- 2 root root 2.2M May 2 04:30 vmlinuz-2.6
22 > -rw-r--r-- 1 root root 2.2M Apr 27 22:01 vmlinuz-2.6-work
23 > -rw-r--r-- 1 root root 2.1M Apr 5 17:04 vmlinuz-2.6.3
24 > root@vapier 0 / # ls -l | tail
25 > drwxr-xr-x 2 root root 4096 Feb 5 01:58 service
26 > drwxr-xr-x 8 root root 0 Apr 27 22:10 sys
27 > drwxrwxrwt 29 root root 12288 May 3 14:56 tmp
28 > drwxr-xr-x 18 root root 4096 May 2 15:50 usr
29 > drwxr-xr-x 19 root root 4096 May 2 02:59 var
30 > -rw-r--r-- 2 root root 2280614 May 2 04:30 vmlinuz
31 > -rw-r--r-- 1 root root 1264091 Jul 2 2003 vmlinuz-2.4.21
32 > -rw-r--r-- 2 root root 2280614 May 2 04:30 vmlinuz-2.6
33 > -rw-r--r-- 1 root root 2285561 Apr 27 22:01 vmlinuz-2.6-work
34 > -rw-r--r-- 1 root root 2139784 Apr 5 17:04 vmlinuz-2.6.3
35
36 Hmmm, that doesn't prove anything because your largest file is only
37 2.2M. However...
38
39 [21:45 root@peter /mnt/win/n/Pan/Men.In.Black/video_ts]
40 # ls -l
41 total 3877248
42 -rwxrwxrwx 1 root root 8192 Apr 27 13:24 video_ts.bup
43 -rwxrwxrwx 1 root root 8192 Apr 27 13:24 video_ts.ifo
44 -rwxrwxrwx 1 root root 12288 Apr 27 13:24 vts_01_0.bup
45 -rwxrwxrwx 1 root root 12288 Apr 27 13:24 vts_01_0.ifo
46 -rwxrwxrwx 1 root root 14145536 Apr 27 13:24 vts_01_1.vob
47 -rwxrwxrwx 1 root root 12288 Apr 27 13:24 vts_02_0.bup
48 -rwxrwxrwx 1 root root 12288 Apr 27 13:24 vts_02_0.ifo
49 -rwxrwxrwx 1 root root 7811072 Apr 27 13:24 vts_02_1.vob
50 -rwxrwxrwx 1 root root 63488 Apr 27 13:24 vts_03_0.bup
51 -rwxrwxrwx 1 root root 63488 Apr 27 13:24 vts_03_0.ifo
52 -rwxrwxrwx 1 root root 1073739776 Apr 27 13:39 vts_03_1.vob
53 -rwxrwxrwx 1 root root 1073739776 Apr 27 13:42 vts_03_2.vob
54 -rwxrwxrwx 1 root root 1073739776 Apr 27 13:46 vts_03_3.vob
55 -rwxrwxrwx 1 root root 726738944 Apr 27 13:52 vts_03_4.vob
56
57 ...so with coreutils-5.2.0-r1 ls does display correctly.
58
59 --
60 Peter
61 ========================================================================
62 Gentoo Linux: Portage 2.0.50-r6. kernel-2.6.5-gentoo-r1.
63 i686 AMD Athlon(tm) XP 3200+. gcc(GCC): 3.3.2.
64 KDE: 3.2.2. Qt: 3.3.2.
65 ========================================================================
66
67 --
68 gentoo-dev@g.o mailing list