home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!mimsy!ra!tantalus!eric
- From: eric@tantalus.dell.com (Eric Youngdale)
- Newsgroups: comp.os.linux
- Subject: Re: Why GNU cp is flakey under Linux
- Message-ID: <3323@ra.nrl.navy.mil>
- Date: 12 Aug 92 23:36:29 GMT
- References: <1992Aug12.060338.24805@ennews.eas.asu.edu> <1992Aug12.063534.4178@muddcs.claremont.edu> <JRS.92Aug12190300@lepton.world.std.com>
- Sender: usenet@ra.nrl.navy.mil
- Organization: Naval Research Laboratory
- Lines: 15
-
- In article <JRS.92Aug12190300@lepton.world.std.com> jrs@world.std.com (Rick Sladkey) writes:
- >
- >So if your cp is creating holes ROUTINELY then:
- >
- >* fstat is broken and returns incorrect values for st_blocks, or
- >* you manually defined an incorrect value of DEV_BSIZE (i.e. too small)
-
- I noticed something else that may be relevant. The du command should
- always report blocks in 1K chunks or in 512 byte chunks, depending upon the
- command line switches. The way things work now, it effectively reports in 2048
- byte chunks, perhaps because the du assumes that the block size is 512 bytes.
-
- --
- Eric Youngdale
- eric@tantalus.nrl.navy.mil
-