At Mon, 20 May 2002 15:29:50 +1000, Richard Hayes wrote:
> Is there an easy way to copy a .deb on to multiple floppies?

use tar's "-M" option.

 tar cvMf /dev/fd0 file1 file2 ...

at the other end:

 tar xvMf /dev/fd0

in both case, tar will prompt you to insert the next floppy. yes, you
can combine it with "-z" (or "-j") and other tar options if you
wish. (.deb is already compressed, so no point compressing again)

tar will also work out the device size by itself, there's no need to
mess about with temporary files, and tar will let you know if you
insert the floppies in the wrong order - unlike (eg) split/cat.


note that there will be no filesystem on the floppy, just a tar
archive. so you can't "mount /dev/fd0" or similar.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to