-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Bolt wrote:
On Wed, 17 Oct 2007, G T Smith wrote:-
<snip>
You do not need dd (or mount), tar with with the DVD/CD device name as target does it nicely for reading (and writing). I would expect multi-volume tar to work in the same way as it would with a tape device in this scenario...
Would you mind letting me know just what options you used to make tar write straight to a DVD? A few tests here, both as a normal user and root, fail as shown below:
davjam@lion:~> cd /usr/src/packages/SOURCES davjam@lion:/usr/src/packages/SOURCES> ls -l total 236 -rw-r--r-- 1 davjam users 233501 2007-10-14 21:54 mplayerplug-in-3.45-0.pm.2.src.rpm davjam@lion:/usr/src/packages/SOURCES> tar cf /dev/hdc mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/hdc: Cannot open: Read-only file system tar: Error is not recoverable: exiting now davjam@lion:/usr/src/packages/SOURCES> tar cf /dev/dvdrw mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/dvdrw: Cannot open: Read-only file system tar: Error is not recoverable: exiting now davjam@lion:/usr/src/packages/SOURCES> tar c --file=/dev/dvdrw mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/dvdrw: Cannot open: Read-only file system tar: Error is not recoverable: exiting now davjam@lion:/usr/src/packages/SOURCES> sudo mount /dev/hdc /mnt root's password: mount: you must specify the filesystem type davjam@lion:/usr/src/packages/SOURCES> davjam@lion:/usr/src/packages/SOURCES> su - Password: lion:~ # cd /usr/src/packages/SOURCES lion:/usr/src/packages/SOURCES # tar cf /dev/hdc mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/hdc: Cannot open: Read-only file system tar: Error is not recoverable: exiting now lion:/usr/src/packages/SOURCES # tar cf /dev/dvdrw mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/dvdrw: Cannot open: Read-only file system tar: Error is not recoverable: exiting now lion:/usr/src/packages/SOURCES # tar c --file=/dev/dvdrw mplayerplug-in-3.45-0.pm.2.src.rpm tar: /dev/dvdrw: Cannot open: Read-only file system tar: Error is not recoverable: exiting now
Regards, David Bolt
Hmmm... you mounted the media, umount then try.... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHFkA2asN0sSnLmgIRAm1dAKDJhBKmkX2tz/zXoNIzRt4s6j/4kwCg7zLH V5SL+EM7lF4utSdvimu3rAE= =jPUD -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org