Date: Fri, 13 Oct 2000 15:12:08 +0200 From: Willem Brown <willem@brwn.org> To: j mckitrick <jcm@FreeBSD-uk.eu.org> Cc: Tony Landells <ahl@austclear.com.au>, freebsd-questions@FreeBSD.ORG Subject: Re: tar to file or tar to device ? Message-ID: <20001013151208.A22531@snoopy.brwn.org> In-Reply-To: <20001013115036.A51415@dogma.freebsd-uk.eu.org>; from jcm@FreeBSD-uk.eu.org on Fri, Oct 13, 2000 at 11:50:36AM %2B0100 References: <jcm@FreeBSD-uk.eu.org> <200010122242.JAA20459@tungsten.austclear.com.au> <20001013115036.A51415@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, Oct 13, 2000 at 11:50:36AM +0100, j mckitrick wrote: > On Fri, Oct 13, 2000 at 09:42:20AM +1100, Tony Landells wrote: > | > IIUC, tar to a device, in my case /mnt/zip, treats the whole disk like a big > | > tar file, not allowing any other use, correct? > | > | If you really mean /mnt/zip, then you probably have the disk mounted, in > | which case you're writing to a file on the device. > > If you tar to /mnt/zip, what would the filename be? If /mnt/zip is a mount point(directory) to a zip drive tar will complain that is a directory. You'll have to do something like the following. tar cvf /mnt/zip/back_file.tar file1 file2 ... You can also do a back to the device without mounting it. ex. tar cf /dev/fd0 file1 file2 You won't be able to mount the floppy since it won't contain a valid file system only a valid (hopefully) tar archive. To list the contents of the archive on the floppy you would type: tar tvf /dev/fd0 I've not ever used a zip drive myself but I'm sure the same would apply. > > > > jcm > -- > "I drank WHAT ?!" - Socrates > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > Best Regards Willem Brown -- /* =============================================================== */ /* Linux, FreeBSD, NetBSD, OpenBSD. The choice is yours. */ /* =============================================================== */ You are not drunk if you can lay on the floor without holding on. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001013151208.A22531>