Go Back   Wireless and Wifi Forums > News > Newsgroups > alt.comp.hardware
Register FAQ Forum Rules Members List Calendar Search Today's Posts Advertise Mark Forums Read

 
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-07-2012, 10:41 AM
no.top.post@gmail.com
Guest
 
Posts: n/a
Default What happened to zillion switches in dancing-cartoon version?

After finally spending a few minutes testing the 2009 ver. KDE
I'm trying to make a DVD backup of my most important data.

I seem to remember that when I looked at a `man` ten years ago
it showed the man-ID and that I was on line 843 of 1352 total
lines. So that when I skipped between man A & man B, I could
see which one I was looking at, and if it was the one with the
stuff at approximately 40% in the man.

That seems a real useful facility compared to the dancing-cartoonS
of newer-kde.
Eg. when you're reading `man cdrecord` and it's got paragraphs
about 'mkisofs`, you don't need to wonder if you're reading the
'man mkisofs', which you opened somewhere else.

Why does `cdrecord --help | wc -l`
show "0", so now I've got no evidence of how many switches
this absurd utility lists?
And, related: `cdrecord --help | less` scrolls to the end, so
that you can't see the most-important: up-front <syntax>.

How does the dancing-cartoon version manage to work like
a toaster without a zillion switches?

I finally found where 1GB of `df` went to, by `mkisofs`
but is there any way to ask to `find <files BIGGER THAN nKB>` ?
---------
Previously [according to my log-notes] the minimal:
`mkisofs -R <dir-tree> | cdrecord <device args>`
saved files with DOS:8.3 names -- which is crap!!

Now I've spent hours generating a log of failures,
where the latest one is for:-
->
mkisofs -R /mnt/p11 | cdrecord -v fs=6m speed=2 dev=0,0 -
which reports:-
> Waiting for reader process to fill input buffer ... cdrecord:
> Unspecified command not implemented for this drive.
> cdrecord: Cannot get next writable address.
> input buffer ready.
> Writing time: 0.067s
> Fixating...
> Fixating time: 0.000s
> cdrecord: fifo had 96 puts and 0 gets.
> cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
> mkisofs: Broken pipe. cannot fwrite 32768*1


It seems that the 'fifo is not getting written to'?
I can't mount blank-DVDs and assumed that 'cdrecord` works
like `dd`.
Another 'configuration' reported that <the buffer received a
premature EOF>

Does anybody know how to save a dir-tree to DVD with these
2 old utilities, instead of with a dancing cartoons utility?

== TIA.


Reply With Quote
  #2 (permalink)  
Old 04-07-2012, 04:43 PM
Loki Harfagr
Guest
 
Posts: n/a
Default Re: What happened to zillion switches in dancing-cartoon version?

Sat, 07 Apr 2012 10:41:36 +0000, no.top.post did catÂ*:

> After finally spending a few minutes testing the 2009 ver. KDE
> I'm trying to make a DVD backup of my most important data.
>
> I seem to remember that when I looked at a `man` ten years ago
> it showed the man-ID and that I was on line 843 of 1352 total
> lines. So that when I skipped between man A & man B, I could
> see which one I was looking at, and if it was the one with the
> stuff at approximately 40% in the man.
>
> That seems a real useful facility compared to the dancing-cartoonS
> of newer-kde.
> Eg. when you're reading `man cdrecord` and it's got paragraphs
> about 'mkisofs`, you don't need to wonder if you're reading the
> 'man mkisofs', which you opened somewhere else.
>
> Why does `cdrecord --help | wc -l`
> show "0", so now I've got no evidence of how many switches


the reason is simple, will you have a guess?
$ cdrecord --help 2>&1 | wc -l
84

> this absurd utility lists?


why absurd? if you don't need to use it give it a break,
don't try and think hard about stuff you misread the very first
line...

> And, related: `cdrecord --help | less` scrolls to the end, so
> that you can't see the most-important: up-front <syntax>.


same punition for stubborn bad-readers ;-)
$ cdrecord --help 2>&1 | less


> How does the dancing-cartoon version manage to work like
> a toaster without a zillion switches?


probably using the switches behind the smokescreen.
>
> I finally found where 1GB of `df` went to, by `mkisofs`
> but is there any way to ask to `find <files BIGGER THAN nKB>` ?


yes, there are several ways to do so, I'd favor 'find'

> ---------
> Previously [according to my log-notes] the minimal:
> `mkisofs -R <dir-tree> | cdrecord <device args>`
> saved files with DOS:8.3 names -- which is crap!!


so many reasons you'd have this in your log-notes, main
might be your "cdrecord" was not the real one (was it
a Debian those years some third dev asst west coast went amok
about rewriting his own bugs nest to demonstrate he wasn't
able to read docs and code?
another favorite reason might be you took wrong notes or
misread the results in a flabbered test attempt?

after all you are the on who's yourself and you should
now try and get used to it so why always coming back in
groups before you tried and give your self a chance?

> Now I've spent hours generating a log of failures,


see, you just spent hours to generate failures then log them
that hardly seems the right way to go if you're interested in
going somewhere in the end...

> Does anybody know how to save a dir-tree to DVD with these
> 2 old utilities, instead of with a dancing cartoons utility?


could be, try something along this example:
---------------------
$ cd /...thepathwhereyourgoodiestreeis/
$ mkisofs -o /tmp/yourdvd.iso \
-R -J -A "most important data bkup" \
-hide-rr-moved \
-v -d -N \
-m 'somestuffyoudontwant*' \
-V "VolumeID" .
---------------------
and use cdrecord or growisofs at your convenience to
burn the cake when you're sure your ISO holds the vault you need.

Reply With Quote
  #3 (permalink)  
Old 04-07-2012, 06:52 PM
Paul
Guest
 
Posts: n/a
Default Re: What happened to zillion switches in dancing-cartoon version?

no.top.post@gmail.com wrote:
> After finally spending a few minutes testing the 2009 ver. KDE
> I'm trying to make a DVD backup of my most important data.
>
> I seem to remember that when I looked at a `man` ten years ago
> it showed the man-ID and that I was on line 843 of 1352 total
> lines. So that when I skipped between man A & man B, I could
> see which one I was looking at, and if it was the one with the
> stuff at approximately 40% in the man.
>
> That seems a real useful facility compared to the dancing-cartoonS
> of newer-kde.
> Eg. when you're reading `man cdrecord` and it's got paragraphs
> about 'mkisofs`, you don't need to wonder if you're reading the
> 'man mkisofs', which you opened somewhere else.
>
> Why does `cdrecord --help | wc -l`
> show "0", so now I've got no evidence of how many switches
> this absurd utility lists?
> And, related: `cdrecord --help | less` scrolls to the end, so
> that you can't see the most-important: up-front <syntax>.
>
> How does the dancing-cartoon version manage to work like
> a toaster without a zillion switches?
>
> I finally found where 1GB of `df` went to, by `mkisofs`
> but is there any way to ask to `find <files BIGGER THAN nKB>` ?
> ---------
> Previously [according to my log-notes] the minimal:
> `mkisofs -R <dir-tree> | cdrecord <device args>`
> saved files with DOS:8.3 names -- which is crap!!
>
> Now I've spent hours generating a log of failures,
> where the latest one is for:-
> ->
> mkisofs -R /mnt/p11 | cdrecord -v fs=6m speed=2 dev=0,0 -
> which reports:-
>> Waiting for reader process to fill input buffer ... cdrecord:
>> Unspecified command not implemented for this drive.
>> cdrecord: Cannot get next writable address.
>> input buffer ready.
>> Writing time: 0.067s
>> Fixating...
>> Fixating time: 0.000s
>> cdrecord: fifo had 96 puts and 0 gets.
>> cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
>> mkisofs: Broken pipe. cannot fwrite 32768*1

>
> It seems that the 'fifo is not getting written to'?
> I can't mount blank-DVDs and assumed that 'cdrecord` works
> like `dd`.
> Another 'configuration' reported that <the buffer received a
> premature EOF>
>
> Does anybody know how to save a dir-tree to DVD with these
> 2 old utilities, instead of with a dancing cartoons utility?
>
> == TIA.
>


Why you asked this in alt.comp.hardware, I'll never know.

This is a question about commands with a zillion options.
Such a design implies the person writing the software (mkisofs, cdrecord)
wants *you* to waste hours of your time, figuring it out. It's
meant to be annoying. It's highly unlikely a person with
a polished, command line invocation, is reading this thread.

Use the cartoon version, if you don't have hours to spend, and
a pile of CDs to waste. Brasero sucks. Don't use it. I use K3B,
and like it enough, I remastered a Ubuntu LiveCD, tossing OpenOffice,
just so I could have a copy of K3B in a Gnome environment. The feedback
you get from K3B, while attempting to burn an ISO, is very useful if
you've forgotten a step (like, forgot to erase your rewritable media).
(K3B is a KDE utility, which means sucking in half of KDE just so you
can have it.)

*******

http://lmgtfy.com/?q=mkisofs+cdrecord

(There are lots of tutorials around. This one doesn't answer the question
so I move on.)

http://www.ibm.com/developerworks/li...urn/index.html

(OK, now we're getting some where.)

http://cdrecord.berlios.de/private/m...ord/index.html

http://cdrecord.berlios.de/private/m...drecord.1.html

"If the overall speed of the system is sufficient and the
structure of the filesystem is not too complex, cdrecord
will run without creating an image of the ISO-9660 filesystem.
Simply run the pipeline:

mkisofs -R /master/tree | cdrecord -v -dao fs=6m speed=2 dev=2,0 -

So that's an example of a recipe. The "dao" or disk-at-once might make
a difference. Given the large number of arguments these programs take,
I expect a good number of wasted discs until the recipe is right.

ISO9660 stores files in 8.3 mode. But there are options.

http://en.wikipedia.org/wiki/Iso9660

"The standard has three different levels for interchange

Level 1: File names are limited to 8.3, uppercase, 8 directory levels
Level 2: Up to 180 characters. Single byte holds stringlength.
Level 3: Packet writing"

Back to the mkisofs manual page.

http://cdrecord.berlios.de/private/m...mkisofs.8.html

-iso-level level

So there's a level option, which will do a better job on file names.

*******

Note that some software idiots, have spoiled the "pipe" concept in
Linux, by insisting that some commands use up all of system RAM
as a container for the intermediate results. The end result for me,
is now I can no longer trust the "pipe" semantic when I sit down
to use the command line. Good work, boys... (GNU, I'm talking to you...)

What you'll notice is, if you work with large objects (in this case,
that 4GB plus ISO9660 destined for the DVD), *some* Linux tools will
end up trying to use all system RAM to hold the intermediate pipe
contents, instead of using FIFO and blocking until the downstream
command catches up. This results in a "not enough RAM" error, rather
than your piped command sequence completing. Optimization, my ***.
It means some things I used to be able to do in Linux, I can no longer
do.

Paul

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on Linksys Router WRT54G or WRT54GS Hardware version. pattyjamas@hotmail.com alt.internet.wireless 5 09-03-2006 07:05 PM
PGP 8.1 for Windows & Mac PGP Version 8.1 downloads comp.security.misc 1 10-25-2005 07:49 PM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 10-19-2005 04:37 AM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 08-30-2005 04:26 AM
[SSL-Talk List FAQ] Secure Sockets Layer Discussion List FAQ v1.1.1 Shannon Appel comp.security.misc 0 07-31-2005 04:25 AM


All times are GMT. The time now is 11:32 PM.



Powered by vBulletin® Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 PL2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45