0 bytes sized file can't be written to a HAMMER partition
Antonio Huete Jimenez
tuxillo at quantumachine.net
Tue Jun 10 04:45:34 PDT 2008
Hi all,
master# mount | grep datapool
datapool on /datapool (hammer, local)
While doing a make installworld DESTDIR=/datapool/diskless/station01/
the process is stopped with this error:
===> games/phantasia
install -o root -g games -m 660 characs
/datapool/diskless/station01//var/games/phantasia
install: /datapool/diskless/station01//var/games/phantasia/characs: File
too large
*** Error code 71
This is quite strange since characs file is zero-bytes sized.
master# ls -l /usr/obj/usr/src/world_i386/usr/src/games/phantasia/characs
-rw-r--r-- 1 root wheel 0 Jun 10 14:40
/usr/obj/usr/src/world_i386/usr/src/games/phantasia/characs
make installword to a UFS partition didn't fail.
The only reference I've found to EFBIG in sys/vfs/hammer directory is:
hammer_vnops.c:294: return (EFBIG);
/*
* Check for illegal write offsets. Valid range is 0...2^63-1
*/
if (uio->uio_offset < 0 || uio->uio_offset + uio->uio_resid <= 0) {
hammer_done_transaction(&trans);
return (EFBIG);
}
I'm sorry I don't have the knowledge to explain this.
Regards,
Antonio Huete
More information about the Kernel
mailing list