Re: Unidentified subject!
_N4R3N_ wrote: hi I want to take data backup on to a cdrom.My problem is when i want to write two directories with the same name like 1./var/www 2./home/naren/www Sice both direcories have the same name(Since making an iso image with the two dirs combined is impossible ,since /home/naren/www automatically overwrites /var/www in an iso) Since mkisofs does not take in to matter the path to which the (I donno completely ) files r there but only takes in to accont the last name (i mean only the 'www' part) So finally i want to write it as 1. var.www 2.home.naren.www to make an iso image such that when it is burned on a cd gives two dirs var.www and home.naren.www I have to make some manipulation when trying to make them(1./var/www,2./home/naren/www) to iso image and then burn it on a cd How do i do this ??? Any suggestions See -graft-points and use the full name on the ISO image (like /home/me=/home/me) -- bill davidsen [EMAIL PROTECTED] CTO TMR Associates, Inc Doing interesting things with small computers since 1979 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: AW: Backup format to ISO?
On Tuesday 16 November 2004 11:29, Hermes, Stefan wrote: Do you know of any program which will accept tar or cpio format as input and generates an ISO-9660 image for burning? I have a large box full of 4GB 4mm DAT tapes which should go on DVD, and they are in tar or cpio format. Currently the only option is to unpack them to disk and then create an image and burn it. If I understand the desire correctly here, it is to transfer the data from one medium to another medium of a different type. I would believe that with both of these devices it is possible to be read and write directly. I use the sdd program to directly write tar backups to DVD+RW medium daily on multiple servers. The process does require a special 2.4.x kernel to be built with a patch. I would not know about 2.6.x kernel support. I think the DVD writer also requires raw device support. The sdd progam is required to create an output block size of 32k if I recall from the write up. The command would be something to the following if the dvd writer was bound to raw1: sdd if=/dev/tape of=/dev/raw/raw1 obs=32k This process will not produce an ISO-9660 image on the DVD+RW. So it will not be mountable. But it will provide the sequential access structure that the original medium contained. The produced copy can be read back or restored just like the original medium using tar, cpio, etc. like the original tape. Since the capacity of the tape may be slightly less than that of the DVD+RW medium, the structure size and block counts could probably be ignored. An error would result at the end of the tape and terminate the transfer. I would consider this the fastest and most efficient process to transfer the data to the new medium. Further information can be found here: http://fy.chalmers.se/~appro/linux/DVD+RW/ Cheers, James -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Strange behaviour of growisofs -Z option
growisofs -Z $DEV -R -J $FILE_TO_BURN ... Now, if I run this script on a newly formatted (in restricted mode) support, everything is fine. But if I run this script again, on the same support, freshly burned, 1- I get a lot of mkisofs errors complaining about too long file names (Joliet tree sort failed. The -joliet-long switch may help you) ; 2- growisofs aborts in a strange manner : I get : :-( write failed: Input/output error severe_error: command not found ... - why mkisofs is concerned by the -Z option ? I thought -Z means destroy previous datas, write new. It looks like mkisofs tries to expand my .gz, then the files and folders inside the tar's, ending with the error shown above ; Did you already try option -use-the-force-luke ? See growisofs.c (5.19-1): * - undocumented -use-the-force-luke flag to overwrite the media I got no experience with growisofs calling mkisofs but use a pipe like this : mkisofs -R -J $FILE_TO_BURN | \ growisofs -use-the-force-luke -dvd-compat -Z /dev/hdc=/proc/self/fd/0 on console and my script continues because RETVAL is still at 0... Questions : - what's about growisofs and error management ? At least with the usual mistakes (no DVD, CD-RW rather than DVD) it works fine for me (both cases return 252). If you put mkisofs into a wrapper script and watch its return value then you will also note the broken pipe (mkisofs returns 141 then). Have a nice day :) Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]