Article View: linux.debian.user
Article #117Re: minor problem with live CD
From: Franco Martelli
Date: Tue, 13 Oct 2026 18:00
Date: Tue, 13 Oct 2026 18:00
54 lines
5625 bytes
5625 bytes
On 13/10/26 at 10:58, tomas@tuxteam.de wrote: > On Tue, Oct 13, 2026 at 04:32:21AM -0400, hlyg wrote: >> >> On 10/12/26 6:35 PM, Andrew M.A. Cater wrote: >>> I'd also add a couple of arguments - oflag=sync and status=progress >>> >>> dd if=debian-live-13.7.0-amd64-lxqt.iso of=dev/sdX obs=4M oflag=sync status=progress >>> >>> that allows for the data to be synced as it is written to the USB stick and >>> also shows progress on a long write. >>> >>> It's quite handy when you're writing one of the longer images on a slow >>> machine / something slower than USB3 >>> >>> All the very best, as ever, >>> >>> Andrew Cater >>> [amacater@debian.org] >> >> >> Thank Cater! Your command looks more professional. > > Yes. It is my favourite too. > > The "oflag=sync" makes the writes to the stick happen "in real > time", so that when dd finishes, you can be sure that the bytes > have been written, instead of waiting in the buffer cache > (entering a "sync" after it won't harm, but should return quickly). > > The "status=progress" shows you how far the write is, which is > always nice for things which take a long time. based on an Anssi Saari's suggestion: why do we insist using "dd" (Disk Dump)? It's tricky, and has not a comfortable syntax, why don't we suggest end users to use "pv" (Pipe Viewer). Pipe Viewer is the equivalent of "netcat" for data transfers between commands and devices, here the examples: ~# dd if=debian-live-13.7.0-amd64-lxqt.iso of=dev/sdX obs=4M oflag=sync status=progress and: ~# pv -Y debian-live-13.7.0-amd64-lxqt.iso >/dev/sdX both commands do the same thing. Which ones is it better to propose to an end user? For others nice examples please see "man pv". Sorry for the rant but once tried I can't live without. :) Kind regards. -- Franco Martelli
Technical Details
Message-ID:
<NNOX9-5j8K-99@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NNiNA-529K-7@gated-at.bofh.it> <NNwQx-59wH-3@gated-at.bofh.it> <NNwQx-59wH-5@gated-at.bofh.it> <NNwQx-59wH-1@gated-at.bofh.it> <NNGwy-5eE8-3@gated-at.bofh.it> <NNGwy-5eE8-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Franco Martelli <martellif67@gmail.com>
Newsgroups: linux.debian.user
Subject: Re: minor problem with live CD
Date: Tue, 13 Oct 2026 20:00:03 +0200
Message-ID: <NNOX9-5j8K-99@gated-at.bofh.it>
References: <NNiNA-529K-7@gated-at.bofh.it> <NNwQx-59wH-3@gated-at.bofh.it> <NNwQx-59wH-5@gated-at.bofh.it> <NNwQx-59wH-1@gated-at.bofh.it> <NNGwy-5eE8-3@gated-at.bofh.it> <NNGwy-5eE8-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org Tue Oct 13 17:54:43 2026
Old-Return-Path: <martellif67@gmail.com>
X-Amavis-Spam-Status: No, score=-1.849 tagged_above=-10000 required=5.3
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -5.5
X-Gm-Message-State: AFq9FYKIxLLMEdhg5+KGRYBg5iEHfgiKHfkCgQ+rK1i9/lcvIjNqT1tB
6Jg3WQU7W922ZqiDGZ/bvEK2BAH+qNRPqyqzy+SAIbBkYVPdaiuYUVnEssPWOx/K
X-Gm-Gg: AYBFou26RcpWC/mAlAgYRmfFcfepMkIMQKgDd34AIkab+icNFcbh7d+NFMYpvpXVkxE
oph4ZzxE8ZCtHOPTFmuuWdFZHs/6f2MpxGyfmDXnvBQIkRCoQesBamSa/r0cttMcTwGOzrdPzDJ
euqT91L1Tlz53NQ7EL+FYuphOG85UiPd/clV2JFrAale2q9s7vyxe+yDTPUWdtgnPsO4vNbUAyJ
NCIuVvmgcWC0vQoXs7TAxO7RLSUO1iYQ8qfCNcRjSQSo6nZkFpE/gAoVxTDlG3QQj5k0r/x2A9E
PUUZ9DF7fMtP97DzFHPPkZZtzjkE6rRh2W6uwyTiDVQCvlaMxbY3o41VuCyAXX6Lmd2gZXWj6cN
1UyvOy++g5Y6ofwWCp8iwFy5jt2rrTmryKEDpSrBbc8wqwo1qOCYyIo+dizW05LnXclR4Tcodbk
hQJzDd2/0ccT9Xhh/JKXwBn04hjLYYpuxjAyGqk8u5WTrwJG6cKwvIAFBcfAtP2kYalZiv+Twsf
HGZS8mm5LIy3usKvvhDmJB7a9FICn1pgyV/
X-Received: by 2002:a05:600c:821a:b0:4a1:74a1:7ecc with SMTP id 5b1f17b1804b1-4a18e446ef5mr225482275e9.1.1791914070503;
Tue, 13 Oct 2026 10:54:30 -0700 (PDT)
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=martellif67@gmail.com; keydata=
xjMEXwx9ehYJKwYBBAHaRw8BAQdA8CkGKYFI/MK9U3RPhzE5H/ul7B6bHu/4BIhTf6LLO47N
J0ZyYW5jbyBNYXJ0ZWxsaSA8bWFydGVsbGlmNjdAZ21haWwuY29tPsKWBBMWCAA+FiEET9sW
9yyU4uM6QbloXEn0O0LcklAFAmhyroACGwMFCQ0ncuYFCwkIBwIGFQoJCAsCBBYCAwECHgEC
F4AACgkQXEn0O0LcklAHVwD9H5JZ52g292FD8w0x6meDD8y/6KkNpzuaLHP6/Oo8kAIBAJsh
aMB9LdCBJTMtnxU8JTHtAoGOZ/59UJWeZIkuWJUNzjgEXwx9ehIKKwYBBAGXVQEFAQEHQNP5
V2q0H0oiJu89h1SSPgQDtkixXvUvRf1rNLLIcNpPAwEIB8J+BBgWCAAmFiEET9sW9yyU4uM6
QbloXEn0O0LcklAFAmhyroACGwwFCQ0ncuYACgkQXEn0O0LcklASVwEAoEkHMEU7mHc0zmAu
D2R1PYsDh9+3wQeied5PrF+HdakBAOeSGsf40GBew5umZuM59I04d1uXYAXGMP+jGN2RUtMA
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832393
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/c6a6d32d-348f-4e16-b11d-00a9fcfaf1b2@gmail.com
Approved: robomod@news.nic.it
Lines: 54
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 13 Oct 2026 19:54:28 +0200
X-Original-Message-ID: <c6a6d32d-348f-4e16-b11d-00a9fcfaf1b2@gmail.com>
X-Original-References: <SI6PR02MB8380589F29B498EE625A66DDC59F2@SI6PR02MB8380.apcprd02.prod.outlook.com>
<4609510240727445196@scdbackup.webframe.org>
<TYSPR02MB8382622604744953D948D499C59F2@TYSPR02MB8382.apcprd02.prod.outlook.com>
<as1gzPJd1Qt-euJG@einval.com>
<SI6PR02MB8380528295932B2198EC616AC59E2@SI6PR02MB8380.apcprd02.prod.outlook.com>
<as3ywlBiFO52zjNz@tuxteam.de>