tar: Failed to open '/dev/sa0'

Christian Weisgerber naddy at mips.inka.de
Sun Jun 18 21:45:09 UTC 2017

On 2017-06-18, David Christensen <dpchrist at holgerdanske.com> wrote:

> Subject: tar: Failed to open '/dev/sa0'

You need to specify an archive file with the f flag, e.g.

$ tar cf dpchrist-thunderbird-20170618.tar .thunderbird 

Traditionally, if no archive file is specified, tar(1) accesses a
tape device by default.  FreeBSD's tar maintains this behavior and
the FreeBSD port of gtar matches this for consistency.

Use "-" as archive name if you want to read from stdin / write to

Christian "naddy" Weisgerber                          naddy at mips.inka.de

More information about the freebsd-questions mailing list