[gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Remy Blank
This is just a wild guess, but could the decryption keys be stored in the DVD drive? Playing the disc with mplayer retrieves the keys (using libdvdread) and sets them in the drive. From that point, the disc is readable by all means. When you change the disc, the keys are not valid anymore. As I

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Neil Bothwick
On Tue, 11 Aug 2009 05:43:17 +0100, Stroller wrote: I'm guessing it has something to do with DeCSS encryption, but firstly I don't understand how that applies to dd, because I'd have assumed that treats the drive as a block device. Probably because the CSS stuff is stored in a separate

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 08:33, Neil Bothwick wrote: On Tue, 11 Aug 2009 05:43:17 +0100, Stroller wrote: I'm guessing it has something to do with DeCSS encryption, but firstly I don't understand how that applies to dd, because I'd have assumed that treats the drive as a block device. Probably

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Joerg Schilling
Stroller strol...@stellar.eclipse.co.uk wrote: Now I've got this new machine with all this space on it (or rather: now I seem to be more interested in doing stuff with this machine I built a while ago), I'm starting on the process of ripping all my DVDs. In the past I tried

[gentoo-user] Bash script inquiry

2009-08-11 Thread Richard Marza
I'm trying to run a command in a loop. I have a counter device set...the number that the counter generates is supposed to go inside the command in the loop after every successive iteration of the loop. This is all really to get a general idea I've attached a snippet below. FILE=`cat

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 09:07:31 Richard Marza wrote: I'm trying to run a command in a loop. I have a counter device set...the number that the counter generates is supposed to go inside the command in the loop after every successive iteration of the loop. This is all really to get a general

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Alex Schuster
Richard Marza writes: FILE=`cat filename.txt` TICK=`cat filename.txt | wc -l' TOCK=0 while [ $TICK != $TOCK ] ; do let $TOCK=$TOCK+1 Or, simpler, as we are using bash: (( TOCK++ )) Var1= `cat FirstWordOfFirstColumnOfFirstLine` (This I actually achieved with sed

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Richard Marza
- Original Message - From: Alex Schuster wo...@wonkology.org To: gentoo-user@lists.gentoo.org Sent: Tuesday, August 11, 2009 4:59 AM Subject: Re: [gentoo-user] Bash script inquiry Richard Marza writes: FILE=`cat filename.txt` TICK=`cat filename.txt | wc -l' TOCK=0 while [ $TICK

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Peter Humphrey
On Tuesday 11 August 2009 09:07:31 Richard Marza wrote: I'm trying to run a command in a loop. I have a counter device set...the number that the counter generates is supposed to go inside the command in the loop after every successive iteration of the loop. In what sense is this a reply to

[gentoo-user] Bash script inquiry (this is a dup: sorry for the hijack)

2009-08-11 Thread Richard Marza
- Original Message - From: Alex Schuster wo...@wonkology.org To: gentoo-user@lists.gentoo.org Sent: Tuesday, August 11, 2009 4:59 AM Subject: Re: [gentoo-user] Bash script inquiry Richard Marza writes: FILE=`cat filename.txt` TICK=`cat filename.txt | wc -l' TOCK=0 while [ $TICK

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 10:27:26 Richard Marza wrote: Think of the file I'm using as a spreadsheet. The headers(column names) are on top and the values are below them. Each line has an item with multiple values under different systems. Item System1 System3 System4 ... nio5.0

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Richard Marza
- Original Message - From: Etaoin Shrdlu shr...@unlimitedmail.org To: gentoo-user@lists.gentoo.org Sent: Tuesday, August 11, 2009 5:55 AM Subject: Re: [gentoo-user] Bash script inquiry On Tuesday 11 August 2009 10:27:26 Richard Marza wrote: Think of the file I'm using as a

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Neil Bothwick
On Tue, 11 Aug 2009 08:47:58 +0100, Stroller wrote: Probably because the CSS stuff is stored in a separate area of the drive, which is not copied by dd. I think I may not have phrased the question clearly. Initially dd doesn't work, then it magically starts working. See the

Re: [gentoo-user] Bash script inquiry

2009-08-11 Thread Etaoin Shrdlu
On Tuesday 11 August 2009 11:17:12 Richard Marza wrote: For the moment, the script just prints out the lines where all the columns don't have the same value. awk 'NR==1{print;next}{for(i=3;i=NF;i++){if($i!=$2){print;break}}}' file.txt This is great. But it is important that I find

[gentoo-user] [Sendmail]Relay only one specific mail address and REJECT any other

2009-08-11 Thread Kan-I Jyo
Dear list, By taking a look into the sendmail README, it has come up to my mind if I can relay only one specific mail address and REJECT all other mails from {any_us...@whatever.domain. Here is my test environment: +-++---+ +---+ +

Re: [gentoo-user] {OT} zflashpoint for Linux? (SSD performance accelerator)

2009-08-11 Thread Grant
Josh Saddler had a couple blog posts recently about his adventures with SSD and Gentoo: http://blogs.gentoo.org/nightmorph/2009/08/02/ssds-and-filesystems http://blogs.gentoo.org/nightmorph/2009/08/09/ssds-and-filesystems-part-2 I've been following those (actually posted the first link in

[gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread James
Stroller stroller at stellar.eclipse.co.uk writes: Now I've got this new machine with all this space on it (or rather: now I seem to be more interested in doing stuff with this machine I built a while ago), I'm starting on the process of ripping all my DVDs. QDVDauthor is very cool.

Re: [gentoo-user] vdpau-able ?

2009-08-11 Thread Grant
wrote snip: Assuming that you want to playback a H.264 video, then right command should be mplayer -vo vdpau -vc ffh264vdpau file to force the selection of the HW accelerated codec from FFMPEG. Can anyone confirm that? This is correct. To use VDPAU hardware acceleration you need to

[gentoo-user] portage: dependencies problem...

2009-08-11 Thread Jarry
Hi, today I did emerge --full --update --deep --newuse world and after that emerge --depclean. I got these messages: Calculating dependencies... done! Checking for lib consumers... Assigning files to packages... * In order to avoid

Re: [gentoo-user] portage: dependencies problem...

2009-08-11 Thread Mark Knecht
On Tue, Aug 11, 2009 at 10:40 AM, Jarrymr.ja...@gmail.com wrote: Hi, today I did emerge --full --update --deep --newuse world and after that emerge --depclean. I got these messages: Calculating dependencies... done! Checking for lib

Re: [gentoo-user] portage: dependencies problem...

2009-08-11 Thread Jarry
Mark Knecht wrote: __ Calculating dependencies... done! Checking for lib consumers... Assigning files to packages... * In order to avoid breakage of link level dependencies, one or more * packages will not be removed. This can be solved by

Re: [gentoo-user] portage: dependencies problem...

2009-08-11 Thread Mark Knecht
On Tue, Aug 11, 2009 at 11:11 AM, Jarrymr.ja...@gmail.com wrote: Mark Knecht wrote: __ Calculating dependencies... done! Checking for lib consumers... Assigning files to packages...  * In order to avoid breakage of link level

Re: [gentoo-user] portage: dependencies problem...

2009-08-11 Thread Alex Schuster
Jarry writes: Mark Knecht wrote: * In order to avoid breakage of link level dependencies, one or more * packages will not be removed. This can be solved by rebuilding the * packages that pulled them in. * * dev-lang/python-2.5.4-r3 pulled in by: * sys-apps/file-4.23 *

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 11:24, Neil Bothwick wrote: On Tue, 11 Aug 2009 08:47:58 +0100, Stroller wrote: Probably because the CSS stuff is stored in a separate area of the drive, which is not copied by dd. I think I may not have phrased the question clearly. Initially dd doesn't work, then it

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 08:50, Joerg Schilling wrote: Stroller strol...@stellar.eclipse.co.uk wrote: Now I've got this new machine with all this space on it (or rather: now I seem to be more interested in doing stuff with this machine I built a while ago), I'm starting on the process of ripping

Re: [gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 16:28, James wrote: Stroller stroller at stellar.eclipse.co.uk writes: Now I've got this new machine with all this space on it (or rather: now I seem to be more interested in doing stuff with this machine I built a while ago), I'm starting on the process of ripping all my

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Paul Hartman
On Tue, Aug 11, 2009 at 2:16 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: However right now I don't want to burn to disk - only to grab an image of the disk for ripping to file.mp4 type movie files. For this purpose I highly recommend dvd::rip. There are many things involved beyond simply

[gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Grant Edwards
On 2009-08-11, Stroller strol...@stellar.eclipse.co.uk wrote: I'm just really curious why `dd` works perfectly fine the last time, but not the first. Hasn't this been answered several times already? Presumably it works the second time but not the first time because between the two attempts

Re: [gentoo-user] portage: dependencies problem...

2009-08-11 Thread Jarry
Mark Knecht wrote: emerge -1 file cracklib Alex Schuster wrote: Leave out the -u - you already have the current version installed, so an update does nothing. Thanks, this worked. After re-emerging file and cracklib emerge --depclean removed the old version of python (2.5.4-r3) and left only

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 20:31, Paul Hartman wrote: On Tue, Aug 11, 2009 at 2:16 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: However right now I don't want to burn to disk - only to grab an image of the disk for ripping to file.mp4 type movie files. For this purpose I highly recommend

Re: [gentoo-user] Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Paul Hartman
On Tue, Aug 11, 2009 at 2:36 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: On 11 Aug 2009, at 20:31, Paul Hartman wrote: On Tue, Aug 11, 2009 at 2:16 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: However right now I don't want to burn to disk - only to grab an image of the disk for

Re: [gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
On 11 Aug 2009, at 20:31, Grant Edwards wrote: On 2009-08-11, Stroller strol...@stellar.eclipse.co.uk wrote: I'm just really curious why `dd` works perfectly fine the last time, but not the first. Hasn't this been answered several times already? No, it hasn't. Presumably it works the

[gentoo-user] HandbrakeCLI vs dvd::rip was: Cloning movie DVDs with dd

2009-08-11 Thread Stroller
On 11 Aug 2009, at 21:02, Paul Hartman wrote: On Tue, Aug 11, 2009 at 2:36 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: On 11 Aug 2009, at 20:31, Paul Hartman wrote: On Tue, Aug 11, 2009 at 2:16 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: However right now I don't want to burn

Re: [gentoo-user] {OT} zflashpoint for Linux? (SSD performance accelerator)

2009-08-11 Thread Stroller
On 11 Aug 2009, at 16:14, Grant wrote: Josh Saddler had a couple blog posts recently about his adventures with SSD and Gentoo: http://blogs.gentoo.org/nightmorph/2009/08/02/ssds-and-filesystems http://blogs.gentoo.org/nightmorph/2009/08/09/ssds-and-filesystems-part-2 I've been following

Re: [gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Paul Hartman
On Tue, Aug 11, 2009 at 3:22 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: I'm just looking for a better answer than ones prefaced with presumably and which treat DeCSS encryption like it's black magic. I can't give you a definitive answer to your original question but I can hopefully shed

Re: [gentoo-user] Re: Cloning movie DVDs with dd - only works after accessing disk with another command?

2009-08-11 Thread Stroller
Hi Paul, Many thanks for the details synopsis. Some of this was known to me, some not. Comments below. On 11 Aug 2009, at 23:49, Paul Hartman wrote: On Tue, Aug 11, 2009 at 3:22 PM, Strollerstrol...@stellar.eclipse.co.uk wrote: I'm just looking for a better answer than ones prefaced with

[gentoo-user] Knock on wood

2009-08-11 Thread Alan E. Davis
I'm a little reluctant to say this, but it's been a couple of months now since I switched back to Gentoo, and I want to shout out my pleasure that this system has been performing admirably well this time around, in comparison with earlier installations. None of the earlier installations were