[COFF] Shell script advice: using 'dd' to write multiple media
Steve Jenkin
sjenkin at canb.auug.org.au
Tue Jun 27 13:47:22 AEST 2023
> On 27 Jun 2023, at 09:44, Bakul Shah <bakul at iitbombay.org> wrote:
>
> f space is not an issue, you can use split(1) to divide
> the input in N pieces and then use a separate loop to copy
> them to the media. If you want to stream the distribution
> on stdin but still copy to N disks or whatever, you can
> write a simple C program that will prompt the user to switch
> media, print out checksum etc. If you want to *not* split
> files across media (and no file is greater than media size),
> you can use makekit from Rich Salz's cshar (comp.sources.unix
> Volume 15).
Bakul,
Thanks for the note.
I’d not heard of “makeit” before, will go hunt it down.
1. this was the 1980’s, space was always an issue :)
2. There are many cases where you’ve only got a
stream. This distributions were the first
time I hit this problem type.
3. The distributions were a compressed tar or cpio
of a directory structure, to be exploded at destination.
There wasn’t a need to fit files onto media.
cheers
steve j
--
Steve Jenkin, IT Systems and Design
0412 786 915 (+61 412 786 915)
PO Box 38, Kippax ACT 2615, AUSTRALIA
mailto:sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin
More information about the COFF
mailing list