-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

G T Smith wrote:
> 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:
> 
>> [EMAIL PROTECTED]:~> cd /usr/src/packages/SOURCES
>> [EMAIL PROTECTED]:/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
>> [EMAIL PROTECTED]:/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
>> [EMAIL PROTECTED]:/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
>> [EMAIL PROTECTED]:/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
>> [EMAIL PROTECTED]:/usr/src/packages/SOURCES> sudo mount /dev/hdc /mnt
>> root's password:
>> mount: you must specify the filesystem type
>> [EMAIL PROTECTED]:/usr/src/packages/SOURCES>
>> [EMAIL PROTECTED]:/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....
> 
> 

OK, on my old and now dead DVD device this worked with -c (dunno why
suspect it was rather slow so one could get a constant data stream)...

Does not work on the newer replacement without -cz and then unreliably
(get an I/O error)..but files are extractable, so this seems to be
hardware related...

still can read tar archive directly however...




- --
==============================================================================
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

iD8DBQFHFkd5asN0sSnLmgIRAq/zAKD23qibsjgIahLhQSbkSdMH1YjtdwCg8Ach
pnc/4Og0ZUk9jr+no30lNXQ=
=m7KA
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to