Re: [PATCH] hfsplus: read support for directory hardlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/02/2011 02:40 PM, Al Viro wrote:
> What happens to rename() with that thing?  Specifically, what happens to
> loop detection?

Good point.

Since my main interest was retrieving contents of a backup, I did not much
consider the impact of write operations. Before the patch, the source files were
exposed as normal files, and the target directories as normal directories, so
one could easily have introduced loops with rename operations before.

In line with the read-only support, I would suggest to conservatively prevent
any rename where the source is a directory hardlink. I have prepared a patch
along those lines, but I cannot test it right now.
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux