Linux-Misc Digest #373, Volume #24                Fri, 5 May 00 21:13:02 EDT

Contents:
  Re: continued from linux.x (JEDIDIAH)
  Re: Howto use a funtion in a struct ???????? ("Peter T. Breuer")
  Re: Need to find my IP address ("G. Roderick Singleton")
  Re: Those distributions are stupid (Victor Wagner)
  Re: Most used Aps (Stewart Honsberger)
  Re: continued from linux.x (root)
  Re: good email client for Linux? ("Matt O'Toole")
  Re: Is a file opened by another process ? (Sam E. Trenholme)
  Re: good email client for Linux? (apswartz)
  IRC help (James Hughes)
  Infinia 7230 (cdsmith)
  Re: IRC help (Matt Friedman)
  corrupted RPM directory?? (please help!) ("Jeff Rudis")
  Re: continued from linux.x (JEDIDIAH)
  Re: Mounting my system read only? ("Lonni J. Friedman")
  Re: Help: Problem moving from netscape mail to pine (David Turley)

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

From: [EMAIL PROTECTED] (JEDIDIAH)
Subject: Re: continued from linux.x
Date: Fri, 05 May 2000 23:12:45 GMT

On Fri, 05 May 2000 18:23:21 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:
>
>>Also, I am deathly afraid of upgrading my RedHat 6.0 to 6.2 for fear of
>losing much
>>information and for the time and effort that will have to go into it.
>
>>>        ...sounds like a Win 3.1 to Win 95 install, or a Win 95 to
>Win98
>>>       install. This would be a compelling criticism of Linux (if
>true)
>>>       if you were comparing it to BeOS or MacOS.
>>>        It's a feeble remark in comparison to WinDOS.
>
>>I also do not know of a way to backup the entire system.  It is no
>problem backing up Windows.
>>There are  many utilities writtten to do it.  Are there any with
>Linux?  Microsoft makes it as painless as
>> possible.
>
>>>        Yeah, right. That was another thing that annoyed me about
>Windows.
>>>        Wanna back up everything on Unix? Just copy the damn files
>somewhere.
>>>        Buy a commercial utility if you can't handle tar or a cd
>burner.
>
>[deletia]
>
>>>        Partition things right & backup /etc and you can just plain
>blow
>>>        the OS away and reinstall it with little if any impact.
>
>I would like to upgrade to 6.2 or maybe even try Slackware, Debian or
>one of the other thousand distributions.  In order to do this you must
>back up files and at this point I disagree with you about only having to
>copy /etc and BOOM you done.  That is so wrong!!  What about the
>kernal!! and all the applications/server/compliler/local
>programs/configurations of servers and such that are set up at the

        Partition things right, and those won't be touched. The 
        X11 Application Defaults files might be a problem but only
        if under limited circumstances.

        (xawtv is the only app I am familiar with that is completely
        intolerant to being run without it's *ad file) 

        Alternately, if you partition well you could just install the new
        distro or version onto it's own partition and migrate at your 
        liesure.

        If you have useful rpms that pollute the state of /, then you could
        keep those around and reinstall them quite simply:
                rpm -i --nodeps --force *rpm.

        Ideally, /usr/local /opt & /home should be on filesystem(s) 
        sepparate from /.


>time.  You don't find ALL of this in the /etc path!!  There is so much
>more to backing Linux.  Are you prepared for your hard drive to choke
>and still be able to get back where you were.  If so how are you doing
>it?

        Keep the stuff that is core to the system away from your stuff.
        This is quite common and mundane practice on Unix.

>
>I am having difficulty backing up my current system.  Idealy I want my
>backup to be bootable.  I have been unable to achieve this.  You see, if
>Windows crashes you at least have an avenue to access possible fixes
>with the safe mode.  If Linux crashes you can't boot up into anything.
>You have to revert to a rescue disk set which a lot of know how to use.

        If Linux crashes, the most that is likely to happen is a disk
        check afterwards. It takes considerable effort to get a Unix
        filesystem into an unbootable state.

        If you can so easily fubar a Unix disk, serious consideration 
        should be given to the possibility that the disk itself is bad
        or going bad.

        If lilo or your kernel are toasted, creating boot disks aren't
        that difficult. You can choose to just install lilo on the disk
        or a boot kernel. Alternately, you can boot off of a FAT parition
        by using the loadlin package to boot Linux from DOS.

-- 

                                                                        |||
                                                                       / | \
        
                                      Need sane PPP docs? Try penguin.lvcm.com.

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Howto use a funtion in a struct ????????
Date: 5 May 2000 23:01:43 GMT

Alex Chudnovsky <[EMAIL PROTECTED]> wrote:


: On 5/5/00, 12:55:10 AM, "Peter T. Breuer" <[EMAIL PROTECTED]> wrote 
: regarding Re: Howto use a funtion in a struct ????????:
:> Alex Chudnovsky <[EMAIL PROTECTED]> wrote:
:> : On 5/3/00, 3:53:57 PM, Bonny Gijzen <[EMAIL PROTECTED]> wrote regarding
:> :> I want to use a function in a struct :
:> No you don't. Please use the right words. It's less confusing. You want
:> to PUT a function in a struct. Well, look at the kernel source, where this is
:> done everywhere.

:> :> struct _Appstruct
:> :> {
:> :>     char *Name;
:> :>     void SomeFunction();

:> You mean
:>      void (*SomeFunction)();

:> :> }

:> :> Then I could use :
:> :> App->SomeFunction();
:> :> I know this is possible in a class, but I'm using C so ????????

:> : Nope. It is not possible in C. That is what C++ is for. In C++, BTW,

:> Balderdash. Pigs ears. And I suppose the kernel doesn't exist?

: Peter,
: Let me explain myself.
: What YOU mean ( pointers to functions, as members of structures ) is 
: INDEED possible in C.
: Now what HE has written, is clear (as one may suppose) example of C++ 
: code, and the phrase "it is possible in the class" ( refer to the 
: quotation )  means that he really MEANT function members of structures, 
: which is the feature of C++/etc.

Unfortunately, you are confused. Whatever he meant, there is no difference
in value between pointers to functions and functions in C, so there is no
difference between a pointer to a function and a function as a member of a
structure. Try ...

    struct foo { int (*bar)(); };

    main() {
    extern int printf();
    struct foo x = { printf };
    x.bar("hello\n");
    }


Peter




:> Peter

: Regards,
: Alex Chudnovsky
: e-mail : chale

-- 
=====================================================================
Peter T. Breuer                   MA CASM PhD. Ing., Asoc. Prof. 
Area de Ingenieria Telematica     E-mail: [EMAIL PROTECTED]
Dpto. Ingenieria                  Tel: +34 91 624 91 80
Universidad Carlos III de Madrid  Fax: +34 91 624 94 30/65
Butarque 15, E-28911 Leganes      URL: http://www.it.uc3m.es/~ptb
Spain             

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

From: "G. Roderick Singleton" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Fri, 05 May 2000 23:19:38 GMT

Doug Schulz wrote:
> 
> I have a sockets program an need to find the IP address of the machine
> the program is being run from so I can bind the socket to the correct
> address/port.  I have tried using gethostname coupled with gethostbyname
> and I can only get 127.0.0.1 (localhost address).  I want to find the
> actual IP address of the machine.  Is there a way of doing this.  Any
> help would be great.
> 
> FYI this is a UDP app.
> 
> Thanks,
> 
> Doug


man -k inet
-- 
________________________________________________________________________________
G. Roderick Singleton, <[EMAIL PROTECTED]> PATH tech,
71 Underhill Drive, Unit 159, Toronto, ON  M3A 2J8
Voice : 416-452-4583 Fax: 416-452-0036 Toll Free: 1-888-354-PATH
________________________________________________________________________________

*** Notice To Bulk Emailers: Attention!  Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators.  Emailing denotes acceptance of said terms!

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

From: [EMAIL PROTECTED] (Victor Wagner)
Crossposted-To: 
ch.comp.os.linux,alt.os.linux,comp.os.linux,comp.os.linux.development,de.comp.os.unix.linux.misc
Subject: Re: Those distributions are stupid
Date: 5 May 2000 08:15:51 +0400

In comp.os.linux.misc 10RD <[EMAIL PROTECTED]> wrote:
: HTML is evil,

: it isn't the OS that counts
: it is the programmer that uses the OS

Yes. Why most people who write sensible programs manage them to run
under any Unix-es on any processors (MSB, LSB, 32-bit, 64-bit), and
typically many other OS-es (VMS, NT, AmigaOS, DOS and most advanced - 
even MacOS)?

People have inventend imake, autoconf and automake. What also do one
need to make programs run anywhere? A bit of desire, becouse info of
incompatibility is readily available.

: (and in my case the modem, in my case i'm stuck with an HSP that only
: runs under windows)

But this is a result of stupid buying decision. It was cheap? It was
advertized? It was brand new? And you've bought it?


-- 

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

From: [EMAIL PROTECTED] (Stewart Honsberger)
Subject: Re: Most used Aps
Reply-To: [EMAIL PROTECTED]
Date: Fri, 05 May 2000 23:27:55 GMT

On Wed, 03 May 2000 23:54:25 GMT, [EMAIL PROTECTED] wrote:
>Is there a place online where I can find out what
>the most useful Linux applications are and
>download them?  RedHat and other companies sell
>boxed sets with the most useful aps included, but
>if you want to download them (lack of funds)
>which aps can't I do without?  I have been to
>download.com, tucows.com and freshmeat.net but
>haven't found a rating system for the most useful
>software.

You could try http://www.linuxberg.com to find Linux software. As for
"most used apps", that's meaningless. The only important factor is what
software YOU need, not what Joe Smith in Arkansaw needs.

-- 
Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
[EMAIL PROTECTED]  (Remove 'thirteen' to reply privately)
Humming along under SuSE 6.4, Linux 2.2.14

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

From: root <[EMAIL PROTECTED]>
Subject: Re: continued from linux.x
Date: Fri, 05 May 2000 19:43:08 -0400

> >I would like to upgrade to 6.2 or maybe even try Slackware, Debian or
> >one of the other thousand distributions.  In order to do this you must
> >back up files and at this point I disagree with you about only having to
> >copy /etc and BOOM you done.  That is so wrong!!  What about the
> >kernal!! and all the applications/server/compliler/local
> >programs/configurations of servers and such that are set up at the
>
>         Partition things right, and those won't be touched. The
>         X11 Application Defaults files might be a problem but only
>         if under limited circumstances.
>
>         (xawtv is the only app I am familiar with that is completely
>         intolerant to being run without it's *ad file)
>
>         Alternately, if you partition well you could just install the new
>         distro or version onto it's own partition and migrate at your
>         liesure.
>
>         If you have useful rpms that pollute the state of /, then you could
>         keep those around and reinstall them quite simply:
>                 rpm -i --nodeps --force *rpm.
>
>         Ideally, /usr/local /opt & /home should be on filesystem(s)
>         sepparate from /.
>
> >time.  You don't find ALL of this in the /etc path!!  There is so much
> >more to backing Linux.  Are you prepared for your hard drive to choke
> >and still be able to get back where you were.  If so how are you doing
> >it?
>
>         Keep the stuff that is core to the system away from your stuff.
>         This is quite common and mundane practice on Unix.
>
> >
> >I am having difficulty backing up my current system.  Idealy I want my
> >backup to be bootable.  I have been unable to achieve this.  You see, if
> >Windows crashes you at least have an avenue to access possible fixes
> >with the safe mode.  If Linux crashes you can't boot up into anything.
> >You have to revert to a rescue disk set which a lot of know how to use.
>
>         If Linux crashes, the most that is likely to happen is a disk
>         check afterwards. It takes considerable effort to get a Unix
>         filesystem into an unbootable state.
>
>         If you can so easily fubar a Unix disk, serious consideration
>         should be given to the possibility that the disk itself is bad
>         or going bad.
>
>         If lilo or your kernel are toasted, creating boot disks aren't
>         that difficult. You can choose to just install lilo on the disk
>         or a boot kernel. Alternately, you can boot off of a FAT parition
>         by using the loadlin package to boot Linux from DOS.
>

Sorry, I had to step out for a bit.  I hope you are still around.

Anyone else reading this I would welcome your input.

JEDIDIAH, you have mentioned more than once now, "if you partion things right".  I am
thinking that is a problem with what I have been trying to do.  You also mention how 
easy it
should be, just simply copy files, right?  Well, that is what I thought.  So I went 
out and
got another HD.  I am trying to use this HD to backup both my Windows HD and my Linux 
HD.
Three HDs.  I use the utility that comes with the HD to copy the Windows/DOS partition 
as
long as the MBR is installed with the DOS loader.  This is working.  I partitioned the 
backup
HD exactly like I partition the primary Linux drive.  hda1 is DOS(about 500 MBs), hda2 
is an
extended DOS partition that takes up the rest of the drive with logical partitions for
hda5(/), hda6(/usr) and hda7(swap).  I plug in the backup HD and then mount the hda5
partition on the primary HD then copy /bin, /boot, /dev, /etc, /lib, /root and /sbin 
to the
small hda5 on the backup.   I then mount hda6 and copy the rest of the directories to 
it.   I
then try to boot Linux on the backup drive by installing LILO onto it from diskettes.  
I have
gotten LILO to boot the backup Linux but I am having problems either with the file 
system
itself or the X system.  Once I was able to get the Linux OS to boot on the backup 
drive with
full service.  I was shocked!  Then the next time, I did a backup using the method I 
just
described, it messed up the backup to where I can only use it in text mode and the 
partitions
are not working right.  Do you understand what I am trying to do?  If so, is there a 
better
way or do you recognize something glaring that could be going wrong?

Thanks,

hoffy


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

Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Subject: Re: good email client for Linux?
Date: Fri, 5 May 2000 14:34:56 -0700


<[EMAIL PROTECTED]> wrote in message news:8esd1a$e3t$[EMAIL PROTECTED]...

> Can anyone recomend a good email client for Linux?
>
> kmail sucks. Staroffice is too heavyweight.
> Netscape mail only supports one POP3 account and
> is slow.

What "sucks" about Kmail?  There are a jillion email clients out there.  All
of them have their pluses and minuses.  The trick is to find one that does
what you need.  If you let us know why you don't like Kmail, just as you
told us specifically why you don't like the others, then we have something
to work with in giving you a recommendation.

Matt O.




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

From: [EMAIL PROTECTED] (Sam E. Trenholme)
Subject: Re: Is a file opened by another process ?
Date: 5 May 2000 17:11:13 -0700

>How can I get information if a file is opened by a remote process (over
>NFS). I tested fuser and lsof, but there was no answer.

Well, see if there is a way to make the logging NFS has be more verbose.
If needed, modify the source to have the NFS daemon log every single
access over the NFS share.

- Sam


-- 
Go to http://www.hoohahrecords.com/rap for information on the Bohemian RAP CD
Go to http://samiam.org/cgi-bin/mailme to get my email address

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

From: apswartz <[EMAIL PROTECTED]>
Subject: Re: good email client for Linux?
Date: Sat, 06 May 2000 00:22:31 GMT

In article <ehnQ4.4854$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> [Posted and mailed]
>
> Note that I'm
> not using either for POP access; for that, I'm using fetchmail
> (http://www.tuxedo.org/~esr/fetchmail/index.html), which grabs mail
from
> POP, IMAP, or various other types of mail servers and dumps the mail
into
> the local Linux mail queue. Fetchmail can be configured to check mail
> at regular intervals, or run manually.

Yes. I use Netscape for my email and I have fetchmail configured to dump
mail from my 4 pop accounts in my mailbox and gather my families email
and drop it in their mailboxes.

Fetchmail is the way to go regardless of which email program you choose
to use.


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

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

From: James Hughes <[EMAIL PROTECTED]>
Subject: IRC help
Date: Sat, 06 May 2000 00:30:03 GMT

I am new to Linux, and am truly amazed by the power,But alot of my friends 
are still using Windows.Is there any common IRC client that may chat with 
someone using Windows?

--
Posted via CNET Help.com
http://www.help.com/

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

From: cdsmith <[EMAIL PROTECTED]>
Subject: Infinia 7230
Date: Sat, 06 May 2000 00:30:08 GMT

I have a Toshiba Infinia 7230 (about 3 years old - 233 MMX Pentium, 64MB 
RAM, XPERT 98 PCI graphics card, Creative PCI 128 sound card, Lucent Win 
modem, USB, etc.). Can I successfully convert this machine to a Linux 
system (assuming I knew what I was doing)?
Thanks

--
Posted via CNET Help.com
http://www.help.com/

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

From: Matt Friedman <"mwf"@total.net(remove-to-reply)>
Subject: Re: IRC help
Date: Fri, 05 May 2000 20:34:19 -0400

James Hughes wrote:
> 
> I am new to Linux, and am truly amazed by the power,But alot of my friends
> are still using Windows.Is there any common IRC client that may chat with
> someone using Windows?

If you're using KDE, there's kSirc. Look in the "Internet" submenu.
Failing that, go to http://www.freshmeat.net or http://www.linuxberg.com
to download something.

MF

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

From: "Jeff Rudis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: corrupted RPM directory?? (please help!)
Date: Fri, 5 May 2000 19:42:08 -0500

Hi, I just upgraded my system successfully to RedHat 6.2 (via ftp from
redhat site), and then download all the stuff from the latest rawhide
release (april 28 i think), and upgraded the rpm*.rpm packages... now,
whenever I run an rpm command, I get a bunch of errors. Here is the output
of "rpm -qa":
[root]# rpm -qa
cannot open file /var/lib/rpm/packages.rpm: No such file or directory
cannot open file /var/lib/rpm/nameindex.rpm: No such file or directory
cannot open file /var/lib/rpm/fileindex.rpm: No such file or directory
cannot open file /var/lib/rpm/groupindex.rpm: No such file or directory
cannot open file /var/lib/rpm/requiredby.rpm: No such file or directory
cannot open file /var/lib/rpm/providesindex.rpm: No such file or directory
cannot open file /var/lib/rpm/conflictsindex.rpm: No such file or directory
cannot open file /var/lib/rpm/triggerindex.rpm: No such file or directory
cannot open file /var/lib/rpm/obsoletesindex.rpm: No such file or directory
cannot open file /var/lib/rpm/versionindex.rpm: No such file or directory
cannot open file /var/lib/rpm/releaseindex.rpm: No such file or directory
cannot open file /var/lib/rpm/dirindex.rpm: No such file or directory
cannot open file /var/lib/rpm/packages.rpm: No such file or directory
no packages
[root]#

However, here is the listing of my /var/lib/rpm dir:
[root]# ls -la /var/lib/rpm
total 14152
drwxr-xr-x    2 root     root         1024 May  5 09:26 .
drwxr-xr-x   12 root     root         1024 May  5 19:27 ..
-rw-r--r--    1 root     root        16384 May  5 09:20 conflictsindex.rpm
-rw-r--r--    1 root     root      2490368 May  5 09:20 fileindex.rpm
-rw-r--r--    1 root     root        16384 May  5 09:20 groupindex.rpm
-rw-r--r--    1 root     root        24576 May  5 09:20 nameindex.rpm
-rw-r--r--    1 root     root     12590152 May  5 09:20 packages.rpm
-rw-r--r--    1 root     root        53248 May  5 09:20 providesindex.rpm
-rw-r--r--    1 root     root        90112 May  5 09:20 requiredby.rpm
-rw-r--r--    1 root     root        16384 May  5 09:20 triggerindex.rpm
[root]#

...this is concurrent with the rpm -F upgrade of my rpm packages, which
occurred at 9:20 this morning. Does anyone know how I can fix this?? I can't
do anything with rpm until i do... --rebuilddb gives me a bunch of file
missing/corrupted errors too. Any help would be GREATLY appreciated.. please
cc: and e-mail reply if possible.


Thanks a bunch :)

-Jeff Rudis
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (JEDIDIAH)
Subject: Re: continued from linux.x
Date: Sat, 06 May 2000 00:53:27 GMT

On Fri, 05 May 2000 19:43:08 -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:
>> >I would like to upgrade to 6.2 or maybe even try Slackware, Debian or
>> >one of the other thousand distributions.  In order to do this you must
>> >back up files and at this point I disagree with you about only having to
>> >copy /etc and BOOM you done.  That is so wrong!!  What about the
>> >kernal!! and all the applications/server/compliler/local
>> >programs/configurations of servers and such that are set up at the
>>
>>         Partition things right, and those won't be touched. The
>>         X11 Application Defaults files might be a problem but only
>>         if under limited circumstances.
>>
>>         (xawtv is the only app I am familiar with that is completely
>>         intolerant to being run without it's *ad file)
>>
>>         Alternately, if you partition well you could just install the new
>>         distro or version onto it's own partition and migrate at your
>>         liesure.
>>
>>         If you have useful rpms that pollute the state of /, then you could
>>         keep those around and reinstall them quite simply:
>>                 rpm -i --nodeps --force *rpm.
>>
>>         Ideally, /usr/local /opt & /home should be on filesystem(s)
>>         sepparate from /.
>>
>> >time.  You don't find ALL of this in the /etc path!!  There is so much
>> >more to backing Linux.  Are you prepared for your hard drive to choke
>> >and still be able to get back where you were.  If so how are you doing
>> >it?
>>
>>         Keep the stuff that is core to the system away from your stuff.
>>         This is quite common and mundane practice on Unix.
>>
>> >
>> >I am having difficulty backing up my current system.  Idealy I want my
>> >backup to be bootable.  I have been unable to achieve this.  You see, if
>> >Windows crashes you at least have an avenue to access possible fixes
>> >with the safe mode.  If Linux crashes you can't boot up into anything.
>> >You have to revert to a rescue disk set which a lot of know how to use.
>>
>>         If Linux crashes, the most that is likely to happen is a disk
>>         check afterwards. It takes considerable effort to get a Unix
>>         filesystem into an unbootable state.
>>
>>         If you can so easily fubar a Unix disk, serious consideration
>>         should be given to the possibility that the disk itself is bad
>>         or going bad.
>>
>>         If lilo or your kernel are toasted, creating boot disks aren't
>>         that difficult. You can choose to just install lilo on the disk
>>         or a boot kernel. Alternately, you can boot off of a FAT parition
>>         by using the loadlin package to boot Linux from DOS.
>>
>
>Sorry, I had to step out for a bit.  I hope you are still around.
>
>Anyone else reading this I would welcome your input.
>
>JEDIDIAH, you have mentioned more than once now, "if you partion things right".  I am

        Admittedly, this requires more knowledge and forethought than the
        average novice installing Linux will have. Although, some of the
        auto paritioning schemes (from the distros) might overcome this to
        some degree.

        Unix filesystems are meant to be modular, possessing the ability to 
        be split into smaller pieces and coalesced as needed.

>thinking that is a problem with what I have been trying to do.  You also mention how 
>easy it
>should be, just simply copy files, right?  Well, that is what I thought.  So I went 
>out and
>got another HD.  I am trying to use this HD to backup both my Windows HD and my Linux 
>HD.
>Three HDs.  I use the utility that comes with the HD to copy the Windows/DOS 
>partition as
>long as the MBR is installed with the DOS loader.  This is working.  I partitioned 
>the backup
>HD exactly like I partition the primary Linux drive.  hda1 is DOS(about 500 MBs), 
>hda2 is an
>extended DOS partition that takes up the rest of the drive with logical partitions for
>hda5(/), hda6(/usr) and hda7(swap).  I plug in the backup HD and then mount the hda5
>partition on the primary HD then copy /bin, /boot, /dev, /etc, /lib, /root and /sbin 
>to the
>small hda5 on the backup.   I then mount hda6 and copy the rest of the directories to 
>it.   I
>then try to boot Linux on the backup drive by installing LILO onto it from diskettes. 
> I have
>gotten LILO to boot the backup Linux but I am having problems either with the file 
>system
>itself or the X system.  Once I was able to get the Linux OS to boot on the backup 
>drive with
>full service.  I was shocked!  Then the next time, I did a backup using the method I 
>just
>described, it messed up the backup to where I can only use it in text mode and the 
>partitions
>are not working right.  Do you understand what I am trying to do?  If so, is there a 
>better
>way or do you recognize something glaring that could be going wrong?

        One thing you need to watch when you are cloning systems is that
        you don't unnecessarily clone /etc/fstab exactly. /etc/fstab is your 
        filesystem config file. When you change around disks, fstab must 
        remain consistent with those changes.

        Also, spitting between / and /usr is pointless IMHO. 

        You want to split off /usr/local /home and /opt instead. /usr
        typically holds things that are more or less distro specific
        and core system files.

        I'm not sure why X wouldn't like a cloned configuration. Although,
        if /usr ends up being not mounted then your X files won't be there.
        / (sans /usr) typically contains enough to get a Unix booted. I 
        suppose such a situation could be viewed as a reason to keep / and
        /usr together.

        2G is large enough for all of Bughat's files and is small enough
        that you shouldn't have any cylinder 1024 problems with lilo.

-- 

                                                                        |||
                                                                       / | \
        
                                      Need sane PPP docs? Try penguin.lvcm.com.

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

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: Mounting my system read only?
Date: Fri, 05 May 2000 20:53:50 -0400



mike wrote:
> 
>    I understand that to use e2fsck or fsck to check and repair
> a filesystem / partition that it must be mounted read-only to
> avoid damage. How would that be done?

At the LILO prompt type something like this:
linux 3 ro

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

From: David Turley <[EMAIL PROTECTED]>
Reply-to: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Help: Problem moving from netscape mail to pine
Date: Sat, 06 May 2000 00:10:11 GMT

On Fri, 05 May 2000 19:42:04 -0500, Dennis James apparently wrote:
> This is a cryptographically signed message in MIME format.

WHY?
>
>   I am trying to move from netscape mail to sendmail/pine. I have
> everything working, but the return address. It sends out the address and
> name of my user id, instead of what I want. I have changed the databases
> in sendmail, but it doesn't seem to see them. Any ideas?
>

did you use

FEATURE(genericstable,`hash -o /etc/genericstable')

in your sendmail.mc file

The genericstable file is a hash file that tells sendmail how to convert local user 
names to Internet email addresses. The file looks like this:

root    [EMAIL PROTECTED]
david   [EMAIL PROTECTED]

Now, to create the hashed file, use this command:

makemap -r hash genericstable.db < genericstable 

Rebuild sendmail.cf an dsee what happens

-- 
David Turley
[EMAIL PROTECTED]

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


** 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