From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24780 invoked from network); 26 Jun 2023 23:44:26 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 26 Jun 2023 23:44:26 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id CEF0F41072; Tue, 27 Jun 2023 09:44:25 +1000 (AEST) Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by minnie.tuhs.org (Postfix) with ESMTPS id CD91741084 for ; Tue, 27 Jun 2023 09:44:19 +1000 (AEST) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6686708c986so3851247b3a.0 for ; Mon, 26 Jun 2023 16:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iitbombay-org.20221208.gappssmtp.com; s=20221208; t=1687823059; x=1690415059; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Soe15FQ+xg9X+YI05fWHXLRYzr5ZhGMAJkKcyQ8/FAk=; b=JWQ4tZ6YxCXAdmYP8lM2VknaR4Byo3YKv7KzvPmq8kOhLxp7L4RuhpudwwXlFxZDuR VB+YLr6gp9VAT/XATxkIt76bxIZUor5+J+J0F0CC40xpjNpIry+dCIVuvhjTQ8Knja9/ 1VjRUoLdiPW9yNWqgsn1z9gof1+OV/35BYUBRc1Rs2YdXHmp/nBdwVQrdowkAs1t9ssv 4PbIH26B+n3JOjPCkF/VyO4WIHkqLOSWFkcaUP1ySYIT+Dcle1T/m3AmIjo3J+gfWwym HpCvUrJn/KnL3XNek9oH1Lz+nzIQjcJpxOLYmB9xRJanNPkCkZx5eKGnBERlI2dpq2Xq rlUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687823059; x=1690415059; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Soe15FQ+xg9X+YI05fWHXLRYzr5ZhGMAJkKcyQ8/FAk=; b=PkkClehdqfcnyGVCGD0Pd/8bokQ0vfb+jN2blNtDTOfyBOvWbcYYj1jLFOvxAoRJ2I o0coU5h6rwRKn3XM3iuDxrw4SaSDPywFjeyYBOQiTpeY8ymBEXGZAxvxwFidnbnzqcU+ ZSkUGjTWC9cIUrQfOte4uqYBeZ33mDnmZF41F1Q8XbZAb+ZGUloDDozsvpfLmqD1l5nu QwrV5M6fJZidYV5tUQUSBgLTJtc953vpKla5fEe0ZSm/xpDKS6uYVoZx4UxJSvfuEL4C laycRXB0CQxk8gkn+vN+qx4at01RgnFyyUtsrp0GSZfnsP28vHLMqstVDOfmCHGqKX3D IOtg== X-Gm-Message-State: AC+VfDzupP4eCtHg9joWpIBJywKFV8Q6fZE6pqF+UvkZ7s+lpg7XeHuQ 6GIee2zRc7IbHgqtudbtGffs9TcO24m47EHPROo= X-Google-Smtp-Source: ACHHUZ7eK772xjV8QdqaIfcUzf/eC4XdPPXCh1wO/tZ8a2bBqJgfOVIe8iubNd0u0inawO2kSRWeeg== X-Received: by 2002:a05:6a00:2183:b0:666:81ae:feb9 with SMTP id h3-20020a056a00218300b0066681aefeb9mr35285919pfi.27.1687823059028; Mon, 26 Jun 2023 16:44:19 -0700 (PDT) Received: from smtpclient.apple (107-215-223-229.lightspeed.sntcca.sbcglobal.net. [107.215.223.229]) by smtp.gmail.com with ESMTPSA id n24-20020a62e518000000b005a8de0f4c64sm4284145pff.82.2023.06.26.16.44.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2023 16:44:18 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) From: Bakul Shah In-Reply-To: Date: Mon, 26 Jun 2023 16:44:07 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <950C04A3-3D30-48ED-B956-74EDB7C910E3@iitbombay.org> References: To: steve jenkin X-Mailer: Apple Mail (2.3731.600.7) Message-ID-Hash: DV2QOSVXRLO7VUFVSBYTQGOGV76ULZSW X-Message-ID-Hash: DV2QOSVXRLO7VUFVSBYTQGOGV76ULZSW X-MailFrom: bakul@iitbombay.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: COFF X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [COFF] Re: Shell script advice: using 'dd' to write multiple media List-Id: Computer Old Farts Forum Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Jun 26, 2023, at 4:09 PM, steve jenkin = wrote: >=20 > There was a =E2=80=98create the distro=E2=80=99 step of the pipeline = which gathered the input, > followed by a loop that used =E2=80=98dd=E2=80=99 to block the stream = into media-sized parts. If 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).=