hfsplus unlink problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Andy Whitcroft | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-
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://
http://
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
Changed in linux: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → Medium |
status: | Incomplete → Triaged |
Changed in linux: | |
milestone: | ubuntu-8.04.2 → ubuntu-8.04.3 |
Changed in linux (Ubuntu Hardy): | |
assignee: | nobody → Andy Whitcroft (apw) |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Hardy): | |
status: | In Progress → Fix Released |
The Hardy Heron kernel was recently uploaded for testing. We'd really appreciate it if you could try testing with this newer kernel and verify if this issue still exists. Unfortunately, the Hardy Heron Alpha1 LiveCD was released with the older 2.6.22 kernel. You'll have to manually install the newer Hardy Heron kernel in order to test. This should not be the case for Alpha2 which is set to come out around Dec 20. However, here are the instructions to install if you choose to do so, otherwise just wait for Alpha2 to come out:
1) edit the file /etc/apt/ sources. list and add the following line:
deb http:// archive. ubuntu. com/ubuntu hardy main restricted
2) sudo apt-get update 2.6.24- 1-generic
3) sudo apt-get install linux-image-
4) reboot and select the new kernel from the grub menu
After you've tested, please feel free to revert back - ie boot into the old kernel, sudo apt-get remove linux-image- 2.6.24- 1-generic, and remove the line from /etc/apt/ sources. list . Please update this report with your results. Thanks in advance!