[gentoo-user] Re: back up gentoo system

2008-05-07 Thread Michael Schmarck
David [EMAIL PROTECTED] wrote:

 
  Hi,
 
I was thinking on making regular backup of my gentoo partition. I'm not
  interested in incremental backups, just a mirror image of the root
  filesystem. I've prepared some scripts using dd for the first copy and
  rsync to keep it updated. How do you make your backups?

I wouldn't do DD images. Too inflexible.

I do backups using rsnapshot, which basically just makes a copy with
rsync of all the files on all the filesystems.

  Any improvements?.

Dump dd.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: back up gentoo system

2008-05-07 Thread Michael Schmarck
David [EMAIL PROTECTED] wrote:
 On Tuesday 06 May 2008 23:54:08 Andrew MacKenzie wrote:

 If you're using 'dd' does that mean you're copying the entire filesystem
 and not just the files?  I believe that can run you into some issues if
 the FS isn't read-only...
 
 What kind of issues?

If the fs is mounted read/write, it can very easily happen, that the
filesystem isn't consistent; ie. you start to read from the source
and when you get to the end, stuff has changed.

If you really must use dd (why?), I would *VERY* much urge to use LVM
snapshots.

But in reality, I'd rather use rsync to keep the two discs in sync.

 The idea is to copy the whole filesystem to another 
 disk and keep it sync. And in case of crisis use dd from the backup to
 the original disk.

And why dd? What do you think you gain by using dd, compared to the
more traditional way of copying just all the files (be it with tar,
be it with rsync or even with plain cp)?

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: back up gentoo system

2008-05-07 Thread Michael Schmarck
Volker Armin Hemmann [EMAIL PROTECTED] wrote:

 There is nothing wrong with tar. In fact tar is great for this job. dd
 not.

Depends. If you backup to tape, like you do, then the Tape Archiver 
commonly called tar is the tool to use.

But if a backup to disk is done, tar is still a good tool for the job,
but IMO not the best tool available. Instead I'd suggest to use rsync.
Reason: It's easier to restore just a single file.

It's of course possible to restore single files from tar-balls as well,
but it's more complicated. Especially, if you're using incrementals. I'm
not saying that's impossible, but just, that it's harder than with rsync.

Best regards,

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [OT] Which openoffice

2008-05-07 Thread Etaoin Shrdlu
On Tuesday 6 May 2008, 23:36, Neil Bothwick wrote:
 On Tue, 6 May 2008 18:19:22 +0200, Etaoin Shrdlu wrote:
  As Neil sed

 GROAN!

LOL! That went unnoticed, sorry. It should have been As Neil awk, of 
course :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Volker Armin Hemmann
On Mittwoch, 7. Mai 2008, Michael Schmarck wrote:
 Volker Armin Hemmann [EMAIL PROTECTED] wrote:
  There is nothing wrong with tar. In fact tar is great for this job. dd
  not.

 Depends. If you backup to tape, like you do, then the Tape Archiver
 commonly called tar is the tool to use.

 But if a backup to disk is done, tar is still a good tool for the job,
 but IMO not the best tool available. Instead I'd suggest to use rsync.
 Reason: It's easier to restore just a single file.

 It's of course possible to restore single files from tar-balls as well,
 but it's more complicated. Especially, if you're using incrementals. I'm
 not saying that's impossible, but just, that it's harder than with rsync.

it is a matter of taste - but anyway everything is better than dd ;)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 07 May 2008 08:09:57 +0200, Michael Schmarck wrote:

 But if a backup to disk is done, tar is still a good tool for the job,
 but IMO not the best tool available. Instead I'd suggest to use rsync.
 Reason: It's easier to restore just a single file.

rsync is good, but has its own disadvantages, notably the lack of
compression and the reliance on the destination filesystem to preserve
permissions. Dar is a good compromise, being tar-like but intended for
disk use. Restoration of individual files, while not as simple as with
rsync, is far more straightforward than with tar.


-- 
Neil Bothwick

A man wrapped up in himself makes a very small package.


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Which openoffice

2008-05-07 Thread Neil Bothwick
On Wed, 7 May 2008 08:53:55 +0200, Etaoin Shrdlu wrote:

 LOL! That went unnoticed, sorry. It should have been As Neil awk, of 
 course :-)

I never awk, although I am often accused of gawking :)


-- 
Neil Bothwick

Oops. My brain just hit a bad sector.


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] Which openoffice

2008-05-07 Thread Etaoin Shrdlu
On Wednesday 7 May 2008, 09:38, Neil Bothwick wrote:

 I never awk, although I am often accused of gawking :)

Ah yes, we all use GNU awk. 

(ok, better stop this here :-)
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Dirk Heinrichs
Am Mittwoch, 7. Mai 2008 schrieb ext Neil Bothwick:

 rsync is good, but has its own disadvantages, notably the lack of
 compression and the reliance on the destination filesystem to preserve
 permissions.

Can you elaborate more on the latter, please? What exactly is rsync relying 
on and which fs wouldn't meet the requirements.

Reg. compression, I believe there's a stackable compressing (fuse) fs one 
could use.

Thanks...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 7 May 2008 09:57:02 +0200, Dirk Heinrichs wrote:

  rsync is good, but has its own disadvantages, notably the lack of
  compression and the reliance on the destination filesystem to preserve
  permissions.  
 
 Can you elaborate more on the latter, please? What exactly is rsync
 relying on and which fs wouldn't meet the requirements.

FAT on an external drive, or some of the online backup systems.

 Reg. compression, I believe there's a stackable compressing (fuse) fs
 one could use.

What is that? I was looking for such a beast a while ago, but could only
find read-only filesystems with compression, like squashfs.

Don't get me wrong, I like rsync and use it a lot, but, like anything
else, it has its limitations.


-- 
Neil Bothwick

For Sale: Positronic Brain-Found near S.F.-Needs Work


signature.asc
Description: PGP signature


Re: [gentoo-user] grub weirdness

2008-05-07 Thread Neil Bothwick
On Tue, 6 May 2008 20:24:34 -0400 (EDT), Ian Hilt wrote:

 7.  GRUB GRUB GRUB GRUB GRUB ...

Did anyone else find themselves singing this to the tune of the Monty
Python spam song ;-)


-- 
Neil Bothwick

Change is inevitable. Except from a vending machine.


signature.asc
Description: PGP signature


[gentoo-user] Is the mailing list working?

2008-05-07 Thread Dale

Hi folks,

I checked gentoo.org and even a quick search on the forums but didn't 
see anything about a massive boo boo.  Just trying to see what is up here.


Pardon the noise but could someone reply to let me know it's still 
working?  Last message I got was on the 22 of last month.


Thanks

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Alan McKinnon
On Wednesday 07 May 2008, Dale wrote:
 Hi folks,

 I checked gentoo.org and even a quick search on the forums but didn't
 see anything about a massive boo boo.  Just trying to see what is up
 here.

 Pardon the noise but could someone reply to let me know it's still
 working?  Last message I got was on the 22 of last month.

Hi Dale, I was wondering where you'd got to.

List has been working just fine. Problem must be on your end.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [SOLVED] Re: [gentoo-user] to which package scrbook.cls belongs?

2008-05-07 Thread Liviu Andronic
On 5/7/08, Zhang Weiwu [EMAIL PROTECTED] wrote:
  Ian Hilt wrote:
   On Tue, 6 May 2008, Zhang Weiwu wrote:
  
   I need to install a package containing this file. to which package this
   file belongs to? I googled around without luck
  
   equery b scrbook.cls returns
   dev-texlive/texlive-latexrecommended-2007
   (/usr/share/texmf-dist/tex/latex/koma-script/scrbook.cls)

There is also dev-tex/texmfind [1].
Liviu

[1] http://gentoo-portage.com/dev-tex/texmfind
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What version of netscape-flash to use with konqueror?

2008-05-07 Thread Robin Atwood
On Wednesday 07 May 2008, Mike Williams wrote:
 On Monday 05 May 2008 18:04:42 Robin Atwood wrote:
  I have just brought my laptop (x86 arch) up to date and so I have KDE
  3.5.9 and netscape-flash-9.0.124.0. Now whenever I go to a web page with
  embedded flash I get a segfault. I seem to remember that something got 
  broken wrt konqueror and my amd64 system is using
  netscape-flash-9.0.48.0-r1; however, that version now seems to have been
  removed. So what version are people using?

 Taken, sucessfully, from
 http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/

Thanks for the link. I tried it and although the kmplayer plugin now loads, it 
makes a hash of playing the flash content; I get a bit of sound but no 
video.  ;(

Nice thought though.
-Robin
-- 











-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Dirk Heinrichs
Am Mittwoch, 7. Mai 2008 schrieb ext Neil Bothwick:
 On Wed, 7 May 2008 09:57:02 +0200, Dirk Heinrichs wrote:
   rsync is good, but has its own disadvantages, notably the lack of
   compression and the reliance on the destination filesystem to
   preserve permissions.
 
  Can you elaborate more on the latter, please? What exactly is rsync
  relying on and which fs wouldn't meet the requirements.

 FAT on an external drive, or some of the online backup systems.

Yeah, FAT was the only one I could imagine, just wanted to be sure. So 
nothing to worry about ;-) It would never come to my mind to backup a 
_UNIX_ fs to a _DOS_, ahem, fs.

  Reg. compression, I believe there's a stackable compressing (fuse) fs
  one could use.

 What is that? I was looking for such a beast a while ago, but could only
 find read-only filesystems with compression, like squashfs.

http://fuse.sourceforge.net/wiki/index.php/CompressedFileSystems

 Don't get me wrong, I like rsync and use it a lot, but, like anything
 else, it has its limitations.

The first one can be solved with fuse, the second one is a not an issue (at 
least for me).

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] What version of netscape-flash to use with konqueror?

2008-05-07 Thread Liviu Andronic
On 5/5/08, Robin Atwood [EMAIL PROTECTED] wrote:
 I have just brought my laptop (x86 arch) up to date and so I have KDE 3.5.9
  and netscape-flash-9.0.124.0. Now whenever I go to a web page with embedded
  flash I get a segfault. I seem to remember that something got  broken wrt
  konqueror and my amd64 system is using netscape-flash-9.0.48.0-r1; however,
  that version now seems to have been removed. So what version are people
  using?

Oh, I think you're in trouble here, and on the verge to switch to
Opera. From one of Opera's developers:

with 9.2x only Flash version 9.0.48.0 will
work, because in the subsequent releases Flash depended on being in a Gtk
browser on linux/unix (this also broke Flash in Konqueror). This Gtk
environment was created in the pluginwrapper in 9.5, but since 9.2x is
stable this was too big a change for it. This has, however, been in 9.5
snapshots for a while now - please check out the Beta2 and see if that
resolves your issues:

http://www.opera.com/products/desktop/next/;

Regards,
Liviu
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Re: grub weirdness

2008-05-07 Thread Sven Köhler

 To avoid automounting and autoinstalling with /boot,
 just export the DONT_MOUNT_BOOT variable.


Which /boot partition? I don't have any ...


If there's a setup-command in your grub.conf, it is indeed executed.
So if that command is outdated (something you won't notice, since that
command is not used by grub in any situation i know), the ebuild will
execute that setup-command and write to some device's boot sector. How
evil, again!

Regards,
  Sven

P.S.: here's the code from grub-0.97-r5.ebuild:

if [[ -e ${dir}/grub.conf ]] ; then
egrep \
-v
'^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)'
\
${dir}/grub.conf | \
/sbin/grub --batch \
--device-map=${dir}/device.map \
 /dev/null
fi 

And following the code of the functions which does the job:
found in ebuild: /usr/portage/sys-boot/grub/grub-0.97-r5.ebuild

setup_boot_dir() {
local boot_dir=$1
local dir=${boot_dir}

[[ ! -e ${dir} ]]  die ${dir} does not exist!
[[ ! -L ${dir}/boot ]]  ln -s . ${dir}/boot
dir=${dir}/grub
if [[ ! -e ${dir} ]] ; then
mkdir ${dir} || die ${dir} does not exist!
fi

# change menu.lst to grub.conf
if [[ ! -e ${dir}/grub.conf ]]  [[ -e ${dir}/menu.lst ]] ; then
mv -f ${dir}/menu.lst ${dir}/grub.conf
ewarn
ewarn *** IMPORTANT NOTE: menu.lst has been renamed to grub.conf
ewarn
fi

if [[ -e ${dir}/stage2 ]] ; then
mv ${dir}/stage2{,.old}
ewarn *** IMPORTANT NOTE: you must run grub and install
ewarn the new version's stage1 to your MBR.  Until you do,
ewarn stage1 and stage2 will still be the old version, but
ewarn later stages will be the new version, which could
ewarn cause problems such as an unbootable system.
ebeep
fi

einfo Copying files from /lib/grub and /usr/lib/grub to ${dir}
for x in ${ROOT}/lib*/grub/*/* ${ROOT}/usr/lib*/grub/*/* ; do
[[ -f ${x} ]]  cp -p ${x} ${dir}/
done

if [[ -e ${dir}/grub.conf ]] ; then
egrep \
-v
'^[[:space:]]*(#|$|default|fallback|initrd|password|splashimage|timeout|title)'
\
${dir}/grub.conf | \
/sbin/grub --batch \
--device-map=${dir}/device.map \
 /dev/null
fi

# the grub default commands silently piss themselves if
# the default file does not exist ahead of time
if [[ ! -e ${dir}/default ]] ; then
grub-set-default --root-directory=${boot_dir} default
fi
}


How you can see isn't the message piped to /dev/null, only
the command /sbin/grub -batch -device-map


Why should i worry about the message being piped to /dev/null?

I worry about a message saying you have to do it by hand although some 
harmful magic is going on behind the scenes (the egrep+grub command) 
although we are not informed about it (command is piped to /dev/null, 
not message about it, etc.).




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 7 May 2008 11:34:35 +0200, Dirk Heinrichs wrote:

  What is that? I was looking for such a beast a while ago, but could
  only find read-only filesystems with compression, like squashfs.  
 
 http://fuse.sourceforge.net/wiki/index.php/CompressedFileSystems

A couple of those look interesting, thanks.


-- 
Neil Bothwick

Top Oxymorons Number 39: Almost exactly


signature.asc
Description: PGP signature


Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Neil Bothwick
On Wed, 07 May 2008 04:39:15 -0500, Dale wrote:

 Pardon the noise but could someone reply to let me know it's still 
 working?  Last message I got was on the 22 of last month.

We're all at the party, didn't you get your invitation?


-- 
Neil Bothwick

Become a gynaecologist, look up a friend today.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Volker Armin Hemmann
On Mittwoch, 7. Mai 2008, Neil Bothwick wrote:
 On Wed, 7 May 2008 11:34:35 +0200, Dirk Heinrichs wrote:
   What is that? I was looking for such a beast a while ago, but could
   only find read-only filesystems with compression, like squashfs.
 
  http://fuse.sourceforge.net/wiki/index.php/CompressedFileSystems

 A couple of those look interesting, thanks.

or you can try reiser4 with either gzip or lzo.
Advantage: it does not try to compress incompressible files...
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 7 May 2008 13:30:40 +0200, Volker Armin Hemmann wrote:

 or you can try reiser4 with either gzip or lzo.
 Advantage: it does not try to compress incompressible files...

Disadvantage: An experimental filesystem is not the best place to keep
important backups :(


-- 
Neil Bothwick

Failure is not an option. It comes bundled with your Microsoft product.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Volker Armin Hemmann
On Mittwoch, 7. Mai 2008, Neil Bothwick wrote:
 On Wed, 7 May 2008 13:30:40 +0200, Volker Armin Hemmann wrote:
  or you can try reiser4 with either gzip or lzo.
  Advantage: it does not try to compress incompressible files...

 Disadvantage: An experimental filesystem is not the best place to keep
 important backups :(

and the fuse-stuff is not experimental?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OT: Looking for SATA controller recommendation

2008-05-07 Thread Kevin O'Gorman
On Tue, May 6, 2008 at 3:32 PM, Roy Wright [EMAIL PROTECTED] wrote:

 Howdy,

 I'm looking to add three more drives to my system for a software RAID5
 media volume.  I've used all my motherboard SATA ports so need a SATA
 controller.  I don't want a hardware RAID controller (been there, burned
 when controller died).  4 SATA2 ports is the minimum required.  I have
 both PCIe and PCI slots available.  I do not need high performance as
 the RAID will just contain media files for access in my home.  I would
 prefer a controller supported by normal kernel drivers.  My preference
 is to keep costs down (3 x 1 TB drives are costly enough :).

 Any recommendations?

 FYI, system is gentoo ~x86, Intel Q9300, Gigabyte GA-X48-DQ6.

 I just added 2 e-SATA controllers to my systems, 1 Gentoo at home and 1
FC7
at work.  They're  Silicon Image 3124, and work with PCI or PCIX (not PCIe),
which
is good because the Gentoo is PCIX, but the FC system is original PCI.

In both cases, normal kernel drivers were fine.  Just make sure your kernel
has
CONFIG_BLK_DEV_SIIMAGE=m or y

Frankly, I bought on price also, and wanted external drives.

++ kevin




-- 
Kevin O'Gorman, PhD


[gentoo-user] Re: Re: back up gentoo system

2008-05-07 Thread Michael Schmarck
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 7 May 2008 09:57:02 +0200, Dirk Heinrichs wrote:
 
  rsync is good, but has its own disadvantages, notably the lack of
  compression and the reliance on the destination filesystem to preserve
  permissions.
 
 Can you elaborate more on the latter, please? What exactly is rsync
 relying on and which fs wouldn't meet the requirements.
 
 FAT on an external drive,

Why not put ext* or reiserfs or whatever on such a drive?

 or some of the online backup systems. 

That's really a problem, yes. But I was talking about backup-to-disk.
While it might be, that you can mount some of the online backup systems
as a fs, it mustn't be so.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 7 May 2008 15:39:03 +0200, Volker Armin Hemmann wrote:

  Disadvantage: An experimental filesystem is not the best place to keep
  important backups :(  
 
 and the fuse-stuff is not experimental?

Yes it is, which is why I decided not to use it after reading the web
sites.


-- 
Neil Bothwick

No wanna work. Wanna bang on keyboard.


signature.asc
Description: PGP signature


[gentoo-user] Re: Re: Re: back up gentoo system

2008-05-07 Thread Michael Schmarck
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 07 May 2008 16:41:17 +0200, Michael Schmarck wrote:
 
  Can you elaborate more on the latter, please? What exactly is rsync
  relying on and which fs wouldn't meet the requirements.
  
  FAT on an external drive,
 
 Why not put ext* or reiserfs or whatever on such a drive?
 
 Because you need to access it from Windows too?

To a backup device? Why?

Well. Strange use case, but i suppose that even such a case might exist
in reality.

Michael

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] WTF? VMWare server modules blocks :/

2008-05-07 Thread Alex Schuster
Alan McKinnon writes: 

For whatever reason (and it will be a good technical one) the only 
version of vmware-modules you can use is 1.0.0.15*. So, you need to: 


cd /etc/portage
echo =app-emulation/vmware-modules-1.0.0.16  package.use
emerge -avuND world


Um, make this package.mask. Oh, and the -N switch is good style, but not 
really necessary, is it? 


   Wonko
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 07 May 2008 16:41:17 +0200, Michael Schmarck wrote:

  Can you elaborate more on the latter, please? What exactly is rsync
  relying on and which fs wouldn't meet the requirements.  
  
  FAT on an external drive,  
 
 Why not put ext* or reiserfs or whatever on such a drive?

Because you need to access it from Windows too? Installing the Windows
ext2/3 drivers isn't always an option.


-- 
Neil Bothwick

If you're not part of the solution, you're part of the precipitate. *
Wright


signature.asc
Description: PGP signature


[gentoo-user] Today's sync breaks stuff

2008-05-07 Thread Alan McKinnon
Hi all,

Here follows a quick heads up to save someone's hair (mine's been pulled 
out).

If you emerge --sync  emerge world today, make sure you do it the 
right way this time:

1. read the elogs
2. revdep-rebuild
3. then and only then, reboot. Better still, exit X and log in again to 
make sure it still works then only reboot.

libtool got bumped to 2.2.4, which installs libltdl.so.3 which breaks a 
huge list of dependencies - much longer than I've seen in ages. In my 
case my dm and wm were broken so when X starts nothing happens and I 
lost the keyboard. Couldn't even get to a virtual console so had to do 
the usual fight with boot single user mode, remount / rw, start lvm, 
manually mount ... you get the idea

alan


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: tar a brand new Gentoo install to a USB drive for safe keeping?

2008-05-07 Thread Steven Lembark

 tar xvfp SYSTEM.tar.bz2
 To extract bzip2 files with tar, you need to add the j option.
 That hasn't been needed for a long time. Tar is able to detect bzip2 and
 gzip compression and handle it automatically.

 That's only true for GNU tar. If you're also dealing with other
 systems where you might not have GNU tar, you might be surprised
 to find that tar xvf file.tgz doesn't work.

 Hence I think, that it is a good idea to  keep on using z or j.

Not all of them speak any squish factor, leaving:

gzip -dc blah.tar.gz | tar xvf -;

(or bzip/bzip2) as the most portable route.

-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
[EMAIL PROTECTED]  +1 888 359 3508
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] back up gentoo system

2008-05-07 Thread Steven Lembark

 If you're using 'dd' does that mean you're copying the entire filesystem
 and not just the files?  I believe that can run you into some issues
if the
 FS isn't read-only...

 What kind of issues? The idea is to copy the whole filesystem to
another disk
 and keep it sync. And in case of crisis use dd from the backup to the
 original disk.

dd does no error checking and is not usually
suitable for backups of any kind unless you
validate the output. find / -xdev | cpio -ov,
*dump, or mkisofs -R would all be better ways
to store recovery data than dd.


-- 
Steven Lembark85-09 90th St.
Workhorse Computing Woodhaven, NY, 11421
[EMAIL PROTECTED]  +1 888 359 3508
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] WTF? VMWare server modules blocks :/

2008-05-07 Thread Alan McKinnon
On Wednesday 07 May 2008, Alex Schuster wrote:
 Alan McKinnon writes:
  For whatever reason (and it will be a good technical one) the only
  version of vmware-modules you can use is 1.0.0.15*. So, you need
  to:
 
  cd /etc/portage
  echo =app-emulation/vmware-modules-1.0.0.16  package.use
  emerge -avuND world

 Um, make this package.mask. 

Oops, my bad. Thanks for picking that up

 Oh, and the -N switch is good style, but 
 not really necessary, is it?

Correct again in this specific case as it turns out - no USE flags got 
changed. I routinely just use -uND myself as I invariably want emerge 
to consider deep USE flag changes. I find that emerge can still do the 
extra processing in less time than it takes me to figure out if I 
need/want -N or not :-)


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Today's sync breaks stuff

2008-05-07 Thread Albert Hopkins
On Wed, 2008-05-07 at 18:00 +0200, Alan McKinnon wrote:
 Hi all,
 
 Here follows a quick heads up to save someone's hair (mine's been pulled 
 out).
 
 If you emerge --sync  emerge world today, make sure you do it the 
 right way this time:
 
 1. read the elogs
 2. revdep-rebuild
 3. then and only then, reboot. Better still, exit X and log in again to 
 make sure it still works then only reboot.
 
 libtool got bumped to 2.2.4, which installs libltdl.so.3 which breaks a 
 huge list of dependencies - much longer than I've seen in ages. In my 
 case my dm and wm were broken so when X starts nothing happens and I 
 lost the keyboard. Couldn't even get to a virtual console so had to do 
 the usual fight with boot single user mode, remount / rw, start lvm, 
 manually mount ... you get the idea

Actually the issue with libtool 2.2 has been happening for a while (at
least a couple of months).  See bug #212763.  What happened is I think
the devs thought they solved all the underlying issues with 2.2 and
unmasked it.  But there are still issues.  It's easy to fix though.
Just downgrade libtool to 1.x and revdep-rebuild.

But revdep-rebuild should have at least fixed most of the broken deps
and/or failed.  At least that's what happened to me.  I did an update,
ran revdep-rebuild and when that started failing on packages I knew it
was time to go back to libtool 1.x.

But they've fixed a few issues yesterday and, for example, I'm currently
running 2.2 without any problems.

-a

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OT: Looking for SATA controller recommendation

2008-05-07 Thread Albert Hopkins
On Tue, 2008-05-06 at 17:32 -0500, Roy Wright wrote:
 Howdy,
 
 I'm looking to add three more drives to my system for a software RAID5
 media volume.  I've used all my motherboard SATA ports so need a SATA
 controller.  I don't want a hardware RAID controller (been there, burned
 when controller died).  4 SATA2 ports is the minimum required.  I have
 both PCIe and PCI slots available.  I do not need high performance as
 the RAID will just contain media files for access in my home.  I would
 prefer a controller supported by normal kernel drivers.  My preference
 is to keep costs down (3 x 1 TB drives are costly enough :).
 
 Any recommendations?

Well since you're not concerned about RAID or performance...

I think as long as you stay away from RAID, in particular fake HW
RAID, then it would be difficult to find a SATA controller that wasn't
supported by the kernel.

-a 

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] What version of netscape-flash to use with konqueror?

2008-05-07 Thread Mike Williams
On Wednesday 07 May 2008 10:43:30 Robin Atwood wrote:
  Taken, sucessfully, from
  http://mikearthur.co.uk/2007/12/konqueror-with-latest-adobe-flash-howto/

 Thanks for the link. I tried it and although the kmplayer plugin now loads,
 it makes a hash of playing the flash content; I get a bit of sound but no
 video.  ;(

 Nice thought though.

Oh, works fine for me :)
Looks a bit odd with the kmplayer rewind/pause/fastforward button bar 
appearing then disappearing.

-- 
Mike Williams
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Today's sync breaks stuff

2008-05-07 Thread b.n.

Alan McKinnon ha scritto:

Hi all,

Here follows a quick heads up to save someone's hair (mine's been pulled 
out).


If you emerge --sync  emerge world today, make sure you do it the 
right way this time:


1. read the elogs
2. revdep-rebuild
3. then and only then, reboot. Better still, exit X and log in again to 
make sure it still works then only reboot.


libtool got bumped to 2.2.4, which installs libltdl.so.3 which breaks a 
huge list of dependencies - much longer than I've seen in ages. In my 
case my dm and wm were broken so when X starts nothing happens and I 
lost the keyboard. Couldn't even get to a virtual console so had to do 
the usual fight with boot single user mode, remount / rw, start lvm, 
manually mount ... you get the idea




In my system (synced this morning) libtool is still firmly at 1.5.2 - 
are you talking about ~x86 systems, isn't it?


m.

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Tony Caudel
On Wed, May 7, 2008 at 4:39 AM, Dale [EMAIL PROTECTED] wrote:

 Hi folks,

 I checked gentoo.org and even a quick search on the forums but didn't see
 anything about a massive boo boo.  Just trying to see what is up here.

 Pardon the noise but could someone reply to let me know it's still
 working?  Last message I got was on the 22 of last month.

 Thanks

 Dale

 :-)  :-)
 --
 gentoo-user@lists.gentoo.org mailing list

 I'm in the same boat, Dale.  I am no longer receiving email from the list
also.  Stopped at about the same time.  I sent an email to the list owner
(gentoo-user+owner) but no reply yet.

Real bummer


-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin


Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Volker Armin Hemmann
On Mittwoch, 7. Mai 2008, Tony Caudel wrote:
 On Wed, May 7, 2008 at 4:39 AM, Dale [EMAIL PROTECTED] wrote:
  Hi folks,
 
  I checked gentoo.org and even a quick search on the forums but didn't see
  anything about a massive boo boo.  Just trying to see what is up here.
 
  Pardon the noise but could someone reply to let me know it's still
  working?  Last message I got was on the 22 of last month.
 
  Thanks
 
  Dale
 
  :-)  :-)
 
  --
  gentoo-user@lists.gentoo.org mailing list
 
  I'm in the same boat, Dale.  I am no longer receiving email from the list

 also.  Stopped at about the same time.  I sent an email to the list owner
 (gentoo-user+owner) but no reply yet.

 Real bummer

maybe your mails are filtered as spam?
(one more reason not to use gmail).
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Sandro Hannemann
  maybe your mails are filtered as spam?
it is possible

  (one more reason not to use gmail).
This is certainly not the reason for the problems, the guys in this
thread are having.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Daniel da Veiga
On Wed, May 7, 2008 at 4:29 PM, Volker Armin Hemmann
[EMAIL PROTECTED] wrote:
 On Mittwoch, 7. Mai 2008, Tony Caudel wrote:
   On Wed, May 7, 2008 at 4:39 AM, Dale [EMAIL PROTECTED] wrote:
Hi folks,
   
I checked gentoo.org and even a quick search on the forums but didn't see
anything about a massive boo boo.  Just trying to see what is up here.
   
Pardon the noise but could someone reply to let me know it's still
working?  Last message I got was on the 22 of last month.
   
Thanks
   
Dale
   
:-)  :-)
   
--
gentoo-user@lists.gentoo.org mailing list
   
I'm in the same boat, Dale.  I am no longer receiving email from the list
  
   also.  Stopped at about the same time.  I sent an email to the list owner
   (gentoo-user+owner) but no reply yet.
  
   Real bummer

  maybe your mails are filtered as spam?
  (one more reason not to use gmail).


In fact, gmail recognizes it as a mailing-list (even offering special
commands, like filtering email from the list). I never got any list
message marked as spam in Gmail. Thunderbird did it, a lot, like many
clients and webmails I tried.

-- 
Daniel da Veiga
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: back up gentoo system

2008-05-07 Thread Neil Bothwick
On Wed, 07 May 2008 17:16:01 +0200, Michael Schmarck wrote:

  Why not put ext* or reiserfs or whatever on such a drive?  
  
  Because you need to access it from Windows too?  
 
 To a backup device? Why?

Don't Windows users need to backup?


-- 
Neil Bothwick

Why is the alphabet in that order? Is it because of that song?


signature.asc
Description: PGP signature


Re: [gentoo-user] Today's sync breaks stuff

2008-05-07 Thread Alan McKinnon
On Wednesday 07 May 2008, b.n. wrote:
  libtool got bumped to 2.2.4, which installs libltdl.so.3 which
  breaks a huge list of dependencies - much longer than I've seen in
  ages. In my case my dm and wm were broken so when X starts nothing
  happens and I lost the keyboard. Couldn't even get to a virtual
  console so had to do the usual fight with boot single user mode,
  remount / rw, start lvm, manually mount ... you get the idea

 In my system (synced this morning) libtool is still firmly at 1.5.2 -
 are you talking about ~x86 systems, isn't it?

Yes, I should have mentioned that. I'm on ~x86

Turns out I had more problems than just libtool, so I reverted back to 
libtool-1* to get a stable system, I'll try upgrading back to v2 in a 
few days and see what happens then.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Re: Re: back up gentoo system

2008-05-07 Thread Mark Knecht
On Wed, May 7, 2008 at 2:56 PM, Neil Bothwick [EMAIL PROTECTED] wrote:
 On Wed, 07 May 2008 17:16:01 +0200, Michael Schmarck wrote:

Why not put ext* or reiserfs or whatever on such a drive?
   
Because you need to access it from Windows too?
  
   To a backup device? Why?

  Don't Windows users need to backup?


  --
  Neil Bothwick

Funny you should bring this up. Last week I was trying to get Gentoo
onto my laptop but it wasn't stable. Problems in the kernel that
aren't fixed earlier than 2.6.25 so I did a 'stage4' backup to save my
work. It now resides on a USB disk.

The machine itself had seemed somewhat unstable under Windows.
Possibly it was the memory I bought from Crucial a couple of months
ago. They've  so I've just today done a complete restore of Win Vista
from the HP Recovery Disk. (This is the firs full restore. In the
middle I tried to get XP on the machine but there aren't any XP
drivers for some of the hardware in the system, etc., so I gave up.)
Anyway, I now have a Win Vista Home Premium install, clean when it
finishes virus scan.

I'm thinking I might as well treat data like data and just back up the
windows partition just like I back up the Gentoo partitions, using
Stage4 to do that and creating something I can reinstall using Gentoo
quite easily.

The only risky portion might be the quality of a Linux-based NTFS
reinstall from the tar file but it seems I have little to lose by
doing this.

Any comments?

- Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Is the mailing list working?

2008-05-07 Thread Aaron Clark


On 7-May-08, at 5:39 AM, Dale wrote:


Hi folks,

I checked gentoo.org and even a quick search on the forums but  
didn't see anything about a massive boo boo.  Just trying to see  
what is up here.


Pardon the noise but could someone reply to let me know it's still  
working?  Last message I got was on the 22 of last month.


Thanks

Dale

:-)  :-) --
gentoo-user@lists.gentoo.org mailing list




I have noticed in my server logs that the gentoo mail server has  
started using TLSv1 connections for delivery, although I don't know if  
there are any other behaviours that might be causing undelivery for you.


Aaron
--
In the last, lorn fight
'gainst the fall of long night,
the mountains stand guard,
and the dead shall be ward,
for the grave is no bar to my call.
--The Horn Of Valere


--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Question about gstreamer

2008-05-07 Thread AJ Spagnoletti
Hi, after a recent update I ran revdep-rebuild and I am confused by the output.

Here is the trimmed output:

All prepared. Starting rebuild...
emerge --oneshot -p =gnome-extra/libgsf-1.14.3
=gnome-extra/evolution-webcal-2.12.0
=gnome-extra/evolution-data-server-1.12.3
=gnome-extra/bug-buddy-2.20.1 =gnome-extra/gnome-media-2.20.1
=net-fs/samba-3.0.28 =net-print/gnome-cups-manager-0.31-r2
=net-print/libgnomecups-0.2.2 =gnome-base/libgnomeprint-2.18.3
=mail-client/evolution-2.12.3-r1 =media-libs/gstreamer-0.10.14
=media-libs/gstreamer-0.8.11 =media-libs/gst-plugins-0.8.11
=media-libs/gst-plugins-base-0.10.14 =x11-libs/gtk+-2.12.8
=app-text/ghostscript-gpl-8.61-r3 =net-libs/libsoup-2.2.100
=kde-base/kdelibs-3.5.8-r3

These are the packages that would be merged, in order:

Calculating dependencies /
!!! All ebuilds that could satisfy =media-libs/gstreamer-0.8.11 have
been masked.

Here is the relavent output from eix gstreamer:

[UD] media-libs/gstreamer
 Available versions:  (0.10)  0.10.14 (~)0.10.17 (~)0.10.19
{debug nls test}
 Installed versions:  0.8.11(0.8)(18:40:46 04/24/07)(-debug -doc)
  0.10.14(0.10)(17:45:07 09/17/07)
 Homepage:http://gstreamer.sourceforge.net
 Description: Streaming media framework

From this output it appears that 0.8.** versions of gstreamer have
been removed from the portage tree, is gstreamer-0.8 leftover on my
system and can it safely be removed?

Thanks
AJ
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] untaring backup as a test

2008-05-07 Thread Mark Knecht
Hi,
   I'd just like to confirm this before I make a mistake and hurt my system.

   The existing system drive is /dev/sda:

/dev/sda3 is root
/dev/sda1 is boot

That's all there is.

   Using the stage4 tar I idea I added a drive which is /dev/sdb and
has these partitions of interest

/dev/sdb3 will be new root
/dev/sdb1 will be new boot
/dev/sdb5 will be new var
/dev/sdb6 will be new video

   I've mounted the new drive under /mnt like this:

/dev/sdb3/mnt/backups[[[This will be the new / ]]]
/dev/sdb1/mnt/backups/boot
/dev/sdb5/mnt/backups/var
/dev/sdb6/mnt/backups/video

So this essentially creates a new file system that will eventually
take over when I boot from this drive tomorrow. (Hopefully)

Now, in the video directory I have my stage4 tar file which I want to
untar into this new drive and not, hopfully, over my old drive. Will
the following work?

cd /mnt/backups
tar xjpf video/Sector9-stage4-2008.05.07-custom.tar.bz2

I'm just trying to be really careful here. I think this is all an
extension of how we build a Gentoo machine by untaring a stage3 file
but I'm doing it on a system that's live and I don't want to mess up
the exiting drive.

If this is correct then I'll chroot into the new environment for
testing, adding grub, etc., and then do a BIOS change to boot off of
the second drive and hopefully be live.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Is the mailing list working?

2008-05-07 Thread Dale

Hi folks,

Keep in mind that I am having to look at the archives to see your 
posts.  I also can't reply the normal way either. 

I'm not using Gmail, I'm using a bellsouth address.  I also noticed that 
when I go to the webmail address for my email, it switches to att.net 
now.  I think ATT is in the process of switching stuff over or 
something.  For those not in the USA, ATT bought Bell South a year or 
so ago.


I sent a email to the webmaster.  I was hoping they may have some idea.  
Maybe something got changed on their end but I'm sort of thinking it is 
ATT now.  No response yet tho. 

Is there a web way to unsubscribe/subscribe?  I tried to unsubscribe 
then subscribe again but nothing happened then either.


Also to make sure, I checked again on my ISP's website, spam filtering 
is disabled.  I do my filtering locally here. 

Also, could you guys reply by doing a CC to my address?  I did get a 
couple replies that emailed me off list but still nothing directly from 
Gentoo mail servers.


I'm open to ideas here?  Could it even be something I updated here?  
Also, I must be subscribed since it lets me post correct?  If I wasn't, 
wouldn't it reject my emails that I send, like this one?  Basically, it 
knows who I am and allows me to post but nothing else.


Ideas??

Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] untaring backup as a test

2008-05-07 Thread Wang, Baojun
在 2008-05-07三的 19:49 -0700,Mark Knecht写道:
 Hi,
I'd just like to confirm this before I make a mistake and hurt my system.
 
The existing system drive is /dev/sda:
 
 /dev/sda3 is root
 /dev/sda1 is boot
 
 That's all there is.
 
Using the stage4 tar I idea I added a drive which is /dev/sdb and
 has these partitions of interest
 
 /dev/sdb3 will be new root
 /dev/sdb1 will be new boot
 /dev/sdb5 will be new var
 /dev/sdb6 will be new video
 
I've mounted the new drive under /mnt like this:
 
 /dev/sdb3/mnt/backups[[[This will be the new / ]]]
 /dev/sdb1/mnt/backups/boot
 /dev/sdb5/mnt/backups/var
 /dev/sdb6/mnt/backups/video
 
 So this essentially creates a new file system that will eventually
 take over when I boot from this drive tomorrow. (Hopefully)
 
 Now, in the video directory I have my stage4 tar file which I want to
 untar into this new drive and not, hopfully, over my old drive. Will
 the following work?
 
 cd /mnt/backups
 tar xjpf video/Sector9-stage4-2008.05.07-custom.tar.bz2
 
 I'm just trying to be really careful here. I think this is all an
 extension of how we build a Gentoo machine by untaring a stage3 file
 but I'm doing it on a system that's live and I don't want to mess up
 the exiting drive.
I think you don't have to tar/untar, using rsync is more straight forward.

just like:

mount /dev/sdb3 /install
cd /install
rsync -av /* . --exclude=/dev --exclude=/proc --exclude=/sys
--exclude=/tmp --exclude=/var/tmp --exclude=/selinux --exclude=...
make sure /sys, /proc are not included (probably also /tmp, /var/tmp)

then:

mkdir -p tmp var/tmp
chmod  1777 tmp var/tmp

mount /dev/sda3 /mnt/temp   # orignal / directory
cp -av /mnt/temp/dev .  # rsync /dev, not directly because /dev is
dynamically mounted by udev.
mkdir -p sys proc selinux ...

please also don't forget mount /boot before rsync (or tar/untar).

 If this is correct then I'll chroot into the new environment for
 testing, adding grub, etc., and then do a BIOS change to boot off of
 the second drive and hopefully be live.
I think it will be easier to use LVM then you don't have to manage raw harddisk 
names like hdaX or hdbX, also it's more flexible and easier to management

for your instance, please also don't forget modify /etc/fstab (if
neccessary), but you could also use disklabel/uuid instead of raw
harddisk names), ie:

LABEL=/gentoo / ext3 noatime 0 0
UUID=whatever /var reiserfs noatime,notail,nosuid 0 0
...

 Thanks,
 Mark
-- 
Wang, BaojunLanzhou University
Distributed  Embedded System Lab  http://dslab.lzu.edu.cn
School of Information Science and Engeneering  [EMAIL PROTECTED]
Tianshui South Road 222. Lanzhou 73 .P.R.China
Tel: +86-931-8912025  Fax: +86-931-8912022



signature.asc
Description: 	这是信件的数字签	名部分


[gentoo-user] Re: Question about gstreamer

2008-05-07 Thread Francesco Talamona
On Thursday 08 May 2008, AJ Spagnoletti wrote:
 Here is the relavent output from eix gstreamer:

 [UD] media-libs/gstreamer
      Available versions:  (0.10)  0.10.14 (~)0.10.17 (~)0.10.19
 {debug nls test}
      Installed versions:  0.8.11(0.8)(18:40:46 04/24/07)(-debug -doc)
   0.10.14(0.10)(17:45:07 09/17/07)
      Homepage:            http://gstreamer.sourceforge.net
      Description:         Streaming media framework

 From this output it appears that 0.8.** versions of gstreamer have
 been removed from the portage tree, is gstreamer-0.8 leftover on my
 system and can it safely be removed?

Gstreamer 0.8 *is installed*, maybe is this the source of confusion?

Unmerge gstreamer specifying the version (version 0.10 will be left 
there):

emerge -Ca media-libs/gstreamer-0.8.11

Clean revdep-rebuild temp files:
rm /root/.revdep-rebuild*

re-run revdep-rebuild

Ciao
Francesco


-- 
Linux Version 2.6.25-gentoo-r2, Compiled #1 PREEMPT Sun May 4 08:26:42 
CEST 2008
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.95 Bogomips Total
aemaeth
-- 
gentoo-user@lists.gentoo.org mailing list