Re: New tool for packing files into an ISO image
Tom Horsley wrote: On Thu, 8 Dec 2011 18:50:46 -0800 BitBucket wrote: Tom: I'm a bit behind the curve (as a matter of policy, mostly). What would be an 'old' tool for packing files into an ISO image that you were improving upon? Looking for Windows GUI-based tools here, to pack offloads onto DVDs. As far as I know, there is no old tool for doing this. This one is new because I just wrote it, not because it replicates the function of some old tool (at least I couldn't find any existing tool or I probably wouldn't have written this one :-). There is a useful tool for determining what will fit on a media size, and it has been around. since the mid 1990s, called breaker. It takes as input a list of items and sizes, such as are creates by ls -s | sort -n or du -S | sort -n and you provide the size of the media, optional rounding up in size of each item, optional fixed overhead per item (tar/cpio headers), and have options to generate a file list inone-file-per-media format and optionally use a format suitable for the "graftpoints" option in cdrecord. It's still on public.tmr.com as source, I started it before CD burners were common and I was backing up a massice 600MB drive to 60MB takes. The problem hasn't changed, the numbers have just gotten bigger. :-( -- Bill Davidsen We are not out of the woods yet, but we know the direction and have taken the first step. The steps are many, but finite in number, and if we persevere we will reach our destination. -me, 2010 -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/4f0b43c4.9050...@tmr.com
Re: cdrskin: how to get quick BD-RE format?
Hi, > > blank=format_defectmgt_cert_off > Ok, but this is not "automatic" as as_needed, right? Well ... the manual says one can combine it with other blank= options. Interesting challenge. So i try: $ cdrskin -vv dev=/dev/sr3 \ blank=format_defectmgt_cert_off blank=as_needed ... cdrskin: status 1 burn_disc_blank "The drive holds a blank disc" Current: BD-RE cdrskin: NOTE : blank=as_needed : no need for action detected $ Looks ok for the case of an already formatted disk. (-vv causes the "NOTE" message in case of inaction.) Be so kind and test with an unformatted BD-RE whether it is quicker than blank=as_needed alone. Note that the sequence of blank= options matters here. First _cert_off, then as_needed to override the unconditional aspect of _cert_off. > So, first I should check with > cdrskin -minfo -v > if > disk status: empty > So as to format only when "empty". In principle, yes. I'd advise --list_formats, though: $ cdrskin -v dev=/dev/sr3 --list_formats 2>/dev/null | \ fgrep 'Format status' Format status: unformatted, up to 23866.0 MiB $ In contrast to Format status: formatted, with 23098.0 MiB > Does this work for BD-R too? Besides the fact that BD-R work unformatted too, "empty" should indeed indicate a BD-R that is still formattable. You will need option blank=format_if_needed because blank=as_needed will be satisfied with seeing a blank BD-R (unlike with BD-RE which cannot be used unformatted). Option --list_formats yields: Unused BD-R: Format status: unformatted, up to 23866.0 MiB Unformatted used BD-R: Format status: written, with 9690.4 MiB BD Spare Area: 0 blocks consumed, 0 blocks available Formatted used BD-R: Format status: written, with 13682.4 MiB BD Spare Area: 0 blocks consumed, 196608 blocks available Have a nice day :) Thomas -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/100126054621882@192.168.2.69
Re: cdrskin: how to get quick BD-RE format?
On Mon, 09 Jan 2012 17:13:29 +0100, "Thomas Schmitt" wrote: >Can it be you mean blank=as_needed ? Yes. >The matching cdrskin blank type of cdrskin for Sub-type 2 would be > blank=format_defectmgt_cert_off Ok, but this is not "automatic" as as_needed, right? So, first I should check with cdrskin -minfo -v if disk status: empty and if so I should issue cdrskin blank=blank=format_defectmgt_cert_off -v -data .. otherwise cdrskin -v -data ... right? So as to format only when "empty". Does this work for BD-R too? >You may chose other format sizes by a further blank= option. I'd like to leave it as automatic as possible, if blank=blank=format_defectmgt_cert_off if a good default I'll use it as is. >The latter refers to the idx numbers as listed by > $ cdrskin -v dev=/dev/sr3 --list_formats Media current: BD-RE Format status: formatted, with 23098.0 MiB BD Spare Area: 0 blocks consumed, 393216 blocks available Format idx 0 : 00h , 11826176s , 23098.0 MiB Format idx 1 : 30h , 11826176s , 23098.0 MiB Format idx 2 : 30h , 11564032s , 22586.0 MiB Format idx 3 : 30h , 12088320s , 23610.0 MiB Format idx 4 : 31h , 12219392s , 23866.0 MiB Thanks -- giul...@pobox.com -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/20120109163724.ec77bf...@i3.golden.dom
Re: cdrskin: how to get quick BD-RE format?
Hi, > dvd+rw-format uses type 2 for "-format=full" and type 3 else. > The matching cdrskin blank type of cdrskin for Sub-type 2 would be > blank=format_defectmgt_cert_off I meant Sub-type 3, not 2. Whatever: this option should format quicker than the default option. Have a nice day :) Thomas -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/100127349512138@192.168.2.69
Re: cdrskin: how to get quick BD-RE format?
Hi, > Now I'm trying to do w/o dvd+rw-format, so I added > format=as_needed > to the cdrskin command line already used for burning, and taken out Can it be you mean blank=as_needed ? This applies default formatting to unformatted BD-RE. > Now cdrskin will automatically format a blank BD-RE, but it's doing a full > format (ie: more than 1 hour for a 2x BD-RE), while dvd+rw-format would do a > quick (a few minutes if I remember correctly) format, just enough to get it > going. Probably the difference is in the Sub-type field of the FORMAT UNIT command. dvd+rw-format uses type 2 for "-format=full" and type 3 else. The matching cdrskin blank type of cdrskin for Sub-type 2 would be blank=format_defectmgt_cert_off This formats to default size. You may chose other format sizes by a further blank= option. Like: blank=format_defectmgt_cert_off blank=format_defectmgt_payload_23610m or blank=format_defectmgt_cert_off blank=format_by_index_2 The latter refers to the idx numbers as listed by $ cdrskin -v dev=/dev/sr3 --list_formats ... BD Spare Area: 0 blocks consumed, 393216 blocks available Format idx 0 : 00h , 11826176s , 23098.0 MiB Format idx 1 : 01h , 11564032s , 22586.0 MiB Format idx 2 : 30h , 11826176s , 23098.0 MiB Format idx 3 : 30h , 11564032s , 22586.0 MiB Format idx 4 : 30h , 12088320s , 23610.0 MiB Format idx 5 : 31h , 12219392s , 23866.0 MiB format_defectmgt_payload_... can be chosen quite freely. But extreme wishes might lead to rejection of the FORMAT UNIT command by the drive. > Should I try > format=format_if_needed > instead? For BD-RW this has the same effect as "as_needed". It will make a difference with CD-RW (no action rather than blanking), with DVD-RW (formatting rather than blanking), or unused BD-R (formatting rather than no action). Have a nice day :) Thomas -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/100127362113200@192.168.2.69
cdrskin: how to get quick BD-RE format?
cdrskin-1.1.8, Linux RHEL3 LG BE06LU10/YE05 I used to check if the inserted media was an unformatted BD-RE and, if so, I'd issue dvd+rw-format /dev/cdrom to format it before calling cdrskin to write to it. Now I'm trying to do w/o dvd+rw-format, so I added format=as_needed to the cdrskin command line already used for burning, and taken out "dvd+rw-format" Now cdrskin will automatically format a blank BD-RE, but it's doing a full format (ie: more than 1 hour for a 2x BD-RE), while dvd+rw-format would do a quick (a few minutes if I remember correctly) format, just enough to get it going. Should I try format=format_if_needed instead? From reading the manual is't not clear to me when I would want to use format_if_needed or as_needed when I want cdrsin to automatically format BD-RE/BD-R is they are blank. Thanks -- To UNSUBSCRIBE, email to cdwrite-requ...@other.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@other.debian.org Archive: http://lists.debian.org/20120109143926.8b3a7f...@i3.golden.dom