On Sun, Sep 14, 2014 at 11:02 AM, Edward Ned Harvey (lopser)
<lop...@nedharvey.com> wrote:
> So the only point in question is whether or not "." and ".." are permitted 
> filenames in extfs.  I think we all know the answer to this question.  They 
> are reserved, so if we want to get semantic, we could say they are 
> technically permitted, but disallowed for any purposes in user space other 
> than read.


In ext3/4 (and UFS and all previous Unix file systems) there is a
common misconception that "." and ".." are magic.  They are not.  They
are simply directory entries with hardlinks set up in a way that give
the expected behavior.  Again, I haven't used btrfs but I'm guessing
that this is this is the same: they're just regular directory entries
that the mkdir() system call creates any time it creates a new
directory.

Tom

-- 
Email: t...@whatexit.org    Work: tlimonce...@stackoverflow.com
Skype: YesThatTom
Blog:  http://EverythingSysadmin.com
_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to