Re: [PATCH 02/27] allow hard links to directories, opt-in for anyfilesystem

From: Jan Engelhardt
Date: Thu Mar 02 2006 - 16:08:06 EST


>
> I know why unix didn't allow loops in the filesystem tree. I'm just
> saying that you have to justify a feature before adding it. If he was
> able to nicely solve problems with loops and show some application
> that benefits from it, then it could be considered for Linux.
>

It's bad IMO. Consider someone doing `ln . foo`. Find algorithms could not
stop, because they would be recursing until 1. dawn 2. PATH_MAX is reached
3. a user option says so (e.g. -maxdepth). Symlinks provide at least one
way to know when not to endlessy dive into directories.


Jan Engelhardt
--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/