Public bug reported:

Binary package hint: linux-image-2.6.22-14-generic

hi,

i'm using hfsplus for my /home (it is shared with osx). i'm having problems 
with hard links on hfsplus.
the link count for a file drops from n to 0 when removing a hard link to some 
file.

install diskdev-cmds from:
 http://gentoo.osuosl.org/distfiles/diskdev_cmds-332.14.tar.gz
 http://gentoo.osuosl.org/distfiles/diskdev_cmds-332.14.patch.bz2

 make -f Makefile.lnx
 interesting binaries are in newfs_hfs.tproj/ and fsck_hfs.tproj/

create a filesystem:
 dd if=/dev/zero of=/tmp/hfsplus bs=1M count=2
 newfs_hfs /tmp/hfsplus
 mkdir /tmp/mnt
 mount -oloop /tmp/hfsplus /tmp/mnt
 cd /tmp/mnt
 echo foo > foo
 ln foo foo1
 ln foo foo2
 ln foo foo3

# now check the link count:
 ls -laFi 
# it is ok

# now unlink foo3
 rm foo3
# check link count again
 ls -laFi
# link count is down to 0

** Affects: linux-source-2.6.22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hfsplus unlink problems
https://bugs.launchpad.net/bugs/154416
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to