User: Password:
|
|
Subscribe / Log in / New account

Standards, the kernel, and Postfix

Standards, the kernel, and Postfix

Posted Aug 21, 2008 15:28 UTC (Thu) by iabervon (subscriber, #722)
In reply to: Standards, the kernel, and Postfix by jzbiciak
Parent article: Standards, the kernel, and Postfix

I don't think it's possible for hard links to span filesystems. The point of a hard link is
that the two names have the same inode, and a dentry pointing to an inode on a different
filesystem either wouldn't work at all (since the dentry doesn't include enough information to
specify the inode completely) or wouldn't be really a separate filesystem.

I suppose, however, you could have a single filesystem that you'd carved up and arranged with
bind mounts to look like multiple filesystems, and the OS wouldn't necessarily block creating
the hard links (although, IIRC, Linux presently does).


(Log in to post comments)

Standards, the kernel, and Postfix

Posted Aug 21, 2008 23:19 UTC (Thu) by jzbiciak (subscriber, #5246) [Link]

That's my understanding as well.  I was pretty sure traditional *nix filesystems worked this
way.  What I wasn't sure of is whether union mounts, or one of the newer filesystems supported
something fancier.  

I know if I state unequivocally that it can't be done, the odds are against me someone will
demonstrate I'm wrong.  ;-)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds