Richard Elling <richard.ell...@gmail.com> wrote:

> IIRC, POSIX does not permit hard links to directories. Moving or renaming
> the directory structure gets disconnected from the original because these
> are relative relationships. Clearly, NetApp achieves this in some manner
> which is not constrained by POSIX -- a manner which appears to be beyond 
> your ability to describe.

I have recently frequently seen the name "POSIX" and I am not sure whether the 
people who used the name know what they are talking about. POSIX e.g. of course
permits harlinks to directories.

If you like a fact based discussion, I in general would like to a verification 
of the related claim as this allows to prove or disprove a claim.


There e.g. never has been an explanation on why a special directory like .zfs
or whatever should not be allowed by POSIX.

Let me make an example.....

In Sommer 2001, a person from Microsoft asked the Microsoft notation of named 
streams (filename:streamname) to be introduced into POSIX. It was easy to 
explain him that this would not be POSIX compliant as it would introduce 
another forbidden character (':') for filenames. Currently only '/' and '\0' 
are discallowed in filenames.

He later asked to introduce a special directory "..." that could hold the named 
streams for files. This is also non POSIX compliant as it would require to 
modify all implementationd for find(1), ls(1), tar(1) and similar to know about
the secific meaning of "...".

As a result, Sun did introduce the "attibute directory", runat(1),  openat(2)
and similar around August 2001 in order to preove that there is a POSIX 
compliant way to implement named streams in files.

If we could have a discussion at a similar level, I would be happy to help with 
the discussion.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to