Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 1999 11:01:11 +0100
From:      Jan Pechanec <pechy@hp735.cvut.cz>
To:        FreeBSD FS Mailing List <freebsd-fs@FreeBSD.ORG>
Subject:   Copying file with not allocated blocks on disk
Message-ID:  <Pine.SGI.4.05.9911161009250.2853-100000@akat.civ.cvut.cz>

next in thread | raw e-mail | index | archive | help

	Hello,

	please, don't you know the reason why when copying file with
some blocks still not allocated on the disk (the blocks that will be
returned full of zeroes when accessed), the ,,zero'' blocks are
actually written? Why there is no check whether writing zero block and
do not write them? I understand that this would have to be inside the
implementation of particular filesystem.

	Ie., in general, why not have assertion: if the disk block
should contain all zeroes, we needn't to alocate physical space

	Thank you, Jan.

-- 
Jan PECHANEC (mailto:pechy@hp735.cvut.cz)
Computing Center CTU (Zikova 4, Praha 6, 166 35, Czech Republic)
www.civ.cvut.cz, pechy.civ.cvut.cz, tel: +420 2 24352969 (fax: 24310271)




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.05.9911161009250.2853-100000>