On Mon, 2010-09-06 at 19:24 -0700, Shawn Walker wrote:
> > In src/modules/server/repository.py, line 2710, addressing bug 16979, I
> > think it would be useful to add a check to allow the special directory
> > entry '.zfs' to exist in otherwise empty directories.
> 
> Is there any way to determine that it's actually a .zfs snapshot 
> directory and not a directory called .zfs? :)  I know the likelihood is 
> rare, but it'd be nice if there's some os.stat() attribute I can use 
> beyond checking for a directory named '.zfs'.

It looks like it's inode number is always 1, via
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/zfs_ctldir.c#199

but I don't imagine that's a supported interface.  Anyone?

        cheers,
                        tim

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to