Darren J Moffat <darr...@opensolaris.org> wrote: > I'm curious, why isn't a 'zfs send' stream that is stored on a tape yet > the implication is that a tar archive stored on a tape is considered a > backup ?
You cannot get a single file out of the zfs send datastream. > >> ZFS system attributes (as used by the CIFS server and locally) ? > > > > star does support such things for Linux and FreeBSD, the problem on Solaris > > is > > that the documentation of the interfaces for this Solaris local feature is > > poor. > > The was Sun tar archives the attibutes is non-portable. > > > > Could you point to documentation? > > getattrat(3C) / setattrat(3C) > > Even has example code in it. > > This is what ls(1) uses. It could be easily possible to add portable support integrated into the framework that already supports FreeBSD and Linux attributes. > >> ZFS dataset properties (compression, checksum etc) ? > > > > Where is the documentation of the interfaces? > > There isn't any for those because the libzfs interfaces are currently > still private. The best you can currently do is to parse the output of > 'zfs list' eg. > zfs list -H -o compression rpool/export/home > > Not ideal but it is the only publicly documented interface for now. As long as there is no interface that supports what I did discuss with Jeff Bonwick in September 2004: - A public interface to get the property state - A public interface to read the file raw in compressed form - A public interface to write the file raw in compressed form I am not sure whether this is of relevance for a backup. If there is a need to change the states, on a directory base, there is a need for an easy to use public interface. 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