TIP: Click on subject to list as thread! ANSI
echo: linux
to: Jeff Smith
from: Kai Richter
date: 2019-08-31 17:04:28
subject: Burning a DVD from the commandline?

Hello Jeff!

To all experts, technically some statements in this mail are wrong, i tried
to reduce complexity by keeping it user friendly from a user point of view.

29 Aug 19, Jeff Smith wrote to Richard Falken:

 JS> But all I wish to do  create a simple "Copy-N-Paste" to the DVD of
 JS> the directory.

You can't do that and...

 JS> IOW, the backed up directory would be as easily readable from the DVD
 JS> as it was from the HDD.

...you can't do that on a HDD. You think you could do that because your HDD
is already prepared.

The DVD and the HDD are just storage devices that provide space.

How this space is used needs to be defined. You "install" a file
system with the mkfs* commands or in common speek you put a format to the
disc.

Once formated your operating system can re-use the filesystem on
"write many times" devices like HDD/SDD.

A CD/DVD is not a true RW media it's a "write one time" device. A
CD/DVD-R is always empty if new and needs to get a filesystem any time.
That's what the mkisofs is for.

 >> I cannot speak for him, but needing to create a whole ISO image,
 >> store and then record it... well, it is a bit ugly and wastes
 >> storage space.

Useful for slow systems. The writing process to the DVD must not be
interrupted. If your PC can deliver the minimum writing throughput the
created ISO image of mkisofs can be piped to the cdrecord software
directly.

 JS> I can burn the directory manually by using one of the available CD/DVD
 JS> burning apps. And simply selecting the directory in the app and click
 JS> burn.

 JS> But was hoping to automate the process with the use of a BASH script.

For DVD "man growisofs".

----
To master and burn an ISO9660 volume with Joliet and Rock-Ridge extensions
on a DVD or Blu-ray Disc:

growisofs -Z /dev/dvd -R -J /some/files
----

It invokes mkisofs, you need to check "man mkisofs" for its
switches (-R -J).

The data stream is directly piped to /dev/dvd without creating an ISO on
the hard disk nor a complete image in the RAM.

Make sure you use the --dry-run switch for testing.

Regards

Kai

--- GoldED+/LNX 1.1.4.7
* Origin: Monobox (2:240/77)
SEEN-BY: 103/705 154/10 203/0 221/0 1 6 242 360 229/426 240/77 5138 5832 5853
SEEN-BY: 280/464 5003 292/854 310/31 320/219 396/45 423/120 633/0 267 280 281
SEEN-BY: 633/384 410 412 509 640/1321 1384 712/848 770/1 2432/390 2452/250
SEEN-BY: 2454/119 5020/545
@PATH: 240/77 5832 280/464 221/1 640/1384 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.