|
From: | Bauke Jan Douma |
Subject: | Re: du reports different results for "." |
Date: | Wed, 20 Feb 2008 22:53:24 +0100 |
User-agent: | Thunderbird 2.0.0.9 (X11/20071031) |
Mike Frysinger wrote on 20-02-08 21:56:
On Wednesday 20 February 2008, Richard Ems wrote:If I do a "du -s * ." and right afterwards "du -s ." I get different values for the actual directory ".".the * globa does not match the . directory. it matches all the files as expanded by the shell (which does not include the . directory nor any file that starts with a .)-mike
This can hardly be the answer, can it? This is with * . and . * respectively: /usr/src/linux > du -s * . 20 COPYING 92 CREDITS 10892 Documentation 4 Kbuild 92 MAINTAINERS 52 Makefile 292 Module.symvers 20 README 4 REPORTING-BUGS 984 System.map 75136 arch 844 block 4484 crypto 169076 drivers 53780 fs 43948 include 424 init 428 ipc 5412 kernel 2588 lib 0 make.res 3124 make.res.3621 4 make.res.4036 2584 mm 39624 net 2672 scripts 1160 security 23508 sound 3692 usr 5404 vmlinux 6500 vmlinux.o 471956 . <-- /usr/src/linux > du -s . * 474044 . <-- 20 COPYING 92 CREDITS 10892 Documentation 4 Kbuild 92 MAINTAINERS 52 Makefile 292 Module.symvers 20 README 4 REPORTING-BUGS 984 System.map 73048 arch <-- ? 844 block 4484 crypto 169076 drivers 53780 fs 43948 include 424 init 428 ipc 5412 kernel 2588 lib 0 make.res 3124 make.res.3621 4 make.res.4036 2584 mm 39624 net 2672 scripts 1160 security 23508 sound 3692 usr 5404 vmlinux 6500 vmlinux.o /usr/src/linux > du -s arch 75136 arch
[Prev in Thread] | Current Thread | [Next in Thread] |