🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4569

Re: du How does du work?

#4569
From: Giao Nguyen
Date: Tue, 12 Nov 1996 00:00
28 lines
1818 bytes
In comp.unix.programmer Oka Setiawan <oka@eesun1.tamu.edu> wrote:
: In article <55u79a$n5o@gap.cco.caltech.edu>,
: lbliao <lbliao@alumnae.caltech.edu> wrote:
: >How does du work? How does it descend down the filesystem and get the name
: >of each file? Is there a command that can recursively descend the file system
: >and give the name of the file to do something to? The other option of piping
: >or storing may be RAM or harddisk intensive.
: ---
: I have another intriguing fact/question about du.
: Why in one of my machine, du will show twice the disk usage than it should?
: In another machine (different file server and everything) du works fine.
: both running solaris. 
: That really freak me out.

It depends on whether you're du-ing by blocks (which are 512 bytes) or
by kilobytes which are 1024 bytes.


: Oka Setiawan
: oka@tamu.edu
: http://ee.tamu.edu/~oka


-- 
Giao Nguyen
Computer Science Student
Will program for food
Technical Details
Message-ID: <5691u0$f1k@solaris.cc.vt.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <55u79a$n5o@gap.cco.caltech.edu> <567lav$sl5@news.tamu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f72b0,8c44339d2a70be4e
X-Google-Attributes: gidf72b0,public
X-Google-Thread: fc89c,8c44339d2a70be4e
X-Google-Attributes: gidfc89c,public
X-Google-Thread: f8c9b,8c44339d2a70be4e
X-Google-Attributes: gidf8c9b,public
X-Google-Thread: 1012a6,8c44339d2a70be4e
X-Google-Attributes: gid1012a6,public
X-Google-Thread: 1025b4,8c44339d2a70be4e
X-Google-Attributes: gid1025b4,public
From: Giao Nguyen <grail@cray-ymp.acm.stuorg.vt.edu>
Subject: Re: du How does du work?
Date: 1996/11/12
Message-ID: <5691u0$f1k@solaris.cc.vt.edu>
X-Deja-AN: 195916565
references: <55u79a$n5o@gap.cco.caltech.edu> <567lav$sl5@news.tamu.edu>
organization: ACM Student Machine
newsgroups: comp.unix.shell,comp.unix.programmer,comp.unix.questions,comp.unix.misc,gnu.misc.discuss
nntp-posting-user: grail