var_tar

Name

var_tar  --  create a tarfile of the var directory

Synopsis

var_tar {file}

Description

var_tar adds the creation of a tar archive, file, of /var/ to the files target. The tarfile can be extracted to initialize /var/ when it is the mount point of a ramfs or tmpfs.

Example

Add creation of a tarfile, /.var.tar, that is an archive of /var/:

    var_tar "\$(prefix)/.var.tar"
    

See Also

install_target(3)