Re: Question about hard links...

Athanasius (Athanasius@miggy.org)
Sat, 14 Aug 1999 22:44:33 +0100


On Thu, Aug 12, 1999 at 03:46:51PM -0400, Micahel Zappe wrote:
> 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, or 2) cause link() to
> create a symbolic link instead, emulating it's predicted behavior. Does
> anyone out there see any problems with the second solution that could
> arise? If it may cause problems, does anyone know of any popular
> applications that require hard links? Thanks in advance for your input!

Problem number 1: Many programs may make use of hard links to move a
file. It probably IS how rename() does it. It's certainly how I do it
in some code of mine.

-Ath

-- 
- Athanasius = Athanasius(at)miggy.org
		  Finger athan(at)fysh.org for PGP key
  nothing will ever be perfect, there will always be shit, and you'll
always get hurt and hurt others. *BUT*, that is _NO_ reason to give up!

- 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/