Re: DD convert files to UDF filesystem

2024-10-20 Thread David Christensen
On 10/20/24 13:00, William Torrez Corea wrote: I am trying to boot my USB but this device is unrecognizable for the BIOS. How can I convert filesystems through DD? I want to save a copy of the file in MSDOS or GPT. What is the make and model of your computer? What is the make and model of

Re: DD convert files to UDF filesystem

2024-10-20 Thread Charles Curley
boot a CD or DVD image on a USB device? That is an entirely different can of worms. > > How can I convert filesystems through DD? Short answer, dd is probably overkill for this. Probably. However, what you have told us so far is so vague and confusing that you should first make clear what

DD convert files to UDF filesystem

2024-10-20 Thread William Torrez Corea
I am trying to boot my USB but this device is unrecognizable for the BIOS. How can I convert filesystems through DD? I want to save a copy of the file in MSDOS or GPT. -- With kindest regards, William. *Larry Wall invented a messy programming language -- and changed the face of the Web*

DD dvdisaster Part III

2023-12-12 Thread Schwibinger Michael
Good morning Im sorry. It did not work. I did install dvdisaster GUI is very easy After 12 hours checking the DVD I gave up and the software did only show red and only 20% of the DVD were checked. Regards Sophie

AW: AW: Part II dd copy destroyed DVD

2023-11-28 Thread Schwibinger Michael
Thank You I ll try it and then I ll post result. Regards Sophie Von: David Christensen Gesendet: Samstag, 25. November 2023 00:50 An: debian-user@lists.debian.org Betreff: Re: AW: Part II dd copy destroyed DVD On 11/24/23 08:35, Schwibinger Michael wrote

AW: Part II dd copy destroyed DVD

2023-11-27 Thread Schwibinger Michael
Good evening. Thank You. Want to copy bit by bit. dd did it with good DVD. dd did not do it with bad DVD. HD is empty or more then 50 GB space is free. I copy from DVD to home HD. bin I could not open. iso I could open. Please ask me. Regards Sophie Von: y

Re: AW: AW: Part II dd copy destroyed DVD

2023-11-25 Thread Byung-Hee HWANG
Schwibinger Michael writes: > Sorry for bad English. > > I try again. > > I did burn a DVD. > > I try to copy the DVD to HD. > > mc ist not accepting the DVD. > > DD same. > > Shall I use ddrescue. > > Regards > > Sorry for been so much stupi

AW: AW: Part II dd copy destroyed DVD

2023-11-25 Thread Schwibinger Michael
Sorry for bad English. I try again. I did burn a DVD. I try to copy the DVD to HD. mc ist not accepting the DVD. DD same. Shall I use ddrescue. Regards Sorry for been so much stupid. Sophie Von: Andrew M.A. Cater Gesendet: Mittwoch, 22. November 2023

Re: AW: Part II dd copy destroyed DVD

2023-11-24 Thread David Christensen
eck the HD. There I can see 2 GB of files. So mc did copy 50% or less or more of the DVD. So I think during burning some files are made by "bad burning." So the idea was: Copy with dd. So question:Is it better to use dvdcopy or another tool? STFW dvdisaster(1) looks like it might be ab

AW: Part II dd copy destroyed DVD

2023-11-24 Thread Schwibinger Michael
id copy 50% or less or more of the DVD. So I think during burning some files are made by "bad burning." So the idea was: Copy with dd. So question:Is it better to use dvdcopy or another tool? Regards Sophe Von: to...@tuxteam.de Gesendet: Mittwoch, 22.

Re: Part II dd copy destroyed DVD

2023-11-22 Thread to...@tuxteam.de
On Wed, Nov 22, 2023 at 02:11:13PM +, Schwibinger Michael wrote: > > Yes. > This is the problem. > So mc cannot copy all files Perhaps. But perhaps not. It is possible we misunderstand. Can you please - show us the file name you are trying to copy the ISO to? Please, with the full path.

AW: Part II dd copy destroyed DVD

2023-11-22 Thread Schwibinger Michael
Yes. This is the problem. So mc cannot copy all files Regards Sophie Von: to...@tuxteam.de Gesendet: Sonntag, 19. November 2023 06:59 Bis: Timothy M Butterworth Cc: debian-user@lists.debian.org Betreff: Re: Part II dd copy destroyed DVD On Sat, Nov 18, 2023

AW: Part II dd copy destroyed DVD

2023-11-21 Thread Schwibinger Michael
Good afternoon. Yes This is the problem crippled files. Thank You. Regards Sophie Von: to...@tuxteam.de Gesendet: Sonntag, 19. November 2023 06:59 Bis: Timothy M Butterworth Cc: debian-user@lists.debian.org Betreff: Re: Part II dd copy destroyed DVD On Sat

AW: Part II dd copy destroyed DVD

2023-11-19 Thread Schwibinger Michael
Betreff: Re: Part II dd copy destroyed DVD Am 18.11.2023 um 15:42:57 Uhr schrieb Schwibinger Michael: > I put in a "good" DVD. > dd if=/dev/dvd of=/path/to/dvdcopy.iso > is working and I can convert the ISO > But I put in the damaged DVD > dd cannot start. What is the err

Re: Part II dd copy destroyed DVD

2023-11-18 Thread tomas
ere. > > > > AW: Anybody familiar with dd (copy)? Sat, 4 Nov 2023 13:28:16 + > > > > https://lists.debian.org/msgid-search/as8pr10mb742781d572af09e5dc874f1dc5...@as8pr10mb7427.eurprd10.prod.outlook.com > > > I did burn a DVD. > > > Burning did make

Re: Part II dd copy destroyed DVD

2023-11-18 Thread Timothy M Butterworth
On Sat, Nov 18, 2023 at 10:17 PM Max Nikulin wrote: > On 18/11/2023 23:35, Marco Moock wrote: > > it maybe a stupid DRM? > > ... or a blank disk because nothing has been written there. > > AW: Anybody familiar with dd (copy)? Sat, 4 Nov 2023 13:28:16 + > > htt

Re: Part II dd copy destroyed DVD

2023-11-18 Thread Max Nikulin
On 18/11/2023 23:35, Marco Moock wrote: it maybe a stupid DRM? ... or a blank disk because nothing has been written there. AW: Anybody familiar with dd (copy)? Sat, 4 Nov 2023 13:28:16 + https://lists.debian.org/msgid-search/as8pr10mb742781d572af09e5dc874f1dc5...@as8pr10mb7427.eurprd10

Re: Part II dd copy destroyed DVD

2023-11-18 Thread Cindy Sue Causey
On 11/18/23, Marco Moock wrote: > Am 18.11.2023 um 15:42:57 Uhr schrieb Schwibinger Michael: > >> I put in a "good" DVD. >> dd if=/dev/dvd of=/path/to/dvdcopy.iso >> is working and I can convert the ISO >> But I put in the damaged DVD >> dd cannot sta

Re: Part II dd copy destroyed DVD

2023-11-18 Thread Arno Lehmann
Good afternoon, Am 18.11.2023 um 16:42 schrieb Schwibinger Michael: Good afternoon I m sorry again. dd does not work. I put in a "good" DVD. dd if=/dev/dvd of=/path/to/dvdcopy.iso is working and I can convert the ISO But I put in the damaged DVD dd cannot start. again, you forgot

Re: Part II dd copy destroyed DVD

2023-11-18 Thread Marco Moock
Am 18.11.2023 um 15:42:57 Uhr schrieb Schwibinger Michael: > I put in a "good" DVD. > dd if=/dev/dvd of=/path/to/dvdcopy.iso > is working and I can convert the ISO > But I put in the damaged DVD > dd cannot start. What is the error message? Are you sure the DVD is broke

Part II dd copy destroyed DVD

2023-11-18 Thread Schwibinger Michael
Good afternoon I m sorry again. dd does not work. I put in a "good" DVD. dd if=/dev/dvd of=/path/to/dvdcopy.iso is working and I can convert the ISO But I put in the damaged DVD dd cannot start. How about: dvdread ddrescue debiandvdbackup acidrip isobuster and wine. Second:How ca

Re: Part III BIN=? AW: Anybody familiar with dd (copy)?

2023-11-12 Thread Timothy M Butterworth
On Sun, Nov 12, 2023 at 12:16 PM Schwibinger Michael wrote: > Good morning > > I did try it > with a good DVD > > dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M > > And this did work. > > I tried with the bad DVD > > Bug. > Message Cannot read file Read write probl

AW: Part III BIN=? AW: Anybody familiar with dd (copy)?

2023-11-12 Thread Schwibinger Michael
Good morning I did try it with a good DVD dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M And this did work. I tried with the bad DVD Bug. Message Cannot read file Read write problem. What do I do wrong. And how to mount a bin file? Sorry Regards Sophie Von: to

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Pocket
On 11/11/23 18:19, Timothy Butterworth wrote: On November 11, 2023, at 5:54 PM, Pocket wrote: > > >On 11/11/23 17:42, Timothy Butterworth wrote: > >On November 11, 2023, at 5:21 PM, Schwibinger Michael wrote: > >> >> >>dd if=/dev/sr0 of=/tmp/dvd.bin bs=

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Timothy Butterworth
On November 11, 2023, at 5:54 PM, Pocket wrote: > > >On 11/11/23 17:42, Timothy Butterworth wrote: > >On November 11, 2023, at 5:21 PM, Schwibinger Michael wrote: > >> >> >>dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M >> >>Good afternoon >> >&g

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Pocket
On 11/11/23 17:42, Timothy Butterworth wrote: On November 11, 2023, at 5:21 PM, Schwibinger Michael wrote: > > >dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M > >Good afternoon > >This did work > >Thank You. > >But now the bin. > >I did > >chmod +x dvd.bi

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Timothy Butterworth
On November 11, 2023, at 5:21 PM, Schwibinger Michael wrote: > > >dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M > >Good afternoon > >This did work > >Thank You. > >But now the bin. > >I did > >chmod +x dvd.bin > >./dvd.bin > >This did not work.

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Michel Verdier
On 2023-11-11, to...@tuxteam.de wrote: > Your provider, hotmail hates me. Why? Because you must reply to the list and to the list only. Else you generate a duplicate (= same message-id).

Re: Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread tomas
On Sat, Nov 11, 2023 at 02:05:19PM +, Schwibinger Michael wrote: > dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M > > Good afternoon > This did work > Thank You. > > But now the bin. > > I did > > chmod +x dvd.bin > > ./dvd.bin dvd.bin is a CDROM image. Yo

Part II BIN=? AW: Anybody familiar with dd (copy)?

2023-11-11 Thread Schwibinger Michael
dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M Good afternoon This did work Thank You. But now the bin. I did chmod +x dvd.bin ./dvd.bin This did not work. Step 1 think ok no bug report Step 2: ./dvd.bin: 1: Syntax error: "(" unexpected Regards Sophie V

Re: AW: Anybody familiar with dd (copy)?

2023-11-10 Thread Max Nikulin
On 10/11/2023 00:36, Schwibinger Michael wrote: $ dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden Is it real disk or peace of plastic that is put into the box to protect stack of recordable disks?

AW: Anybody familiar with dd (copy)?

2023-11-09 Thread Schwibinger Michael
Hello I = newbie think dd cannot find the DVD. Am I wrong? Regards Sophie Von: Keith Bainbridge Gesendet: Freitag, 3. November 2023 23:41 An: debian-user@lists.debian.org Betreff: Re: Anybody familiar with dd (copy)? On 4/11/23 07:14, Marco M. wrote: >

AW: Anybody familiar with dd (copy)?

2023-11-09 Thread Schwibinger Michael
Hello The DVD system is ok I put in a good DVD and did copy it with mc. This is working. I also tried to copy with DD a good DVD same problem. Where do I have to start? regards Sophie Von: to...@tuxteam.de Gesendet: Donnerstag, 09. November 2023 18:14 Bis

Re: Anybody familiar with dd (copy)?

2023-11-09 Thread tomas
On Thu, Nov 09, 2023 at 05:36:52PM +, Schwibinger Michael wrote: > $ dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M > dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden There is no CD in your drive. Or your drive is broken. Cheers -- t signature.asc Description: PGP signature

AW: Anybody familiar with dd (copy)?

2023-11-09 Thread Schwibinger Michael
$ dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden Good evening Thank You Same problem. Where do I have to start the task? Wrong directory? Regards Sophie Von: jeremy ardley Gesendet: Freitag, 3. Nov

Re: AW: Anybody familiar with dd (copy)?

2023-11-08 Thread David Christensen
On 11/8/23 05:22, Schwibinger Michael wrote: Von: David Christensen Gesendet: Freitag, 3. November 2023 21:56 On 11/3/23 12:37, Schwibinger Michael wrote: I want to copy a problem-DVD to HD with DD. Or is there any other software which can do it in an easy way? I found: dd if=/dev/sr0 of=/tmp

AW: Anybody familiar with dd (copy)?

2023-11-08 Thread Schwibinger Michael
dd: konnte '/dev/sr0' nicht öffnen: Kein Medium gefunden could not open '/dev/sr0': No media found Good afternoon Thats the same bug report with the task I did post at the beginning. Where do I have to start the task? Thank You Regards Sophie ___

Re: Anybody familiar with dd (copy)?

2023-11-05 Thread Arno Lehmann
uring burning. One important step in solving problems is identifying the problem. That latest statement of yours indicates that you have not yet done so. You need to get beyond the stage of assuming, believing or thinking something might have happened -- you need to know. Is "dd" the bes

AW: Anybody familiar with dd (copy)?

2023-11-05 Thread Schwibinger Michael
ing the data on it accessible. I am trying to copy all the recoverable contents onto a apple.stackexchange.com I put in a DVD and try to copy the data to HD mc is saying: Cannot copy. Do You want to ignore the DVD? I think there was a bug during burning. Is "dd" the best

AW: Anybody familiar with dd (copy)?

2023-11-04 Thread Schwibinger Michael
Good afternoon. Thank You. Im sorry. I did burn a DVD. Burning did make a bug. Written are JPG and TXT files. Now I want to copy DVD to HD with DD. Regards Sophie Von: Marco M. Gesendet: Freitag, 3. November 2023 20:14 An: debian-user@lists.debian.org Betreff

Re: Anybody familiar with dd (copy)?

2023-11-04 Thread Stanislav Vlasov
2023-11-04 0:37 GMT+05:00, Schwibinger Michael : > Good evening > I want to copy a problem-DVD to HD with DD. > Or is there any other software which can do it in an easy way? try gddrescue Created for disks with bads. In 1st pass get readable data, make source map and in next passes tr

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread Stefan Monnier
> I want to copy a problem-DVD to HD with DD. What kind of DVD? > Or is there any other software which can do it in an easy way? dvdbackup? > dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct > It does not work. Is it because the pooping unicorns it displays don't h

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread tomas
On Fri, Nov 03, 2023 at 07:37:02PM +, Schwibinger Michael wrote: > Good evening > I want to copy a problem-DVD to HD with DD. > Or is there any other software which can do it in an easy way? > > I found: > > dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct >

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread Keith Bainbridge
On 4/11/23 07:14, Marco M. wrote: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct Is it worth trying: sudo dd if=/dev/sr0 of=/tmp/dvd.iso -- All the best Keith Bainbridge keithrbaugro...@gmail.com keithr...@gmail.com 0447 667 468 UTC +10:00

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread Keith Bainbridge
On 4/11/23 07:14, Marco M. wrote: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct Is it worth trying: dd if=/dev/sr0 of=/tmp/dvd.iso -- All the best Keith Bainbridge keithrbaugro...@gmail.com keithr...@gmail.com 0447 667 468 UTC +10:00

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread jeremy ardley
On 4/11/23 03:37, Schwibinger Michael wrote: I found: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct It does not work. What do I do wrong? the conv and oflag parameters will be causing the problem. If you want to simply copy a disk image dd if=/dev/sr0 of=/tmp/dvd.bin bs=1M

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread David Christensen
On 11/3/23 12:37, Schwibinger Michael wrote: Good evening I want to copy a problem-DVD to HD with DD. Or is there any other software which can do it in an easy way? I found: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct It does not work. What do I do wrong? Regards Sophie

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread Arno Lehmann
Hi, Am 03.11.2023 um 20:37 schrieb Schwibinger Michael: Good evening I want to copy a problem-DVD to HD with DD. Or is there any other software which can do it in an easy way? Is this a vide DVD or data? I found: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct It does not work

Re: Anybody familiar with dd (copy)?

2023-11-03 Thread Marco M.
Am 03.11.2023 um 19:37:02 Uhr schrieb Schwibinger Michael: > I want to copy a problem-DVD to HD with DD. Some programs are listed here, maybe translate them: https://wiki.ubuntuusers.de/DVDs_rippen/ https://wiki.ubuntuusers.de/DVDs_manuell_rippen/ > Or is there any other software which

Anybody familiar with dd (copy)?

2023-11-03 Thread Schwibinger Michael
Good evening I want to copy a problem-DVD to HD with DD. Or is there any other software which can do it in an easy way? I found: dd if=/dev/sr0 of=/tmp/dvd.bin conv=noerror oflag=direct It does not work. What do I do wrong? Regards Sophie

Re: Safer ways to write an ISO onto USB stick [was Re: Repair partition after dd]

2021-07-14 Thread David Christensen
1", GROUP="floppy" This could have prevented the mishap, indeed, provided that /dev/sda is an internal SATA disk. But i think that the criterion of being "removable" does not sufficiently characterize a valid target for dd-ing an installation ISO, although being an internal d

Re: Repair partition after dd

2021-07-14 Thread songbird
wrote: ... > My experience, too. I've done that for other people now and then > (because this never happens to me [1]) and when they say "gee... > this is taking long", my reply is "wait until we've to go over all > that "recovered" stuff". many years ago i had a windows check disk of about 300

Re: Repair partition after dd

2021-07-14 Thread tomas
On Wed, Jul 14, 2021 at 10:36:23AM +, neroni_and...@yahoo.it wrote: > [...] Something has been retrieved, I'll need a lot of time to go over > everything though. My experience, too. I've done that for other people now and then (because this never happens to me [1]) and when they say "gee...

Re: Repair partition after dd

2021-07-14 Thread neroni_and...@yahoo.it
y what you are suggesting. > - Determine the byte size of the ISO image that was copied to /dev/sda5. > > - To get some reasonable throughput, divide the byte size by 2048 which >  will yield the block count. Let's assume the result is 714752. > > - Now zeroize the ISO's

Safer ways to write an ISO onto USB stick [was Re: Repair partition after dd]

2021-07-14 Thread Thomas Schmitt
ppy" This could have prevented the mishap, indeed, provided that /dev/sda is an internal SATA disk. But i think that the criterion of being "removable" does not sufficiently characterize a valid target for dd-ing an installation ISO, although being an internal disk is a strong indica

Re: Repair partition after dd

2021-07-14 Thread Brian
On Tue 13 Jul 2021 at 22:12:28 +, Andrea Neroni wrote: > While preparing a bootable USB a wild dd command was executed on the > wrong partition, namely on /dev/sda5 instead of the intended /dev/sdb. > The consequences are easy to imagine. It would be nice to avoid having to

Re: Repair partition after dd

2021-07-14 Thread tomas
On Wed, Jul 14, 2021 at 10:09:17AM +0200, Thomas Schmitt wrote: > Hi, [good advise, as always from Thomas] > (If enough empty storage is available, then i'd advise to make a plain > copy of /dev/sda5 before beginning to fiddle with it.) Oh, yes. Forgot that. Make *always* a copy and play on that

Re: Repair partition after dd

2021-07-14 Thread Thomas Schmitt
quite similar to the original mistake: - Determine the byte size of the ISO image that was copied to /dev/sda5. - To get some reasonable throughput, divide the byte size by 2048 which will yield the block count. Let's assume the result is 714752. - Now zeroize the ISO's range in /dev

Re: Repair partition after dd

2021-07-14 Thread tomas
On Wed, Jul 14, 2021 at 12:26:29PM +0500, Alexander V. Makartsev wrote: [...] > >> testdisk > >(Formerly called PhotoRec) [...] > It looks like these two are different programs with different purposes. > https://www.cgsecurity.org/wiki/Main_Page (I guess the above snippet is what you're refer

Re: Repair partition after dd

2021-07-14 Thread Alexander V. Makartsev
On 14.07.2021 11:55, to...@tuxteam.de wrote: On Tue, Jul 13, 2021 at 10:40:20PM -0400, songbird wrote: Andrea Neroni wrote: ... Question: having those information, is it possible to repair the partition = to a state where I can copy away as much data I can and how can I do it? Thanks to everybo

Re: Repair partition after dd

2021-07-13 Thread tomas
On Tue, Jul 13, 2021 at 10:40:20PM -0400, songbird wrote: > Andrea Neroni wrote: > ... > > Question: having those information, is it possible to repair the partition = > > to a state where I can copy away as much data I can and how can I do it? > > Thanks to everybody! > > > testdisk (Formerly

Re: Repair partition after dd

2021-07-13 Thread Alexander V. Makartsev
On 14.07.2021 03:12, Andrea Neroni wrote: Hi all, While preparing a bootable USB a wild dd command was executed on the wrong partition, namely on /dev/sda5 instead of the intended /dev/sdb. The consequences are easy to imagine. However, as the start of the disk has not been touched (the

Re: Repair partition after dd

2021-07-13 Thread songbird
Andrea Neroni wrote: ... > Question: having those information, is it possible to repair the partition = > to a state where I can copy away as much data I can and how can I do it? > Thanks to everybody! testdisk songbird

Repair partition after dd

2021-07-13 Thread Andrea Neroni
Hi all, While preparing a bootable USB a wild dd command was executed on the wrong partition, namely on /dev/sda5 instead of the intended /dev/sdb.The consequences are easy to imagine. However, as the start of the disk has not been touched (the command run on sda5) I still have some hope to be

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread Michael Stone
On Sat, Jul 03, 2021 at 02:34:56PM -0700, David Christensen wrote: On 7/3/21 6:44 AM, Michael Stone wrote: On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880    truncate-sparse I expected

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread David Christensen
On 7/3/21 6:44 AM, Michael Stone wrote: On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880    truncate-sparse I expected sparse files, but du(1) does not indicate such (?). You used --bytes

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread Michael Stone
On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880 truncate-sparse I expected sparse files, but du(1) does not indicate such (?). You used --bytes, which per the man page implies --apparent

Re: Useless use of shell pipelines [was: Useful use of dd]

2021-07-03 Thread Greg Wooledge
On Sat, Jul 03, 2021 at 10:23:39AM +0200, l0f...@tuta.io wrote: > 2 juil. 2021, 23:30 de dpchr...@holgerdanske.com: > > $ cat useless-use-of-grep > > This is the first line: bla bla bla. > > This is line : bla bla bla. > > This is the last line: bla bla bla. > Here is a better `sed` if you wan

Re: Useless use of shell pipelines [was: Useful use of dd]

2021-07-03 Thread l0f4r0
Hi, 2 juil. 2021, 23:30 de dpchr...@holgerdanske.com: > Perhaps the underlying issue is useless use of shell pipelines ("The Unix > Way"): > > 2021-07-02 12:44:43 dpchrist@dipsy ~/sandbox/perl > $ cat useless-use-of-grep > This is the first line: bla bla bla. > This is line : bla bla bla. >

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-03 Thread tomas
On Sat, Jul 03, 2021 at 10:14:46AM +0300, Gunnar Gervin wrote: > Hi, Debian user 'club': > How can I get off this list in Android mobile? No idea about Android mobile (whatever that is ;-) but every mail you receive via this list carries the instructions. Look at the headers (however your mail cli

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-03 Thread Gunnar Gervin
t 07:31:24AM -0400, Greg Wooledge wrote: > > > On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote: > > > > sudo dd of=/etc/hosts oflags=append > > > > > > This appears to be a typo for "oflag=append", which is a GNU extension, &

Re: Creation of empty files [was: Useful use of dd]

2021-07-02 Thread David Christensen
On 7/2/21 2:30 PM, David Christensen wrote: I expected sparse files, but du(1) does not indicate such (?). Comments? RTFM ls(1) and the '-s' and '--block-size' options. David

Re: Useful use of dd

2021-07-02 Thread David Christensen
On 7/2/21 4:25 AM, Teemu Likonen wrote: * 2021-07-02 12:52:53+0200, Thomas Schmitt wrote: Teemu Likonen wrote: For this new subject I will add another use: quickly create empty file of specific size, for example 5 * 1024 bytes: $ dd of=empty obs=1024 seek=5 count=0 Not to forget

Creation of empty files [was: Useful use of dd]

2021-07-02 Thread David Christensen
On 7/2/21 11:51 AM, Kushal Kumaran wrote: On Fri, Jul 02 2021 at 01:26:23 PM, Teemu Likonen wrote: For this new subject I will add another use: quickly create empty file of specific size, for example 5 * 1024 bytes: $ dd of=empty obs=1024 seek=5 count=0 2021-07-02 14:20:47 dpchrist

Useless use of shell pipelines [was: Useful use of dd]

2021-07-02 Thread David Christensen
On 7/2/21 12:49 AM, to...@tuxteam.de wrote: Now to another pet peeve of mine: useless use of grep: grep | sed -e 's/bla/foo/' ... Perhaps the underlying issue is useless use of shell pipelines ("The Unix Way"): 2021-07-02 12:44:43 dpchrist@dipsy ~/sandbox/perl $ cat useless-use-o

Re: Useless use of "dd"

2021-07-02 Thread David Christensen
On 7/1/21 10:40 PM, Teemu Likonen wrote: * 2021-07-01 20:43:09-0700, David Christensen wrote: To "take an image", the script invokes dd(1) and pipes the output to gzip(1), copying raw device octets to a file. To "restore an image", the process is reversed. Sounds like

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread Kushal Kumaran
On Fri, Jul 02 2021 at 01:26:23 PM, Teemu Likonen wrote: > * 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote: > >> FWIW, I've found something which could be deemed to be an "useful use >> of dd" which somehow bears a hidden symmetry. As a replacement for >>

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread tomas
On Fri, Jul 02, 2021 at 10:02:49AM -0500, David Wright wrote: > On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote: [...] > > Eek. Thanks. > > This reminds me of the sentiment expressed in > https://lists.debian.org/debian-user/2019/08/msg01454.html :-) Cheers - t signature.asc

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread David Wright
On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote: > On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg Wooledge wrote: > > On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote: > > > sudo dd of=/etc/hosts oflags=append > > > > This appears

Re: Useful use of dd

2021-07-02 Thread Michael Stone
useful use of dd" which somehow bears a hidden symmetry. As a replacement for `cat' whenev

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread tomas
On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg Wooledge wrote: > On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote: > > sudo dd of=/etc/hosts oflags=append > > This appears to be a typo for "oflag=append", which is a GNU extension, > not part of the s

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread Greg Wooledge
On Fri, Jul 02, 2021 at 09:49:23AM +0200, to...@tuxteam.de wrote: > sudo dd of=/etc/hosts oflags=append This appears to be a typo for "oflag=append", which is a GNU extension, not part of the standard POSIX dd. No wonder I didn't know about it. ;-) The bullseye version o

Re: Useful use of dd

2021-07-02 Thread Teemu Likonen
* 2021-07-02 12:52:53+0200, Thomas Schmitt wrote: > Teemu Likonen wrote: >> For this new subject I will add another use: quickly create empty file >> of specific size, for example 5 * 1024 bytes: >>$ dd of=empty obs=1024 seek=5 count=0 > > Not to forget creation of

Re: Useful use of dd

2021-07-02 Thread tomas
On Fri, Jul 02, 2021 at 12:52:53PM +0200, Thomas Schmitt wrote: > Hi, > > Teemu Likonen wrote: > > For this new subject I will add another use: quickly create empty file > > of specific size, for example 5 * 1024 bytes: > >$ dd of=empty obs=1024 seek=5 count=0 >

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread tomas
On Fri, Jul 02, 2021 at 01:26:23PM +0300, Teemu Likonen wrote: > * 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote: > > > FWIW, I've found something which could be deemed to be an "useful use > > of dd" which somehow bears a hidden symmetry. As a replacement f

Re: Useful use of dd

2021-07-02 Thread Thomas Schmitt
Hi, Teemu Likonen wrote: > For this new subject I will add another use: quickly create empty file > of specific size, for example 5 * 1024 bytes: >$ dd of=empty obs=1024 seek=5 count=0 Not to forget creation of sparse files with few disk consumption. For testing zisofs i have

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread Teemu Likonen
* 2021-07-02 09:49:23+0200, to...@tuxteam.de wrote: > FWIW, I've found something which could be deemed to be an "useful use > of dd" which somehow bears a hidden symmetry. As a replacement for > `cat' whenever you need to put a name on the output file. For this new s

Useful use of dd [was: Useless use of "dd"]

2021-07-02 Thread tomas
On Fri, Jul 02, 2021 at 08:40:39AM +0300, Teemu Likonen wrote: [...] > dd if=/dev/sdX | gzip >image.gz > > is slower but functionally the same as either of these: > > gzip image.gz > gzip --to-stdout /dev/sdX >image.gz Quite right -- akin to "useless u

Useless use of "dd"

2021-07-01 Thread Teemu Likonen
* 2021-07-01 20:43:09-0700, David Christensen wrote: > To "take an image", the script invokes dd(1) and pipes the output to > gzip(1), copying raw device octets to a file. To "restore an image", > the process is reversed. Sounds like the classic "useless u

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Brian
On Mon 17 May 2021 at 14:39:47 -0400, Greg Wooledge wrote: > On Mon, May 17, 2021 at 07:25:38PM +0100, Brian wrote: > > On Mon 17 May 2021 at 11:01:33 -0400, Greg Wooledge wrote: > > > > [...] > > > > > Done! Now, let's try that with pinfo date. I ran pinfo date from my > > > shell, which took

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Greg Wooledge
On Mon, May 17, 2021 at 07:25:38PM +0100, Brian wrote: > On Mon 17 May 2021 at 11:01:33 -0400, Greg Wooledge wrote: > > [...] > > > Done! Now, let's try that with pinfo date. I ran pinfo date from my > > shell, which took me to one of the pages within the tree of coreutils > > texinfo documenta

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Brian
On Mon 17 May 2021 at 11:01:33 -0400, Greg Wooledge wrote: [...] > Done! Now, let's try that with pinfo date. I ran pinfo date from my > shell, which took me to one of the pages within the tree of coreutils > texinfo documentation corresponding to the date program. This particular > page is ti

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > That's in the info(1) tool. I agree, info has a better search ability > than pinfo(1). Oops. I did not make the connection from your final statement to your mentioning of pinfo. (I could make excuses that you mention "info and pinfo" on the way to the end. But actually

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Greg Wooledge
On Mon, May 17, 2021 at 04:09:37PM +0200, Thomas Schmitt wrote: > Hi, > > Greg Wooledge wrote: > > the inability to *search* within the > > info page to find occurrences of your keyword can be maddening. > > It's not _that_ terrible. Pressing in > in

Re: OT: minimum bs for dd?

2021-05-17 Thread Brian
On Mon 17 May 2021 at 08:59:43 +0300, Andrei POPESCU wrote: [...] > I'll raise you 'cp': > > cp foo.iso /dev/sdb > > > which is both fast and short to type (apparently it's smart about using > the correct block size). > > Unfortunately it's missing dd's equivalent of status=progress. As

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Thomas Schmitt
Hi, Greg Wooledge wrote: > the inability to *search* within the > info page to find occurrences of your keyword can be maddening. It's not _that_ terrible. Pressing in info dd the "/" key, i get a prompt Regexp search []: The input "dsync" brings me to th

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread tomas
On Mon, May 17, 2021 at 09:38:49AM -0400, Greg Wooledge wrote: [...] > Now, as for the info pages themselves: unlike traditional man pages, > where all of the documentation is on one page, in which you can scroll > up and down and search, info pages are chopped up into tiny little > sections, and

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Richard Owlett
On 05/17/2021 08:21 AM, IL Ka wrote: I got the impression from the search hits I got info pages were available on the web complete with useful hyperlinks. In a terminal "info dd" gives an annoying blob of text. Due to visual limits I *MUCH* prefer HTML for large amounts of informati

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread Greg Wooledge
On Mon, May 17, 2021 at 03:03:22PM +0200, to...@tuxteam.de wrote: > Try typing in a terminal `info dd' and see what happens :) unicorn:~$ info dd bash: info: command not found ;-) GNU's info pages are a highly debated thing, in some circles. Many people despise them, some people l

Re: info pages WHERE? -- was [Re: OT: minimum bs for dd?]

2021-05-17 Thread IL Ka
> I got the impression from the search hits I got info pages were > available on the web complete with useful hyperlinks. > > In a terminal "info dd" gives an annoying blob of text. Due to visual > limits I *MUCH* prefer HTML for large amounts of information. > All

  1   2   3   4   5   6   7   >