Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 10:32:39 +0200 (MET DST)
From:      Cejka Rudolf <xcejka00@dcse.fee.vutbr.cz>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   nullfs problem
Message-ID:  <199805310832.IAA14045@sts.dcse.fee.vutbr.cz>

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

First of all I asked this as problem report. No reply...
Next I asked this on freebsd-fs. No reply...
So maybe there?

After the latest -current install, I'm trying the following command sequence
(test_file has 30000 bytes or more):
	cd /
	mkdir test
	mount -t null /test /mnt
	cp test_file /mnt/test.bad
	cp test_file /test/test.ok
	diff /test/test.bad /test/test.ok
		... Yes, files are the same - great
	reboot
		... Login
	diff /test/test.bad /test/test.ok
		... Oh no! Files differ! Lengths are the same, but content
		    of /test/test.bad (file copied via nullfs) is
		    partially zeroed!

Does anybody use nullfs layer? Is this only my problem on my box?
(Problem occurs if nullfs is mounted on root ffs.)

--------------------------------------------------------------------------
Rudolf Cejka                            E-mail: xcejka00@dcse.fee.vutbr.cz
Technical University of Brno, Faculty of El. Engineering and Comp. Science
Bozetechova 2, 612 66 Brno, Czech Republic

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805310832.IAA14045>