Date: Fri, 29 Sep 2006 21:59:17 +0400 From: =?koi8-r?b?6czYxMHSIO7V0snTzMHNz9c=?= <absorbb@gmail.com> To: freebsd-fs@freebsd.org Subject: ntfs broken when share through samba3 Message-ID: <200609292159.18282.absorbb@gmail.com>
next in thread | raw e-mail | index | archive | help
This old already reported bug. But situation have'nt changed. There is very simple patch that fix this bug: --- usr/src/sys/fs/ntfs/ntfs_vnops.c Mon Mar 13 00:50:01 2006 +++ home/voxel/stuff/ntfs_vnops.c Thu Aug 31 09:22:08 2006 @@ -187,7 +187,8 @@ vap->va_fsid = dev2udev(ip->i_dev); vap->va_fileid = ip->i_number; vap->va_mode = ip->i_mp->ntm_mode; - vap->va_nlink = ip->i_nlink; + vap->va_nlink = (ip->i_nlink ? ip->i_nlink : 1); + //vap->va_nlink = ip->i_nlink; vap->va_uid = ip->i_mp->ntm_uid; vap->va_gid = ip->i_mp->ntm_gid; vap->va_rdev = 0; /* XXX UNODEV ? */ but it seems to be not beaty solution
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609292159.18282.absorbb>