detecting the size of a tarball

David Bear David.Bear at
Tue Nov 4 15:10:36 PST 2003

I have a 100 mg zip drive that I'm writing to as a raw device -- no
file system -- just 'tar cvf /dev/afd0 stuff'.  I am curious if there
is a way to find out how big the tarball is on this kind of thing.
I'm guessing maybe some kind of seek to EOF but not sure how it might
be accomplished.  any idea's?

David Bear
phone: 	480-965-8257
fax: 	480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"

More information about the freebsd-questions mailing list