Re: [gentoo-user] Finally! But a few issues...

2005-04-28 Thread Walter Dnes
On Wed, Apr 27, 2005 at 12:53:29AM -0400, Colin wrote
 Finally!  I have a working install of Linux 2.6.11-gentoo-r6 on a
 Pentium II machine that I plan to  use as a portable media center. 
 (Think of it as an iPod on steroids.)

  It's probably OK if you intend to run only audio, but video might be a
problem.  I finally found an excuse to look for a replacement for my
1999-vintage Dell (450 mhz PIII with 128 megs of RAM).  I find that
mplayer has problems keeping up with 45 kbit/sec internet TV streams.

  You mentioned that your USB is painfully slow.  A PII-vintage machine
would not have been built with USB 2.  It didn't exist back then.  You
have USB 1.1 at best, i.e. just over 1 megabyte/second.  You're *NOT*
going to get faster speeds by changing the filesystem on the key or
media.  The main bottleneck is your old USB hardware.  The PII probably
would have problems keeping up with USB 2 throughput as well.

-- 
Walter Dnes [EMAIL PROTECTED]
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Richard Fish
Colin wrote:

I found the Reiser4 emerge guide on the Gentoo forums, but that didn't
work for me.  Is there any way to emerge Reiser4 support into my
kernel?
  


You might have to download a kernel patch directly from
www.namesys.com.  If you do decide to try out reiser4, be sure to
subscribe to the mail list, and you might want to browse the archives of
that list before jumping in.  It is, after all, a _beta_ filesystem!

2.)  This will be an embedded system, so how can I speed up the boot
process (after the BIOS hands control to GRUB)?
  


Software Suspend v2.  There was a link to a nice article about it here
not too long ago.

3.)  What's the Linux equivalent of DOS/Windows' autoexec.bat
(something to run commands on startup, namely setterm -blank 0)?
  


~/.bashrc will be executed by every (bash) shell that is started. 

4.)  My USB key and/or a media card reader are sometimes plugged into
this computer, but not always.  It's a hassle manually mounting them
every time I want to use it.  Can I mount them in /etc/fstab even
  


Try something like this:

LABEL=USBKEY /mnt/usbkey auto noauto,user  0 0

(Use whatever LABEL your USB key has above).  You will really need the
noauto option, and probably want user if you don't want to have to
be root to mount it.

5.)  And as far as my USB key is concerned, FAT32 is slow and
unjournaled.  It sucks.  ReiserFS is the greatest thing since NTFS as
far as I'm concerned, and I'd like to use that on my USB key, since
it's speedy, journaled and space-efficient.

Are there Windows/Mac OS 9/Mac OS X plugins for ReiserFS?  I'd like to
put a small FAT partition on my key with just the plugins and a Reiser
partition spanning the rest for my data.
  

Not AFAIK.  There are some userspace read-only utilities for ext2 (and
ext3), but nothing for reiserfs.  Your best bet is probably fat32 (or my
preference, vfat).  BTW, even 'high-speed' USB disk keys can only
transfer at ~9MB/sec, and seek time is nil for flash, so it doesn't
really make sense to talk about a 'high performance' filesystem for a
USB disk key, IMO.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Neil Bothwick
 ~/.bashrc will be executed by every (bash) shell that is started. 

That's for each login. If you want programs executed at startup, put them
in /etc/init.d/local.start.

 Not AFAIK.  There are some userspace read-only utilities for ext2 (and
 ext3), but nothing for reiserfs.

There is. Try rfstool from http://p-nand-q.com/e/reiserfs.html


-- 
Neil Bothwick

Boss spelled backwards is double-SOB


pgpWdxJmafXYr.pgp
Description: PGP signature


Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread James Hiscock
 That's for each login. If you want programs executed at startup, put them
 in /etc/init.d/local.start.

...actually, you'll probably want to put them in /etc/conf.d/local.start...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Neil Bothwick
On Wed, 27 Apr 2005 06:09:06 -0400, James Hiscock wrote:

  That's for each login. If you want programs executed at startup, put
  them in /etc/init.d/local.start.
 
 ...actually, you'll probably want to put them in /etc/conf.d/
 local.start...

Damn keyboard, I pressed c-o-n-f and it typed init!


-- 
Neil Bothwick

Atheism is a non-prophet organization.


pgpBdhMj8SvqO.pgp
Description: PGP signature


Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Richard Fish
Neil Bothwick wrote:

~/.bashrc will be executed by every (bash) shell that is started. 



That's for each login. If you want programs executed at startup, put them
in /etc/init.d/local.start.
  


True, but the specific command he wants to run is setterm.  Does that
would correctly from local.start?


Not AFAIK.  There are some userspace read-only utilities for ext2 (and
ext3), but nothing for reiserfs.



There is. Try rfstool from http://p-nand-q.com/e/reiserfs.html
  


COOL, thanks for the link!

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Dave Nebinger
 ~/.bashrc will be executed by every (bash) shell that is started.
 
 That's for each login. If you want programs executed at startup, put them
 in /etc/init.d/local.start.
 
 True, but the specific command he wants to run is setterm.  Does that
 would correctly from local.start?

It certainly does.  I use both setterm -blank 0 and setterm -powersave
off in my local.start to ensure the console is always viewable.  Works like
a charm.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Neil Bothwick
On Wed, 27 Apr 2005 06:55:30 -0700, Richard Fish wrote:

 True, but the specific command he wants to run is setterm.  Does that
 would correctly from local.start?

Yes it does, I do it myself to disable screen blanking.


-- 
Neil Bothwick

This is as bad as it can get; but don't bet on it.


pgpUKKSMyhpta.pgp
Description: PGP signature


Re: [gentoo-user] Finally! But a few issues...

2005-04-27 Thread Mauro Faccenda
Neil Bothwick wrote:
~/.bashrc will be executed by every (bash) shell that is started. 
 
 
 That's for each login. If you want programs executed at startup, put them
 in /etc/init.d/local.start.
 
 
Not AFAIK.  There are some userspace read-only utilities for ext2 (and
ext3), but nothing for reiserfs.

There is some (comercial and opensource) ext2/3 drivers for windows too.
It works very nice, with even large (100GB+) partitions.

I think 'Paragon Mount Everything' is the name of the comercial one...

And there's a opensource one, that is from the same team of
explore2fs... i forgot its name.

[]'s
Mauro
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Finally! But a few issues...

2005-04-26 Thread Colin
Finally!  I have a working install of Linux 2.6.11-gentoo-r6 on a
Pentium II machine that I plan to  use as a portable media center. 
(Think of it as an iPod on steroids.)

But I've got a few issues, as the subject line says.  Linux newbie
here, though I have done many unsuccessful Gentoo installations
before, so my feet are wet.


1.)  I've got Reiser3.6 on my / partition (/dev/hda3, /mnt/gentoo). 
I've also got Reiser3.6 on my /home partition (/dev/hda4,
/mnt/gentoo/home), but I'd like to try Reiser4 out.  I hear that in
almost all cases, it's an extremely fast and safe file system.  True,
it's a working beta version, but my /home partition is disposable (any
files I put there will be copied over from another computer, anyway,
so I've always got a live backup) so I think I'll jump in.

I found the Reiser4 emerge guide on the Gentoo forums, but that didn't
work for me.  Is there any way to emerge Reiser4 support into my
kernel?


2.)  This will be an embedded system, so how can I speed up the boot
process (after the BIOS hands control to GRUB)?

I've compiled a lot of stuff as modules so I can load and unload them
whenever necessary, so that cuts down on boot time.  Things I've
noticed that take forever are Calculating module dependencies...,
mounting Reiser3.6 partitions and DHCP detection (which I want).


3.)  What's the Linux equivalent of DOS/Windows' autoexec.bat
(something to run commands on startup, namely setterm -blank 0)?


4.)  My USB key and/or a media card reader are sometimes plugged into
this computer, but not always.  It's a hassle manually mounting them
every time I want to use it.  Can I mount them in /etc/fstab even
though it won't always be present at boot-time?  Here's what I've got,
commented out for now:
 /dev/sda1 /mnt/usbdrive vfat noatime 0 0
 /dev/sdb1 /mnt/cards/cf-mdautonoatime 0 0
 /dev/sdb2 /mnt/cards/sd-mmcauto noatime 0 0
 /dev/sdb3 /mnt/cards/sm-xd   auto noatime 0 0
 /dev/sdb4 /mnt/cards/ms-mspro auto noatime 0 0


5.)  And as far as my USB key is concerned, FAT32 is slow and
unjournaled.  It sucks.  ReiserFS is the greatest thing since NTFS as
far as I'm concerned, and I'd like to use that on my USB key, since
it's speedy, journaled and space-efficient.

Are there Windows/Mac OS 9/Mac OS X plugins for ReiserFS?  I'd like to
put a small FAT partition on my key with just the plugins and a Reiser
partition spanning the rest for my data.
-- 
Colin

-- 
gentoo-user@gentoo.org mailing list