"Richard L. Hamilton" <rlha...@smart.net> wrote:

> Typically on most filesystems, the inode number of the root
> directory of the filesystem is 2, 0 being unused and 1 historically
> once invisible and used for bad blocks (no longer done, but kept
> reserved so as not to invalidate assumptions implicit in ufsdump tapes).
>
> However, my observation seems to be (at least back at snv_97), the
> inode number of ZFS filesystem root directories (including at the
> top level of a spool) is 3, not 2.

This was traditionally the lost+found inode number.

> If there's any POSIX/SUS requirement for the traditional number 2,
> I haven't found it.  So maybe there's no reason founded in official
> standards for keeping it the same.  But there are bound to be programs
> that make what was with other filesystems a safe assumption.

POSIX only requires that ino(1) == ino(..) if you have a root directory.

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