Just noticed this:

# zfs create scratch/test
# cd /scratch/test
# mkdir d1 d2 d3
# zfs snapshot scratch/[EMAIL PROTECTED]
# cd .zfs/snapshot/snap
# ls
d1        d2        d3
# du -k
1 ./d3
3 .
{so "du" doesn't traverse the other directories 'd1' and 'd2'}

# pwd
/scratch/test/.zfs/snapshot/snap
# cd d3
# pwd
/scratch/test/.zfs/snapshot/snap/d3
# cd ..
/scratch/test/.zfs/snapshot
{Hmm, got back two directories at once - this was done with /sbin/sh as shell, 
so no 'tricks' on "cd ..", same with 'd1' and 'd2'}

# cd /scratch/test/.zfs/snapshot
# ls -ia
2 .        1 ..        127 snap
# cd snap
# ls -ia
3 .        3 ..        4 d1        5 d2        6 d3
{at least 'strange' non-consistent inode numbers}


-- 
Daniel
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to