On Sat, Jul 19, 2008 at 12:07:35PM +0900, YONETANI Tomokazu wrote: > #7 0xc0256ca9 in hammer_modify_inode (ip=0xd5e05500, flags=1) > at /home/source/dragonfly/R2_0/src/sys/vfs/hammer/hammer_inode.c:1342 > #8 0xc025e448 in hammer_ip_add_directory (trans=0xd5eb7af0, dip=0xd2981250, > name=0xc25091c0 "02d41ce21323b1cdc228c78cec2f81c054bd34", bytes=38, > ip=0xd5e05500) > at /home/source/dragonfly/R2_0/src/sys/vfs/hammer/hammer_object.c:630 > #9 0xc0267dab in hammer_vop_nlink (ap=0xd5eb7b2c) > at /home/source/dragonfly/R2_0/src/sys/vfs/hammer/hammer_vnops.c:1010 > #10 0xc01ecdfd in vop_nlink (ops=0xcc3b0170, nch=0xd5eb7c48, dvp=0xd5e223e8, > vp=0xd5e3ec28, cred=0xd5bd2c18) > at /home/source/dragonfly/R2_0/src/sys/kern/vfs_vopops.c:1091 > #11 0xc01e84b1 in kern_link (nd=0xd5eb7c80, linknd=0xd5eb7c48) > at /home/source/dragonfly/R2_0/src/sys/kern/vfs_syscalls.c:2080 > #12 0xc01e851c in sys_link (uap=0xd5eb7cf0) > at /home/source/dragonfly/R2_0/src/sys/kern/vfs_syscalls.c:2102 > #13 0xc02b223f in syscall2 (frame=0xd5eb7d40) > at /home/source/dragonfly/R2_0/src/sys/platform/pc32/i386/trap.c:1384 > #14 0xc029ea76 in Xint0x80_syscall () > at /home/source/dragonfly/R2_0/src/sys/platform/pc32/i386/exception.s:876 > #15 0x282e6324 in ?? ()
A-ha, looking at ktrace output (somehow truss stuck in the middle of execution) and the UFS source code, HAMMER lacks cross-device link checks in nlink and nrename. I'll work on a patch for this one. Cheers.
