Date: Fri, 19 Jan 2007 05:20:25 GMT From: CAdams <salsafresh@yahoo.com> To: freebsd-bugs@FreeBSD.org Subject: bin/106973: 'tar' cannot read own tape, but 'pax' can Message-ID: <200701190520.l0J5KPFQ013491@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/106973; it has been noted by GNATS. From: CAdams <salsafresh@yahoo.com> To: bug-followup@FreeBSD.org, bdluevel@heitec.net Cc: Subject: bin/106973: 'tar' cannot read own tape, but 'pax' can Date: Thu, 18 Jan 2007 20:50:42 -0800 (PST) Exact same problem, with different hardware (SDX-900V). cp and pax read tape created with tar -cf /dev/nsa0, tar does not. Changing blocksize changes point where error occurs. Problem does not occur with a 5.4 install. Here are my results-- #mt -f /dev/sa0 seteotmodel 1 /dev/sa0: old model was 1 filemark at EOT /dev/sa0: new model is 1 filemark at EOT # mt -f /dev/sa0 rewind # tar cvfb /dev/sa0 1 . ; tar tvfb /dev/sa0 1 a . a altq a arpa a bsm a bsnmp a c++ a cam a crypto ... a altq/altq_var.h a altq/altqconf.h a altq/if_altq.h drwxr-xr-x 0 root wheel 0 Jan 15 05:39 . drwxr-xr-x 0 root wheel 0 Jan 15 05:39 altq drwxr-xr-x 0 root wheel 0 Jan 15 05:39 arpa drwxr-xr-x 0 root wheel 0 Jan 15 05:39 bsm drwxr-xr-x 0 root wheel 0 Jan 15 05:39 bsnmp drwxr-xr-x 0 root wheel 0 Jan 12 00:38 c++ drwxr-xr-x 0 root wheel 0 Jan 15 05:39 cam drwxr-xr-x 0 root wheel 0 Jan 15 05:39 crypto drwxr-xr-x 0 root wheel 0 Jan 12 00:38 dev drwxr-xr-x 0 root wheel 0 Jan 12 00:38 fs drwxr-xr-x 0 root wheel 0 Jan 15 05:39 geom drwxr-xr-x 0 root wheel 0 Jan 15 05:39 gnu drwxr-xr-x 0 root wheel 0 Jan 15 05:39 gpib drwxr-xr-x 0 root wheel 0 Jan 12 00:38 isofs drwxr-xr-x 0 root wheel 0 Jan 15 05:39 kadm5 drwxr-xr-x 0 root wheel 0 Jan 15 05:39 libmilter drwxr-xr-x 0 root wheel 0 Jan 15 05:39 lwres drwxr-xr-x 0 root wheel 0 Jan 15 05:39 machine drwxr-xr-x 0 root wheel 0 Jan 15 05:39 net drwxr-xr-x 0 root wheel 0 Jan 15 05:39 net80211 drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netatalk drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netatm drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netgraph drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netinet drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netinet6 drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netipsec drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netipx drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netkey drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netnatm drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netncp drwxr-xr-x 0 root wheel 0 Jan 15 05:39 netsmb drwxr-xr-x 0 root wheel 0 Jan 15 05:39 nfs drwxr-xr-x 0 root wheel 0 Jan 15 05:39 nfsclient drwxr-xr-x 0 root wheel 0 Jan 15 05:39 nfsserver drwxr-xr-x 0 root wheel 0 Jan 15 05:39 objc drwxr-xr-x 0 root wheel 0 Jan 15 05:39 openssl drwxr-xr-x 0 root wheel 0 Jan 15 05:39 pccard drwxr-xr-x 0 root wheel 0 Jan 15 05:39 posix4 drwxr-xr-x 0 root wheel 0 Jan 15 05:39 protocols drwxr-xr-x 0 root wheel 0 Jan 15 05:39 readline drwxr-xr-x 0 root wheel 0 Jan 15 05:39 rpc drwxr-xr-x 0 root wheel 0 Jan 15 05:39 rpcsvc drwxr-xr-x 0 root wheel 0 Jan 15 05:39 security drwxr-xr-x 0 root wheel 0 Jan 15 05:39 sys drwxr-xr-x 0 root wheel 0 Jan 12 00:38 ufs drwxr-xr-x 0 root wheel 0 Jan 15 05:39 vm -r--r--r-- 0 root wheel 2176 Jan 12 00:38 a.out.h -r--r--r-- 0 root wheel 2901 Jan 12 00:38 ar.h -r--r--r-- 0 root wheel 2739 Jan 12 00:38 assert.h -r--r--r-- 0 root wheel 1537 Jan 12 00:38 bitstring.h -r--r--r-- 0 root wheel 2107 Jan 12 00:38 complex.h -r--r--r-- 0 root wheel 2466 Jan 12 00:38 cpio.h -r--r--r-- 0 root wheel 5547 Jan 12 00:38 _ctype.h -r--r--r-- 0 root wheel 4831 Jan 12 00:38 ctype.h tar: Unrecognized archive format: Inappropriate file type or format # tar cvfb /dev/sa0 2 . ; tar tvfb /dev/sa0 2 Exact same results as above... ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701190520.l0J5KPFQ013491>