file size different from ls to du
From: Bogdan TARU (bgd_at_icomag.de)
Date: 07/29/03
- Previous message: Duncan Barclay: "Re: BCM4401 Support for FreeBSD"
- Next in thread: Drew Eckhardt: "Re: file size different from ls to du"
- Reply: Drew Eckhardt: "Re: file size different from ls to du"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jul 2003 17:19:07 +0200 (CEST) To: <freebsd-hackers@FreeBSD.ORG>
Hi everyone,
I have sort of a newbie question, but that I cannot explain myself. I get
some large files in 'ls -al', but when I 'measure' them with 'du', the
size is much small. Example:
(17:13) bgd@(bgd)[~/temp] ls -alsh my_file
19120 -rw-r--r-- 1 root bgd 763M Jul 29 16:56 my_file
(17:13) bgd@(bgd)[~/temp] du -sh my_file
19M my_file
So the 'ls -alsh' shows a file in size of 763M, but 19M of sectors are
really 'occupied'. Can someone explain, please?
Thanks,
bogdan
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Duncan Barclay: "Re: BCM4401 Support for FreeBSD"
- Next in thread: Drew Eckhardt: "Re: file size different from ls to du"
- Reply: Drew Eckhardt: "Re: file size different from ls to du"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|