Linux-Misc Digest #296, Volume #25               Mon, 31 Jul 00 14:13:05 EDT

Contents:
  Re: File extensions (Leonard Evens)
  Re: FWD: Red Hat's CFO abandoning ship. (John Hasler)
  Re: Advice on cutting memory usage
  Re: Automatic login (Byron A Jeff)
  Re: File extensions (Grischa Stegemann)
  test ("Terry")
  Re: Email client ("Thomas Shannon")
  Re: alsa sucks (gLiTcH)
  Re: realtek 8029 (gLiTcH)
  Mount hangs after RedHat upgrade (SOLUTION) (Anthony Veale)
  Re: apache autostart on boot? ([EMAIL PROTECTED])
  Re: Advice on cutting memory usage (Rasputin)
  Re: Shutdown problem (Mike Styne)
  Re: gnutella client (Rasputin)
  Re: Netatalk and Red Hat 6.2 (Rasputin)
  Re: Netscape Mail Problem (Rasputin)
  Re: Hosed install.  Techs messed up.  Moving /usr? (Greg Alexander)
  Re: Advice on cutting memory usage (Andrew J. Perrin)
  Re: terminal window drectory (Rasputin)
  Re: [Help] Setting up 2.2.16: Problems with modules symbols and power down (Rasputin)

----------------------------------------------------------------------------

From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: File extensions
Date: Mon, 31 Jul 2000 10:50:55 -0500

astorwilliam wrote:
> 
> Hi,
> 
> Could someone please tell me how to make Linux [ I have Mandrake 7 ]
> show FILE EXTENSIONS to all files when I use it ? I have WordPerfect8
> for Linux and have files of different formats and I need to know what
> is what when I go to the file manager in KDE.
> 
> Thank you.
> 
> William
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Your question is a bit unclear.  Under Unix/Linux, files have names
which may or may not have dots ('.') in them.   You can even have
more than one dot.   I'm not that familiar with KDE, but the Gnome
file manager always shows the complete file name, including any
dots.  I would be surprised if KDE didn't do the same.  It is
possible that some application you are using drops the extension
in some circumstances.   But then it should be possible to tell it
to include it.  
-- 

Leonard Evens      [EMAIL PROTECTED]      847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208

------------------------------

From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: FWD: Red Hat's CFO abandoning ship.
Date: Mon, 31 Jul 2000 15:04:28 GMT

Alex writes:
> ...if you look at anything that are GNU-GPLed, you'll see the line
> "... not accountable for any damage...blah , blah, blah..."

If you look at just about any other end user license (the BSD license or
Microsofts's EULA, for example) you will see a similar disclaimer.

> That may be fine with some private end users, but in the real business
> world, accountability is everything.

In my experience with the business world money is everything.

> They'll pass even if you have the best stuff out, if nobody can be taken
> account for, if something goes wrong.

Just as with proprietary software users who need extensive support and
"accountability" can negotiate a contract with the author.  Unlike the case
with proprietary software, such users have the alternative of negotiating
such a contract with a third party: he has the source, the lack of which is
the only thing that sets vendor support apart from third party support in
the proprietary world.

> As far as I can see. All the distros, including the die-hard Debian. Are
> out exploiting the GNU-GPL.

How could Debian "exploit" the GPL (or anything else)?  Do you understand
what Debian is?

>  They're making the profits by repackaging the free stuff put out by
> volunteers, who have put out their work under GNU-GPL.

Some of those "volunteers" are paid (not by Debian) to work full time on
Debian.  In any case, we do not mind at all that people make money from
Debian.  The right to do so is a requirement of the DFSG.

Last year I made $25,000 as a direct consequence of my free software
efforts.  There is no way I would have made a penny from my software had
I not released it under the GPL and put it in Debian.

> I don't think that's fair to the developers.

I think that the developers are quite competent to decide what is fair to
them.

> And the way the GNU-GPL is written that, you either have to give up
> everything to your claims,...

Wrong.

> But never mind if somebody repackage your work and make a hugh profit out
> from your free work,...

A "huge" profit selling software that anyone can sell?  ROFL.

> ...where you no longer has any rights to.

Wrong.  I still own the copyrights on my stuff and only I can distribute
the software under any license other than the GPL.

> I don't either. But I'm just interested in this opensource movement.

Then you should learn a bit more about it.  You don't understand free
software at all well.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

------------------------------

From: <[EMAIL PROTECTED]>
Subject: Re: Advice on cutting memory usage
Date: Mon, 31 Jul 2000 12:26:33 -0400

turn off nfs dameons if you are not using them.
Then start removing daemons from the start list and see if all that you
require is still running.That's how I tried it. I stopped when it wouldn;t
boot properly :)
Then used "linux single" at the boot prompt to get in and fix the damage

And by any means necessary ( even a hammer), kill that linuxconf thingie,
and remove it from the hdd if you have it .  and remove the entry for it in
inet.d if there is one.

If you are using X, then that is a big hog in itself.
if you do not use X, you could get rid of the folowing:
xdm
xfont* ( x font server- I forget the ending )

joseph



Andrew J. Perrin <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Greetings. I've got linux (Debian, kernel 2.0.38) running nicely on an
> oldish laptop (Toshiba Portege 610CT), details will follow on setup
> issues, of which there were quite few.
>
> My concern is that the system alone consumes most of the poor thing's
> 16M of RAM:
>
> achebe:/boot> free
>              total       used       free     shared    buffers     cached
> Mem:         14288      13172       1116       4564        324      10136
> -/+ buffers/cache:       2712      11576
> Swap:        32756       4108      28648
>
> I'm wondering if anyone can offer advice on what I could drop in order
> to reduce memory usage; I've turned off junkbuster, postgreSQL, gpm,
> isapnp, isdnutils, and samba, since I don't need them on the
> laptop. Particularly, I'm wondering what xntpd and omniNames do for
> me.
>
> Thanks.
>
> --
> ----------------------------------------------------------------------
> Andrew Perrin - Solaris-Linux-NT-Samba-Perl-Access-Postgres Consulting
>        [EMAIL PROTECTED] - http://demog.berkeley.edu/~aperrin
> ----------------------------------------------------------------------



------------------------------

From: [EMAIL PROTECTED] (Byron A Jeff)
Subject: Re: Automatic login
Date: 31 Jul 2000 12:24:34 -0400

In article <8m40u1$s2t$[EMAIL PROTECTED]>,
Ray Hernandez  <[EMAIL PROTECTED]> wrote:

Mailed to Ray along with posting...

>Dear All,
>     My company is trying to create a Linux box, that when rebooted,
>will automagically login to a specified account. This is much like a
>mall info kiosk type application. We are not to worried about security,
>so this is not an issue. Thanks.

Ray,

You're probably looking at the incorrect paradigm. What you want is an
application to automatically start executing upon bootup. The init process
and it's associated config file /etc/inittab can be configured to run
apps automatically at bootup. Take a poke around there.

BAJ

------------------------------

From: Grischa Stegemann <[EMAIL PROTECTED]>
Subject: Re: File extensions
Date: Mon, 31 Jul 2000 18:52:59 +0200

hi

astorwilliam wrote:
> show FILE EXTENSIONS to all files when I use it ? [...]
> files of different formats and I need to know what
> is what when I go to the file manager in KDE.

The KDE file manager (kfm, at least up to KDE 1.1.2) has no such
"feature" to hide parts of the filename which you call "extensions".
If kfm doesn't show something like ".txt" after a file containing your
text the simple reason is that you have not specified ".txt" while
creating/saving this file.

Of course there is an option to hide all so called dot-files (files
which names have a leading dot) but that's not what you were speaking
about...

Anyway, since you're using KDE I suggest you to voluntary name your
files using a appropriate extension.
And last but not least there is no rule saying that there are only
three letters allowed after a dot in a filename.
 
-- 
                         Grischa

------------------------------

From: "Terry" <[EMAIL PROTECTED]>
Subject: test
Date: Mon, 31 Jul 2000 09:54:57 -0700



--
Terry Moore-Read   - Computer Guru & Part-time rocket scientist
NAR # 77465    Insured     Level 1

[EMAIL PROTECTED]
http://www.moorecomputersolutions.com
$30 domain names see our website for details




------------------------------

From: "Thomas Shannon" <[EMAIL PROTECTED]>
Subject: Re: Email client
Date: Mon, 31 Jul 2000 12:32:31 -0600

In article <[EMAIL PROTECTED]>, Stephen J.
Thompson <[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> I am looking for an email client that can replace outlook for me. I need
> the following features:
> 
> 1. Pop3 and imap retrieval
> 2. Calendar facilities
> 3. A link to a palm pilot
> 4. Links to Gpg
> 5. To run under X.
> 
> And I would like the following:
> 
> 1. To be able to retrieve my email history from an outlook file
> format.

You're going to have a very difficult time finding one program that does
oll of these well.  There is a new one called "Evolution" which aims to do
all of what you want but it is very young and not useful yet.  It probably
won't have everything you mention for months at least.

For now I suggest that you try StarOffice which has everything you want
(except perhaps the Outlook format compatibility).  It also has quite a
bit more since this is really more of an integrated desktop environment.
It has a nice calendar/organizer integrated with its Email program.  IMO
its better than Outlook in many ways.   You should be able to find it if
you poke around on Sun's website:

http://www.sun.com

I understand that a new version is due in October.

Tom
-- 
Quote of the day for July 31st, 2000 We cannot waste time.  We can only
waste ourselves.
                - George M. Adams


------------------------------

Date: Mon, 31 Jul 2000 13:21:29 -0500
From: gLiTcH <[EMAIL PROTECTED]>
Subject: Re: alsa sucks



Rod Smith wrote:

> In article <[EMAIL PROTECTED]>,
>         gLiTcH <[EMAIL PROTECTED]> writes:
> > well, I got it working now thanks to another poster replying directly to me
> > about what I might have missed.  I am using Suse 6.3 and I have a yamaha ds-xg
> > sound card in a sony vaio laptop.  I didn't realize I needed to insmod 3 of
> > the oss modules in order for kde to make sounds.  I think it is kind of stupid
> > that I still have to use 3 'oss' modules even though I'm using ALSA.  I would
> > think that ALSA is supposed to take the place of those modules with it's own
> > so that even oss emulation isn't needed.
>
> The philosophy behind ALSA (perhaps overstated a bit) is that the OSS
> architecture stinks. ALSA therefore uses a different architecture, and
> associated APIs. If you only use programs that "speak" the ALSA APIs,
> you can use ALSA without the OSS modules. Unfortunately, most Linux
> programs only understand the OSS APIs, so to use them with ALSA, you
> need the compatibility modules. In practice, doing so isn't a big deal
> -- you can create a startup script that handles everything, including
> setting the initial mixer levels for your taste.

I did this part. I put the modprobe ymfpci, insmod <3 oss modules> and the line that
sets the initial volume settings into the boot.local file so that sound is started
at boot.

> It is one of the little
> details in the instructions that you MUST NOT overlook, though, and
> hence one of the reasons I regularly advise people to read those
> instructions CAREFULLY and follow them TO THE LETTER.
>
> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration


------------------------------

Date: Mon, 31 Jul 2000 13:32:22 -0500
From: gLiTcH <[EMAIL PROTECTED]>
Subject: Re: realtek 8029

[posted and mailed]

I don't know if it helps but I tried doing the exact same thing and couldn't get
it to work.  I then tried compiling the driver directly into the kernel and it
worked flawlessly. If that is an option for you I'd try that to see if it works
that way instead.

HTH
Brandon

alikbm wrote:

> Hi i am trying to get my RTL8029 pci card to work under linux (mandrake 7.1)
> from some reason i can't get it work.
>
> i downloaded and installed the updated ne2k_pci driver from realtek but
> when i try to do insmod ne2k_pci.o it gives me something like that:
>
> unresolved symbol ei_open/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol ethdev_init/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol pci_drv_unregister/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol ei_interrupt/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol NS8390_init/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol ei_close/lib/modules/2.2.15-4mdk/net/ne2k-pci.o:
> unresolved symbol pci_drv_register
>
> what should i do?
>
> as i know there have to be no problem regarding that NIC under linux


------------------------------

From: [EMAIL PROTECTED] (Anthony Veale)
Subject: Mount hangs after RedHat upgrade (SOLUTION)
Date: 31 Jul 2000 17:28:57 GMT

Summary of the original problem:

I and Mike G were both suffering from an unusual problem after
performing an upgrade to RedHat 6.1 (in my case) and 6.2 (in his).

After this upgrade, things in /etc/fstab would mount at boot time and
umount at shutdown.  But in between, if we tried to mount or umount
anything else, like a CD or a Jaz or even one of the disk partitions
that mounted fine at boot time, the mount or umount process would go
straight into D state forever and ever, amen.

SOLUTIONS:

Mike G fixed his by wiping and doing a full install of 6.2.  This
indicated to me that the RedHat upgrade process had left something
that was conflicting.

So I compared the output of "rpm -q -a" with the list of rpms on the
6.1 CD.

Lo and Behold!, there were 13 rpms not included in RedHat 6.1 still
installed on the system.  And the first of these was:

aout-libs-1.4-9

Shared libraries.  Now "ldd /bin/mount" claimed not to use any library
from that rpm.  And "man mount" claimed that for all the things I was
trying to mount, mount would NOT call other exectuables.

Someone was mistaken, because as soon as I "rpm -e aout-libs", I can
mount and umount my jaz and cdrom.

I suppose that some routine in the libraries that mount DOES use
actually called some other shared library.

So, if you can afford it, doing a full install will remove this
problem.  Otherwise, you can compare the installed rpms with those on
the CD and determine one by one whether you need those rpms.

--
Anthony Veale'       (303)492-0851            [EMAIL PROTECTED]   
Paging:              (303)441-0713       [EMAIL PROTECTED]
Senior Professional Research Assistant (System Manager)
Center for Astrophysics and Space Astronomy

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: apache autostart on boot?
Date: Mon, 31 Jul 2000 17:29:28 GMT

I have the EXACT same problem you do.  Did you ever figure it out? If
so, PLEASE email me because I have php compiled into apache, and that's
not exactly a Red Hat specific RPM these days.  So, if someone could
tell me how to "autostart" my own compiled version of apache at boot, I
would forever be grateful.

In article <8lk7fr$[EMAIL PROTECTED]>,
  "Devon Harding" <[EMAIL PROTECTED]> wrote:
> When I do a:
>
> chkconfig --list httpd
>
> I get:
>
> [root@santa /root]# chkconfig --list httpd
>
> error reading information on service httpd: No such file or directory
>
> but I can run '/usr/local/apache/bin/httpd ' and it runs
>
> -Devon
>
> "Mr. Ape" <[EMAIL PROTECTED]> wrote in message
news:8ljv44$2uu$[EMAIL PROTECTED]...
> > Can you do a:
> > chkconfig --list httpd
> > if so, you can do:
> > chkconfig --level 3 httpd on
> > Then it will start in runlevel 3 ...
> >
> >
> > Devon Harding wrote in message <8li4c2$[EMAIL PROTECTED]>...
> > >httpd isn't listed because it's not an rpm.  It was install from
source
> via
> > >'./configure,make,make install'
> > >
> > >-Devon
> > >
> > >"Lorin Winchester" <[EMAIL PROTECTED]> wrote in message
> > >news:juuhl8.um5.ln@stickboy...
> > >> On Mon, 24 Jul 2000 13:25:41 -0400, Devon Harding
> > >> <[EMAIL PROTECTED]> wrote:
> > >>
> > >> >How do I get the source ver.(www.apache.org) of apache to
autostart on
> > >> >boot-up on RHL6.2?
> > >>
> > >> You want to start Apache each time you boot up, right?  You need
to do
> > >> 'ntsysv' and select httpd.  That will make the daemon start when
Linux
> > >boots?
> > >>
> > >> --
> > >> Registered Linux User 182034
> > >>  12:33pm  up 20:00,  2 users,  load average: 0.00, 0.03, 0.00
> > >
> > >
> >
> >
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Advice on cutting memory usage
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 17:47:49 GMT

[EMAIL PROTECTED] <Andrew J. Perrin> wrote:
>Greetings. I've got linux (Debian, kernel 2.0.38) running nicely on an
>oldish laptop (Toshiba Portege 610CT), details will follow on setup
>issues, of which there were quite few.
>
>My concern is that the system alone consumes most of the poor thing's
>16M of RAM:
>
>achebe:/boot> free
>             total       used       free     shared    buffers     cached
>Mem:         14288      13172       1116       4564        324      10136
>-/+ buffers/cache:       2712      11576
>Swap:        32756       4108      28648
>
>I'm wondering if anyone can offer advice on what I could drop in order
>to reduce memory usage; I've turned off junkbuster, postgreSQL, gpm,
>isapnp, isdnutils, and samba, since I don't need them on the
>laptop. Particularly, I'm wondering what xntpd and omniNames do for
>me.

Turn them off and you'll probably find out ;)
[hint: ntpd would be a network time protocol server]

do a ps ax and see what is actually running;

the 10Mb that is cached could theoretically be reused;
the kernel is just keeping it handy. [Could be wrong there...?]

Ideally, you want all your memory in use, all the time;
if there are no apps running, you want to keep recently used apps in
memory in case someone starts them again. Saves a loooong trip to diskland...

Swapping stuff onto disk that doesn't need to be there yet is a Bad Thing
usually.  <looks at sigfile> Solaris should be the same?

>
>Thanks.
>
>-- 
>----------------------------------------------------------------------
>Andrew Perrin - Solaris-Linux-NT-Samba-Perl-Access-Postgres Consulting
>       [EMAIL PROTECTED] - http://demog.berkeley.edu/~aperrin
>----------------------------------------------------------------------


-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

Date: Mon, 31 Jul 2000 13:49:33 -0400
From: Mike Styne <[EMAIL PROTECTED]>
Subject: Re: Shutdown problem

You may want to check your power management settings in your BIOS, also, check
to see if the apmd service is loaded.
Loading/unloading that service may solve the problem.

Mike

Joris Maes wrote:

>    Hi,
>
>    When I try to shutdown my computer with the following commands "halt" or
> "shutdown -h", my computer reboots instead of shutting down. I can't find
> any answers in the man pages, or HOWTO's. I recently reinstalled my redhat
> 6.1 system
> and then it still worked, since then I've been working to get my ISDN card
> working, which I got working thanks to the help of several people in the
> newsgroups. I also installed a new kernel(2.2.16), I don't know if it has
> been happening since then, I just noticed today.
>
>   Any help is appreciated, Joris

--
Jealousy is all the fun you think they have.




------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Crossposted-To: alt.os.linux
Subject: Re: gnutella client
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 17:54:53 GMT

[EMAIL PROTECTED] <Jan Schaumann> wrote:
>In article <Mtgh5.3756$[EMAIL PROTECTED]>,
>[EMAIL PROTECTED] (Rasputin) wrote:
>
>> [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>>Hello,
>>>
>>>I can't find a Gnutella client that works (under RH6.2). Windows
>>>Gnutella and Napster (on both platforms) work just fine. Did anyone get
>>>ANY Linux Gnutellas to work?
>>>
>
>
>> knapster works a treat.
>
>if _knapster_ is a gnutella-client, it has an extremely badly chosen name.

Doh. But if Napster on....um, ..

Time for a self-LART. 

-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Netatalk and Red Hat 6.2
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 17:58:27 GMT

StephenGilbert <[EMAIL PROTECTED]> wrote:
>Has anyone managed to get netatalk to work under Red Hat 6.2?  I found
>and installed many tarballs and rpms with the source, but could never
>get any of them to compile.  Then, I finally found a binary
>distribution on contribs.redhat.com, but it gives errors whenever
>atalkd starts.
>
># /usr/sbin/atalkd
>socket: Invalid argument
>socket: Invalid argument
>atalkd: can't get interfaces, exiting.
>
>I know my NIC is fine, I'm using it right now to send this message.  
>
>Any ideas anyone?
>
>- Steve

Personally, I'd try the tarballs again.
Mail me the errors you're getting while building, if you want.

-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: Netscape Mail Problem
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 18:02:58 GMT

[EMAIL PROTECTED] <Boddhisatva Troutwaxer> wrote:
>[EMAIL PROTECTED] (Rasputin) wrote:
>>Kppp has got jack to do with mail;
>>you say you can surf, so PPP and DNS are cool.
>>The connection is OK; leave it alone.
>>
>>>> Any suggestions?
>>
>>Why don't you try this:
>><replace mailserver and login details as appropriate>
>>================================
>>1.
>>telnet mailserver.domain.com 110
>>
>>You'll get something like:
>>"Mail server so-and-so: date , versino , blurb..."
>>
>>2.
>>user myusername
>>pass mypassword
>>list
>>================================
>>
>>See if you get a list of mails in your POP box.
>
>I tried that and did get a list of mails at Pac Bell. I am
>therefore assuming that Netscape, or some other part of my system
>is at fault. Before I remove Netscape, do you know of any place
>else on my system where information about my connection to Pac
>Bell, such as DNS numbers and/or name/password information should
>exist?

No, DNS is fine, so is your internet connection.

(Otherwise this line:

>>telnet mailserver.domain.com 110

would have failed)

Netscape stores your mail settings. Netscape is the culprit.
(Netscape is always the culprit)

cd ~
mv .netscape .netscape.fscked
mv nsmail .nsmail.fscked

restart Netscape, put your settings back in and retry.
Should work now. If not , you can always move those directories back.

-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

From: [EMAIL PROTECTED] (Greg Alexander)
Crossposted-To: 
comp.os.linux.setup,iu.linux,linux.dev.newbie,linux.redhat.install,linux.redhat.rpm
Subject: Re: Hosed install.  Techs messed up.  Moving /usr?
Date: 31 Jul 2000 18:04:41 GMT

In article <8m1i4h$ok2$[EMAIL PROTECTED]>, Michael Coulter wrote:
>I let a local PC dealer setup a dual boot linux /win98 machine for me and it
>cost a ton.
>And they really goofed up with druid.
>
>They let a 6 gig area of the disk go uninitialized as they thought it would
>"grow".  It turns out that is only at
>install time, not during normal run conditions.
>
>I found out the hard way.  Loading Staroffice
>
>So..I zapped the win D drive and made it into a linux partition and mounted
>it first as /home
>because /home is easier and I can do that.
>(I use gnome to rename directories and cannot do that at linux text level)
>
>I got a suggestion to mount instead /usr but /usr has all the xwindows stuff
>and gnome and
>then I cannot change the names of  /nusr (the new usr dir) and /usr.
>
>How does one change directory names aside from inside Gnome / properties?
>
>Thanks
>
>This it taking way too long.

The short answer is 'mv', ('man mv' if you have questions), but here's an
answer to what I think you really want to do.  Hope this helps.

Okay, so if I got you right, you have some smallish partition for / right
now, let's call it /dev/hda1 (you'll need to substitute in your real
names), and then some other /dev/hda3 that is biggish that has until now
been a win98 partition, right?  Assuming you already ran mkfs (or mke2fs
or whatever), and you want to make the /dev/hda3 (new) partition into
/usr, you do something like the following (as root):
(things after # are comments, you don't need to type them)
        init 1 # single-user mode, you probably don't want to copy /usr
               # while daemons are running, this stops all of them
# at this point it probably asks for the root password
        mkdir /mnt # /mnt probably already exists
        mount -t ext2 /dev/hda3 /mnt # mount the new partition
        cp -av /usr/* /mnt/ # copy w/ verbose and archive [permissions,etc.]
        mv /usr /old-usr # rename the old one so you still have access to it
        pico /etc/fstab

in fstab add a line like:
        /dev/hda3       /usr    ext2    defaults        0       2
the 2 doesn't matter much, you may want to use adifferent number, it just
selects which order it checks thedisks in if you boot up funny.

Then save fstab, umount /mnt, and reboot.  (if ^@DEL doesn't work in
single-user mode, try running 'reboot').

If it doesn't work on bootup.

At first utilities like GNOME etc. seem simpler, and if you don't use the
machine much, they might really be...but the shell is actually a simpler
program to work with, and once you learn how to use it, it's a lot faster.
If you know DOS command line okay, then
http://www.sietch.dhs.org/~galexand/DOS2Linux.txt provides a decent
introduction (the hardest part is finding out command names when you're
first starting, there is some validity to the "they named thing sstupidly"
complaint about Unix).  I didn't write the text, and I haven't looked at
it in a while, so I hope there's nothing dated about it. :)

------------------------------

From: [EMAIL PROTECTED] (Andrew J. Perrin)
Subject: Re: Advice on cutting memory usage
Date: 31 Jul 2000 14:01:49 -0400

[EMAIL PROTECTED] (Rasputin) writes:

[snip]
> [hint: ntpd would be a network time protocol server]
> 

Thanks.

> Ideally, you want all your memory in use, all the time;
> if there are no apps running, you want to keep recently used apps in
> memory in case someone starts them again. Saves a loooong trip to diskland...

Fair enough - except that what I'm getting is most of the memory in
use *before* any user-level stuff is running; kernel, daemons, and X
take up about 85% of available RAM.  

> 
> Swapping stuff onto disk that doesn't need to be there yet is a Bad Thing
> usually.  <looks at sigfile> Solaris should be the same?
> 

Yes, I'm all too aware of this, which is why I'm asking - there's
plenty of swap space available.  I'm mainly wondering about cutting
down kernel size, daemons I won't need on a single-user laptop, etc.

Thanks.

-- 
======================================================================
Andrew Perrin - Solaris-Linux-NT-Samba-Perl-Access-Postgres Consulting
       [EMAIL PROTECTED] - http://demog.berkeley.edu/~aperrin
======================================================================

------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Subject: Re: terminal window drectory
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 18:05:27 GMT

[EMAIL PROTECTED] <Nick Evans> wrote:
>I'm having trouble getting the terminal window button to work properly
>in RedHat 6.2.  Whenever I click it, it takes to the ~/.gnome-desktop
>directory not my ~ home directory.  Not a big problem, I know, but still
>very irritating.  Can anyone help?

a] Don't use gnome-term.
or
b] put a line saying

cd ~
at the bottom of ~/.bash_profile

a] has the advantage of saving RAM.

-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------

From: [EMAIL PROTECTED] (Rasputin)
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Re: [Help] Setting up 2.2.16: Problems with modules symbols and power down
Reply-To: [EMAIL PROTECTED]
Date: Mon, 31 Jul 2000 18:09:51 GMT

[EMAIL PROTECTED] <Kenneth R�rvik> wrote:
>[EMAIL PROTECTED] (Jose Manuel Benitez Sanchez) wrote in
><[EMAIL PROTECTED]>: 
>
>>generate that file? I have set on the three options for "Loadable module
>>support", namely: "Enable loadable module support", "Set version
>>information in all symbols for modules", and "Kernel module loader".
>>Then make dep, make bzImage, make modules, make modules_install.
>

Deselect the 'set version information on all symbols'; that'll stop it.

If not (*and* you're recompiling your existing kernel version)

(let's say you're running 2.2.16)

get as far as 'make modules'

cd /lib/modules

mv 2.2.16 ok.2.2.16

cd -  # go back to the source tree

make modules_install.


This will stop 'unresolved symbols'; if it doesn't , let me know,
cos it's always worked for me.

>You should run "make clean" before "make bzImage" :) Although this will 
>probably not remove the unresolved symbol messages. 
>-- 
>Kenneth R�rvik         91841353/22718452
>Steenstrupsgate 5 B    [EMAIL PROTECTED]
>0554 OSLO              home.no.net/stasis


-- 

Rasputin.
Jack of All Trades - Master of Nuns.

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to