Messages in this thread | | | From | (Peter Benie) | Subject | Re: Question about hard links... | Date | Fri, 13 Aug 1999 13:12:48 +0100 |
| |
Micahel Zappe writes ("Question about hard links..."): > I am working on a file system driver for linux, and have run into a > problem with hard links. I am attempting to put per-directory quota > support into the filesystem, rather than per-volume, and hard links > across quota-spaces causes some tricky semantic issues. My favored > solutions are 1) eliminate hard links from the fs
Don't eliminate hard links if you want locking (eg. by xauth) to work.
>, or 2) cause link() to > create a symbolic link instead, emulating it's predicted behavior.
I think it'll be very difficult to work out what the implications of that would be. IMO, it would be better for the system call for links across quota spaces to fail altogether rather than do something different and surprising.
Peter
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |