DragonFly kernel List (threaded) for 2008-06
DragonFly BSD
DragonFly kernel List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

0 bytes sized file can't be written to a HAMMER partition


From: Antonio Huete Jimenez <tuxillo@xxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2008 13:45:34 +0200

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]