Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: walker@avenir.cerl.uiuc.edu (Michael W. Walker)
Subject: Re: abnormal file size
Date: 1995/05/17	[thread overview]
Message-ID: <3pd8l6$7nd@vixen.cso.uiuc.edu> (raw)
In-Reply-To: 3pd6fa$d73@news.uni-c.dk

In article <3pd6fa$d73@news.uni-c.dk>, Marianne <franck@dtbsun> wrote:
>Hello Everybody,
>
>  I hope somebody can help me with this. I have a file which looks like
>it's 3.3GB on a 1GB disk. 'ls -l' give 3.3GB and whenever I try to copy,
>backup, ftp the file it really come out as 3.3GB. The file is really 7MB
>and 'du -k' give the right size. I've tried to fsck the disk without
>success.
>
I suspect it is a "sparse" file.  If you need to copy it, but don't want the
copy to occupy additional space, use the "dd" command with conv=sparse.  Eg:

dd if=original of=copy conv=sparse

if memory serves me right.  See dd in man pages if this doesn't work.



  reply	other threads:[~1995-05-17  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-05-17  4:00 abnormal file size Marianne
1995-05-17  4:00 ` Michael W. Walker [this message]
1995-05-17  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox