[Ovlfs-devel] OVLFS Bug?
Status: Beta
Brought to you by:
anaseef
|
From: Charly W. <ch...@bl...> - 2004-01-11 16:30:24
|
Hi, at the moment im experimenting with your ovlfs under kernel 2.4.23 and I think i've found a bug. when mounting an overlay filesystem with the "storemaps" option it will not handle hardlinks correctly, see the following behavior: I changed dir into the ovl filsystem, where I do the following: # echo "first" > testfile2 # ln testfile2 testfile2.old # ls -la testf* -rw-r--r-- 2 root root 6 Jan 11 15:44 testfile2 -rw-r--r-- 2 root root 6 Jan 11 15:44 testfile2.old # rm testfile2 # ls -la testf* ls: testfile2.old: No such file or directory as you can see, when the original file is deleted, also the hard-linked file will be deleted from the ovlfs, but not completely, as ls will find the name of the link and complains. Normal behavior should be that only the original file will disappear. when using the "nostoremaps" option, it seems to work ok. regards Charly |