[gentoo-user] broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Helmut Jarausch
Hi,

probably, portage-2.2.0_alpha28 has broken my system.

I have reinstalled a binary version of portage-2.2.0_alpha27, but ...

For many packages, portage installs libraries into /usr instead of
/usr/lib64 or /usr/lib32

Probably, the function  get_libdir 
(defined in /usr/portage/eclass/multilib.eclass)
returns an empty string.

Does anybody know, how to recover from this?

Many thanks for a hint,
Helmut.



[gentoo-user] Re: broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread walt

On 03/21/2011 02:19 AM, Helmut Jarausch wrote:

Hi,

probably, portage-2.2.0_alpha28 has broken my system.

I have reinstalled a binary version of portage-2.2.0_alpha27, but ...

For many packages, portage installs libraries into /usr instead of
/usr/lib64 or /usr/lib32

Probably, the function  get_libdir
(defined in /usr/portage/eclass/multilib.eclass)
returns an empty string.


Seems that some important definitions are stored in
/usr/portage/profiles/features/multilib/make.defaults and for some
reason they are not being honored.

That file should be sourced during every emerge, depending on your
selected portage profile.  What does eselect profile list say?
Is the selected profile the correct one?

Maybe using the -d flag with emerge will give you a hint where things
are going wrong.




[gentoo-user] Emerge server

2011-03-21 Thread Peter Humphrey
Hello list,

I'm setting my i5 workstation up to be an emerge host to a new Atom N550 box 
on the LAN. I've created a 32-bit chroot at /mnt/atom on the i5 box, written 
an init.d script to mount the Atom's whole file system on /mnt/atom/target 
over NFS, and set an alias
tmerj='emerge --root=/target --jobs=5 --keep-going'
in /mnt/atom/etc/profile.d/profile_aliases.sh.

The Atom box has had nfs-utils installed at an early stage so that the 
workstation can do all the heavy work. Its /etc/exports file says
/ 192.168.2.6(sync,rw,no_root_squash,no_subtree_check

This appears to be working, but for an odd wrinkle (and it's too early to 
declare success of the whole operation). Some packages, such as MySQL, when 
I've installed them this way have also been installed in parallel on the 
host machine. At least, that appeared to be happening because for several 
packages I had one job emerge  to /target/ and another emerge without that 
qualification. Yet when I cat /mnt/atom/var/lib/portage/world, it's empty.

How should I interpret this? Have I missed something in the setup? I'm also 
unsure of the effect of /proc and /sys being nfs-exported from the Atom, so I 
think I'll make the export a bit more selective (when gentoo-sources have 
finished being written to disk - it's been about 20 minutes so far).

Incidentally, one thing I've noticed is that the final stage of installing 
gentoo-sources, the writing to disk of all the files, takes many minutes 
because of the slow 2.5 disk in the Atom box. The rest of the operation, so 
far, is pleasingly quick - much better than building natively on the Atom.

-- 
Rgds
Peter



Re: [gentoo-user] Re: broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Helmut Jarausch
On 03/21/2011 11:13:36 AM, walt wrote:
 On 03/21/2011 02:19 AM, Helmut Jarausch wrote:
  Hi,
 
  probably, portage-2.2.0_alpha28 has broken my system.
 
  I have reinstalled a binary version of portage-2.2.0_alpha27, but
 ...
 
  For many packages, portage installs libraries into /usr instead of
  /usr/lib64 or /usr/lib32
 
  Probably, the function  get_libdir
  (defined in /usr/portage/eclass/multilib.eclass)
  returns an empty string.
 
 Seems that some important definitions are stored in
 /usr/portage/profiles/features/multilib/make.defaults and for some
 reason they are not being honored.
 
 That file should be sourced during every emerge, depending on your
 selected portage profile.  What does eselect profile list say?
 Is the selected profile the correct one?
 
 Maybe using the -d flag with emerge will give you a hint where things
 are going wrong.

Thanks, Walt.

/usr/portage/profiles/features/multilib/make.defaults  looks OK

The selected profile is default/linux/amd64/10.0/desktop
which is OK, as well.

I should have mentioned that after installing portage-2.2.0_alpha28
the search path included /usr/portage/bin  which doesn't exist.
I have no idea where this came from.

The debugging run revealed that the 'multilib' USE flag got lost.

I've just emerged a package both on my machine and a very similar 
machine but which hasn't been updated the last few days.

Diffing the two log files showed that the multilib USE flag isn't in 
effect on my machine (only).

I've compared /etc/make.conf on both machines and there isn't any 
difference. So, it looks like a broken profile here.
What to do about that?

Thanks,
Helmut.



Re: [gentoo-user] Emerge server

2011-03-21 Thread Gregory Fontenele
any manager can I unsubscribe from this list?

Enviado via iPhone

Em 21/03/2011, às 07:40, Peter Humphrey pe...@humphrey.ukfsn.org escreveu:

 Hello list,
 
 I'm setting my i5 workstation up to be an emerge host to a new Atom N550 box 
 on the LAN. I've created a 32-bit chroot at /mnt/atom on the i5 box, written 
 an init.d script to mount the Atom's whole file system on /mnt/atom/target 
 over NFS, and set an alias
tmerj='emerge --root=/target --jobs=5 --keep-going'
 in /mnt/atom/etc/profile.d/profile_aliases.sh.
 
 The Atom box has had nfs-utils installed at an early stage so that the 
 workstation can do all the heavy work. Its /etc/exports file says
/ 192.168.2.6(sync,rw,no_root_squash,no_subtree_check
 
 This appears to be working, but for an odd wrinkle (and it's too early to 
 declare success of the whole operation). Some packages, such as MySQL, when 
 I've installed them this way have also been installed in parallel on the 
 host machine. At least, that appeared to be happening because for several 
 packages I had one job emerge  to /target/ and another emerge without that 
 qualification. Yet when I cat /mnt/atom/var/lib/portage/world, it's empty.
 
 How should I interpret this? Have I missed something in the setup? I'm also 
 unsure of the effect of /proc and /sys being nfs-exported from the Atom, so I 
 think I'll make the export a bit more selective (when gentoo-sources have 
 finished being written to disk - it's been about 20 minutes so far).
 
 Incidentally, one thing I've noticed is that the final stage of installing 
 gentoo-sources, the writing to disk of all the files, takes many minutes 
 because of the slow 2.5 disk in the Atom box. The rest of the operation, so 
 far, is pleasingly quick - much better than building natively on the Atom.
 
 -- 
 Rgds
 Peter
 


Re: [gentoo-user] broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Gregory Fontenele
any manager can I unsubscribe from this list?

Enviado via iPhone

Em 21/03/2011, às 06:19, Helmut Jarausch jarau...@igpm.rwth-aachen.de 
escreveu:

 Hi,
 
 probably, portage-2.2.0_alpha28 has broken my system.
 
 I have reinstalled a binary version of portage-2.2.0_alpha27, but ...
 
 For many packages, portage installs libraries into /usr instead of
 /usr/lib64 or /usr/lib32
 
 Probably, the function  get_libdir 
 (defined in /usr/portage/eclass/multilib.eclass)
 returns an empty string.
 
 Does anybody know, how to recover from this?
 
 Many thanks for a hint,
 Helmut.
 


Re: [gentoo-user] Re: broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Gregory Fontenele
any manager can I unsubscribe from this list?

Enviado via iPhone

Em 21/03/2011, às 07:44, Helmut Jarausch jarau...@igpm.rwth-aachen.de 
escreveu:

 On 03/21/2011 11:13:36 AM, walt wrote:
 On 03/21/2011 02:19 AM, Helmut Jarausch wrote:
 Hi,
 
 probably, portage-2.2.0_alpha28 has broken my system.
 
 I have reinstalled a binary version of portage-2.2.0_alpha27, but
 ...
 
 For many packages, portage installs libraries into /usr instead of
 /usr/lib64 or /usr/lib32
 
 Probably, the function  get_libdir
 (defined in /usr/portage/eclass/multilib.eclass)
 returns an empty string.
 
 Seems that some important definitions are stored in
 /usr/portage/profiles/features/multilib/make.defaults and for some
 reason they are not being honored.
 
 That file should be sourced during every emerge, depending on your
 selected portage profile.  What does eselect profile list say?
 Is the selected profile the correct one?
 
 Maybe using the -d flag with emerge will give you a hint where things
 are going wrong.
 
 Thanks, Walt.
 
 /usr/portage/profiles/features/multilib/make.defaults  looks OK
 
 The selected profile is default/linux/amd64/10.0/desktop
 which is OK, as well.
 
 I should have mentioned that after installing portage-2.2.0_alpha28
 the search path included /usr/portage/bin  which doesn't exist.
 I have no idea where this came from.
 
 The debugging run revealed that the 'multilib' USE flag got lost.
 
 I've just emerged a package both on my machine and a very similar 
 machine but which hasn't been updated the last few days.
 
 Diffing the two log files showed that the multilib USE flag isn't in 
 effect on my machine (only).
 
 I've compared /etc/make.conf on both machines and there isn't any 
 difference. So, it looks like a broken profile here.
 What to do about that?
 
 Thanks,
 Helmut.
 


Re: [gentoo-user] Emerge server

2011-03-21 Thread Peter Humphrey
On Monday 21 March 2011 10:40:52 I wrote:

 Have I missed something in the setup?

I had. I'd missed --config-root=/target to go with --root=target.

Sorry about the noise - though someone may be interested in how I'm 
implementing the idea of an emerge server.

-- 
Rgds
Peter



Re: [gentoo-user] Emerge server

2011-03-21 Thread Neil Bothwick
On Mon, 21 Mar 2011 08:30:46 -0300, Gregory Fontenele wrote:

 any manager can I unsubscribe from this list?

You don't get off mailing lists by spamming them.

If you are incapable of following the instructions you have already been
given, you could always killfile the list's address, as I am doing with
yours.


-- 
Neil Bothwick

(A)bort (R)etry (S)ell it


signature.asc
Description: PGP signature


Re: [gentoo-user] broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Helmut Jarausch
On 03/21/2011 10:19:07 AM, Helmut Jarausch wrote:
 Hi,
 
 probably, portage-2.2.0_alpha28 has broken my system.
 
 I have reinstalled a binary version of portage-2.2.0_alpha27, but ...
 
 For many packages, portage installs libraries into /usr instead of
 /usr/lib64 or /usr/lib32
 
 Probably, the function  get_libdir 
 (defined in /usr/portage/eclass/multilib.eclass)
 returns an empty string.
 

I've just nuked /usr/portage/profile and restored it from a 
machine which hasn't been updated the last few days.

Now, it looks as if this has fixed my machine.

So, beware of portage-2.2.0_alpha28 !

Helmut.



Re: [gentoo-user] Emerge server

2011-03-21 Thread Peter Humphrey
On Monday 21 March 2011 11:44:47 I wrote:
 On Monday 21 March 2011 10:40:52 I wrote:
  Have I missed something in the setup?
 
 I had. I'd missed --config-root=/target to go with --root=target.

The next problem comes when installing xorg-xserver, which tries to find a 
kernl config in /usr/src/linux/ and doesn't find one. Maybe I'll have to 
symlink /usr/src/linux to /target/usr/src/linux. I'll have to think about 
that one.
 
Rgds
Peter



[gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Jarry

Hi,

I'm looking for the best filesystem for a small multi-purpose
server with a couple of services running (ftp, web, mail, mysql).
For me very important features are:

snapshot (will be used for backup, must be native without lvm)
journaling
resizeable (if possible online)

After a little research I have found two candidates:
JFS (created by IBM)
XFS (created by SGI)

Now without trying to start flame-war, my question is:
which of them could be better for my need?
More stable, more reliable, more efficient, etc.
Or should I consider some different filesystem?

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Matthias Fechner
Am 21.03.2011 20:32, schrieb Jarry:
 resizeable (if possible online)

I switched to ext4, it can resize in both direction.

Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Stéphane Guedon
On Monday 21 March 2011 20:32:22 Jarry wrote:
 Hi,
 
 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:
 
 snapshot (will be used for backup, must be native without lvm)
 journaling
 resizeable (if possible online)
 
 After a little research I have found two candidates:
 JFS (created by IBM)
 XFS (created by SGI)
 
 Now without trying to start flame-war, my question is:
 which of them could be better for my need?
 More stable, more reliable, more efficient, etc.
 Or should I consider some different filesystem?
 
 Jarry

Someone said me reiser (version 3, still stable and maintained). Especially 
for small files like DB and portage tree.

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Dale

Jarry wrote:

Hi,

I'm looking for the best filesystem for a small multi-purpose
server with a couple of services running (ftp, web, mail, mysql).
For me very important features are:

snapshot (will be used for backup, must be native without lvm)
journaling
resizeable (if possible online)

After a little research I have found two candidates:
JFS (created by IBM)
XFS (created by SGI)

Now without trying to start flame-war, my question is:
which of them could be better for my need?
More stable, more reliable, more efficient, etc.
Or should I consider some different filesystem?

Jarry



If you use XFS, make sure you have a UPS to prevent hard power offs.  I 
used XFS a good while back, every time the power would fail, it was 
toast.  I never did get it to rescue itself and ended up re-installing 
the OS.  It may have changed but that was my experience with XFS.  It 
was fast and nice but it likes normal shutdowns.


Dale

:-)  :-)



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Michael Hampicke
 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:
 
 Now without trying to start flame-war, my question is:
 which of them could be better for my need?
 More stable, more reliable, more efficient, etc.
 Or should I consider some different filesystem?

No easy to answer, jfs and xfs are both good file systems, that's why I
am using both on my server at home.

JFS on my root partition and backup storage space (250.000 files of all
sizes, 900GB) because it uses very little cpu and is very fast. Low cpu
usage was important for me, because my backup space is encrypted with
cryptsetup/LUKS.

On my media storage (recordings, movies, only big files: 500MB to 15GB)
I use xfs because of it's delayed allocation which helps to avoid
fragmentation. With xfs_fsr xfs also brings it's own defragmentation
utility.

Speedwise I would they that they are both at about the same speed, but I
cannot give you exact numbers.
xfs however uses more memory (because of the delayed allocation) and if
your server suddenly loses power you can lose data.

Hope that helps you, greetings from germany

Michael



Re: [gentoo-user] Re: broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Dale

Gregory Fontenele wrote:

any manager can I unsubscribe from this list?



I don't think there are any managers here.  You have to unsubscribe 
yourself, sort of the same way you subscribed to this list.  Try reading 
this or the headers in each message:


http://www.gentoo.org/main/en/lists.xml

Hope that helps.

Dale

:-)  :-)


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Thanasis
on 03/21/2011 11:52 PM Dale wrote the following:
 snip

 If you use XFS, make sure you have a UPS to prevent hard power offs. 
 I used XFS a good while back, every time the power would fail, it was
 toast.
I second this. My experience with xfs: a good chance you will end up
with empty (zero size) files when the power fails (or maybe when it
comes back up?).
 I never did get it to rescue itself and ended up re-installing the OS.  
Same here.
 It may have changed 
I don't think so.
 but that was my experience with XFS.
yea ...The hard way...
 It was fast and nice 
Not fast on deletes. On the contrary, it was dead slow.
 but it likes normal shutdowns.
It won't survive otherwise...



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Michael Hampicke

 It was fast and nice 

 Not fast on deletes. On the contrary, it was dead slow.

That's about to change [1] - haven't tested it though

[1]
http://xfs.org/index.php/Improving_Metadata_Performance_By_Reducing_Journal_Overhead



[gentoo-user] problems with mutt and mimetypes

2011-03-21 Thread Michael George
I'm having trouble with mutt opening other applications for various mime
types.

I'm sure this worked last month, and from what I can see, I had
mutt-1.5.20-r18 and firefox-3.6.13.  I now have mutt-1.5.21-r1 and
firefox-3.6.15.

mutt -nF /dev/null -Q mailcap_path gives me:

mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap

I have nothing for the tag text/html in my muttrc file.

I have text/html; firefox %s in my ~/.mailcap file.

I have the following in /etc/mailcap:

text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
description=HTML Text; nametemplate=%s.html
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
description=HTML Text; nametemplate=%s.html

and if I put auto_view in my muttrc file, it will try to open the
files with lynx.  Yet putting the firefox %s command into /etc/mailcap
doesn't open firefox.

All the docs I can find seem to indicates that what I have configured
should try to open firefox like it used to, but it isn't.  Is there
perhaps some type of connecting package that needed to be rebuild with
firefox for this to work?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Florian Philipp
Am 21.03.2011 20:32, schrieb Jarry:
 Hi,
 
 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:
 
 snapshot (will be used for backup, must be native without lvm)
 journaling
 resizeable (if possible online)
 
 After a little research I have found two candidates:
 JFS (created by IBM)
 XFS (created by SGI)
 
 Now without trying to start flame-war, my question is:
 which of them could be better for my need?
 More stable, more reliable, more efficient, etc.
 Or should I consider some different filesystem?
 
 Jarry
 

In the past, I used many different file systems including JFS,
ReiserFS-3, Ext2 and Ext3 but excluding XFS (so I won't say anything on
that). Now I only ever use Ext4 except for floppies and USB sticks.

JFS is a nice system, especially for larger files and resource
constrained servers. However, Ext4 has become so much better than Ext3
in perceived performance (especially when handling large files) that I
see no reason to use anything but that.

While it is still quiet young, it receives the most testing because it
is the de-facto standard on most distributions. I personally never had
data loss on Ext*, even when handling with unreliable laptops that kept
freezing or producing kernel oops.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Paul Hartman
On Mon, Mar 21, 2011 at 4:52 PM, Dale rdalek1...@gmail.com wrote:
 Jarry wrote:

 Hi,

 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:

 snapshot (will be used for backup, must be native without lvm)
 journaling
 resizeable (if possible online)

 After a little research I have found two candidates:
 JFS (created by IBM)
 XFS (created by SGI)

 Now without trying to start flame-war, my question is:
 which of them could be better for my need?
 More stable, more reliable, more efficient, etc.
 Or should I consider some different filesystem?

 Jarry


 If you use XFS, make sure you have a UPS to prevent hard power offs.  I used
 XFS a good while back, every time the power would fail, it was toast.  I
 never did get it to rescue itself and ended up re-installing the OS.  It may
 have changed but that was my experience with XFS.  It was fast and nice but
 it likes normal shutdowns.

My anecdotal 2 cents:

For JFS, I used it on 2 systems and both were ruined by
crash/power-failure, journal replay failed, repair caused millions of
of JFS files to be renamed to inode number (or equally as useless
filenames). File contents of those were basically okay, but I had no
idea what they were or where they came from. Making an index of all
files in your system with full path and filename, filesize and hash
and storing it on another machine would help to match those files to
their original names in the event of a crash. This was about 5 years
ago so maybe JFS's crash recovery is more robust now, I don't know
because I have avoided it ever since.

I used XFS on a drive which had a bad cable and offlined itself in the
middle of an operation, it wouldn't mount and fsck didn't fix it,
which was scary, but using the xfs tools I was able to repair it
enough to mount read-only and copy all my files off to another disk,
then replaced the cable and reformatted the bad drive. So XFS got
positive marks for being recoverable, negative marks for failing to
recover itself. But in the end I was able to get my files in their
original names and locations, which was better than JFS. :)

Now for the past couple years I use ext4 everywhere and have suffered
dozens of crashes and power failures without incident (laptop with
dead battery and lack of power management, crazy nvidia-drivers
problems on desktop machine, UPS that died during a storm...).

For me, ext4 has been unbreakable so far. Fingers crossed. :)



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Amankwah
On Mon, Mar 21, 2011 at 08:32:22PM +0100, Jarry wrote:
 Hi,
 
 I'm looking for the best filesystem for a small multi-purpose
 server with a couple of services running (ftp, web, mail, mysql).
 For me very important features are:
 
 snapshot (will be used for backup, must be native without lvm)
 journaling
 resizeable (if possible online)
 
 After a little research I have found two candidates:
 JFS (created by IBM)
 XFS (created by SGI)
 
 Now without trying to start flame-war, my question is:
 which of them could be better for my need?
 More stable, more reliable, more efficient, etc.
 Or should I consider some different filesystem?
 
 Jarry
 

I was using XFS??but the *rm* is a nightmare. so I suggust you to try
JFS, if your server need to remove files frequently. but i use
ext4/reiserfs now. and the btrfs is worth trying.




Re: [gentoo-user] broken system - get_libdir returns an emtpy string - please help

2011-03-21 Thread Mike Gilbert
On Mon, Mar 21, 2011 at 8:03 AM, Helmut Jarausch
jarau...@igpm.rwth-aachen.de wrote:
 On 03/21/2011 10:19:07 AM, Helmut Jarausch wrote:
 Hi,

 probably, portage-2.2.0_alpha28 has broken my system.

 I have reinstalled a binary version of portage-2.2.0_alpha27, but ...

 For many packages, portage installs libraries into /usr instead of
 /usr/lib64 or /usr/lib32

 Probably, the function  get_libdir
 (defined in /usr/portage/eclass/multilib.eclass)
 returns an empty string.


 I've just nuked /usr/portage/profile and restored it from a
 machine which hasn't been updated the last few days.

 Now, it looks as if this has fixed my machine.

 So, beware of portage-2.2.0_alpha28 !

 Helmut.



vapier made some changes to the multilib profile stuff around 20 hours
ago. Maybe related?



Re: [gentoo-user] problems with mutt and mimetypes

2011-03-21 Thread Amankwah
On Mon, Mar 21, 2011 at 06:44:44PM -0400, Michael George wrote:
 I'm having trouble with mutt opening other applications for various mime
 types.
 
 I'm sure this worked last month, and from what I can see, I had
 mutt-1.5.20-r18 and firefox-3.6.13.  I now have mutt-1.5.21-r1 and
 firefox-3.6.15.
 
 mutt -nF /dev/null -Q mailcap_path gives me:
 
 mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
 
 I have nothing for the tag text/html in my muttrc file.
 
 I have text/html; firefox %s in my ~/.mailcap file.
 
 I have the following in /etc/mailcap:
 
 text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
 description=HTML Text; nametemplate=%s.html
 text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
 description=HTML Text; nametemplate=%s.html
 
 and if I put auto_view in my muttrc file, it will try to open the
 files with lynx.  Yet putting the firefox %s command into /etc/mailcap
 doesn't open firefox.
 
 All the docs I can find seem to indicates that what I have configured
 should try to open firefox like it used to, but it isn't.  Is there
 perhaps some type of connecting package that needed to be rebuild with
 firefox for this to work?
 

try to using the /usr/bin/firefox in your ~/.mailcap instead?



Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Jacob Todd
I've been using xfs on a 1tb WD MyBook for storage for about a year now, and
even with multiple power failures, it's been fine. It doesn't get written to
as much as read to, though, and iirc i have a cron job run sync every half
an hour.


Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Dale

Jacob Todd wrote:


I've been using xfs on a 1tb WD MyBook for storage for about a year 
now, and even with multiple power failures, it's been fine. It doesn't 
get written to as much as read to, though, and iirc i have a cron job 
run sync every half an hour.




The cron job is cheating.  ROFL

Dale

:-)  :-)



Re: [gentoo-user] problems with mutt and mimetypes

2011-03-21 Thread Michael George
On Tue, Mar 22, 2011 at 07:23:13AM +0800, Amankwah wrote:
 On Mon, Mar 21, 2011 at 06:44:44PM -0400, Michael George wrote:
  I'm having trouble with mutt opening other applications for various mime
  types.
  
  I'm sure this worked last month, and from what I can see, I had
  mutt-1.5.20-r18 and firefox-3.6.13.  I now have mutt-1.5.21-r1 and
  firefox-3.6.15.
  
  mutt -nF /dev/null -Q mailcap_path gives me:
  
  mailcap_path=~/.mailcap:/usr/share/mutt/mailcap:/etc/mutt/mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
  
  I have nothing for the tag text/html in my muttrc file.
  
  I have text/html; firefox %s in my ~/.mailcap file.
  
  I have the following in /etc/mailcap:
  
  text/html; /usr/bin/lynx -force_html '%s'; needsterminal;
  description=HTML Text; nametemplate=%s.html
  text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
  description=HTML Text; nametemplate=%s.html
  
  and if I put auto_view in my muttrc file, it will try to open the
  files with lynx.  Yet putting the firefox %s command into /etc/mailcap
  doesn't open firefox.
  
  All the docs I can find seem to indicates that what I have configured
  should try to open firefox like it used to, but it isn't.  Is there
  perhaps some type of connecting package that needed to be rebuild with
  firefox for this to work?
  
 
 try to using the /usr/bin/firefox in your ~/.mailcap instead?

Thank you for your reply, but that didn't work, either.

However, I tried replacing the second text/html entry from /etc/mailcap
with:
text/html; /usr/bin/firefox %s; copiousoutput; description=HTML Text;
nametemplate=%s.html

and if I had auto_view text/html in my .muttrc file, it would open a
firefox tab as soon as I open the mail message.  If I comment that line out,
it won't display the html in a firefox window even when I select that
part of the mail...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.




Re: [gentoo-user] the best filesystem for server: XFS or JFS (or?)

2011-03-21 Thread Duong Yang Ha Nguyen
On Mon, 21 Mar 2011, Paul Hartman wrote:

 Now for the past couple years I use ext4 everywhere and have suffered
 dozens of crashes and power failures without incident (laptop with
 dead battery and lack of power management, crazy nvidia-drivers
 problems on desktop machine, UPS that died during a storm...).

 For me, ext4 has been unbreakable so far. Fingers crossed. :)


One more positive mark for ext4.  Toshiba laptops have the feature
which automatically turns themselves off to protect the hardware if
they suffer from overhead.  I've been using 2 Toshiba satellites with
Gentoo and countless power down incidents (especially when compiling
chromium or kdelibs), I use ext4 for all partitions and I've never had
a problem losing my data.

About the performance comparison, check out [1]Phoronix for more
details.

[1] http://phoronix.com

All the best,
Yang
-- 
Dương Yang Hà Nguyễn
Web log: http://cmpitg.wordpress.com/
Life is a hack

[ Do not send me M$ Office attachments, please.
  http://www.gnu.org/philosophy/no-word-attachments.html ]

-BEGIN GEEK CODE BLOCK-
Version: 3.12
GIT/C/ED/L d++ s-:-(:) !a C+++() ULU$ P-- L+++$ E+++
W+ N+ o+ K w--- O- M@ V- PS+ PE++ Y+++ PGP++ t+ 5 X+ R-
tv+ b+++ DI+++ D++ G+++ e* h* r* y-
-END GEEK CODE BLOCK-