Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2017 21:40:55 -0000 (UTC)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: tar: Failed to open '/dev/sa0'
Message-ID:  <slrnokdsr7.128.naddy@lorvorc.mips.inka.de>
References:  <9369978e-7041-3ef9-2cb4-66555054425b@holgerdanske.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-06-18, David Christensen <dpchrist@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
stdout.

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?slrnokdsr7.128.naddy>