Linux-Misc Digest #524, Volume #26               Mon, 11 Dec 00 19:13:02 EST

Contents:
  Re: lost file on erased partition (alex k)
  Re: lost file on erased partition (Svend Olaf Mikkelsen)
  Re: Replicating a Linux box (Shawn Smith)
  Re: /etc/exports (Jim Broughton)
  Re: Telnet problem (DualIP)
  Re: What is the difference? (Harlan Grove)
  Re: export display from aix to redhat 7.0 ([EMAIL PROTECTED])
  Linux and SpeedStep. ([EMAIL PROTECTED])
  Re: Debian-Tuning ("Martin")
  Re: Meeting notice - "BSD OS or Linux ... Which? Why?" (Mitchell Loebel)
  Re: Linux Scripting ([EMAIL PROTECTED])
  Re: Telnet problem (Herb Stein)
  LOCAL: DVD Demo at Linux Users Group of Davis - Dec 18th (LUGOD Chairperson)
  Re: Telnet problem ("Danny Wijsman")
  Re: What is the difference? (John Hasler)
  What Version? ("Patrick McCann")
  Re: What is the difference? ("Peter T. Breuer")
  Re: What Version? ("Jan Schaumann")
  Re: /etc/exports ("Peter T. Breuer")
  Re: How do I totally remove Linux from hard drive to use whole HD for  windows 
again? (Anita Lewis)
  Re: DIAMOND:STEALTH III 540, 32MB, AGP, SAVAGE4 CHIPSET (Kirk Strauser)
  help: enlightenment as session manager ([EMAIL PROTECTED])
  Re: /etc/rc.d/rc0.d/K##  scripts DO NOT WORK on RH 6.2 (Jimbob)
  Re: /etc/rc.d/rc0.d/K##  scripts DO NOT WORK on RH 6.2 (Bit Twister)

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

From: alex k <[EMAIL PROTECTED]>
Subject: Re: lost file on erased partition
Date: Mon, 11 Dec 2000 19:56:53 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Svend Olaf Mikkelsen) wrote:
> alex k <[EMAIL PROTECTED]> wrote:
>
> >no one knows how to find where it is on the disk??
>
> You recover the entire partition, then you find the file using usual
> commands. That is the easy way.
> --
> Svend Olaf
>

i wish i could, but that seems to presuppose that i know where exactly
that partition started and ended.

the table roughly looke like this before:  [hda = 240heads / 63 sect /
1754 cyl]
hda1  6gig vfat (primary)
hda2  2.5gig ext2 (extended - contained hda5-7)
hda3  2.5gig ufs (extended/slice)
hda4  900meg ext2 (primary

hda5  /boot i think, 15meg
hda6  swap, 42meg
hda7  / 2.5gig

i am not totally sure about the order in extended hda2.
hda5 might have been swap, or /.

now i only got this:
hda1  4.2gig vfat (primary)

the file i am looking for is in the old hda7 (or / anyway).
so it can not have been overwritten.

after the partitions were busted by windows (i actually think scandisk
did it, cause it complained a whole lot, and thought i tried installing
win on a NTFS, error: SU0013) i removed them all in fdisk in linux.

why? because fdisk said that all partitions did not end on cylinder
boundary.
about hda2 it said:  phys=(0, 13, 10) should be phys=(0, 239, 63)

how is phys interpreted?

so i tried running findpart.
'findpart all' and 'findpart 1' gives same output:

===========
Findpart, version 3.93.
Copyright Svend Olaf Mikkelsen, 2000.

...

OS:  DOS 7.10   WINDOWS 4.10

Disk: 1   Cylinders: 1024   Heads: 240   Sectors: 63   MB: 7560

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
    0 - 0B       63  8603217  4200    0   1  1  568 239 63 B    OK

=====FAT CHS =Size Cl ==Root =Good =Rep. Maybe ==Bad YYMMDD DataMB
    0   1 33  8394  4      2  8394     0     0     0 001211    723

Partitions according to partition tables on first harddisk:

-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
    0 1*0B       63  8603217  4200    0   1  1  568 239 63 OK   OK
===========

as you see it only finds one thing in addition to hda1.
something that seems to be 723meg?

does that tell me anything??

  TIA / alex k

--
. 
. 
...: [ ~~~~~~~ ] :...


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

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: lost file on erased partition
Date: Mon, 11 Dec 2000 20:33:45 GMT

alex k <[EMAIL PROTECTED]> wrote:

>Findpart, version 3.93.
>Copyright Svend Olaf Mikkelsen, 2000.
>
>...
>
>OS:  DOS 7.10   WINDOWS 4.10
>
>Disk: 1   Cylinders: 1024   Heads: 240   Sectors: 63   MB: 7560
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
>    0 - 0B       63  8603217  4200    0   1  1  568 239 63 B    OK
>
>-----FAT CHS -Size Cl --Root -Good -Rep. Maybe --Bad YYMMDD DataMB
>    0   1 33  8394  4      2  8394     0     0     0 001211    723
>
>Partitions according to partition tables on first harddisk:
>
>-PCyl N ID -----Rel -----Num ---MB -Start CHS- --End CHS-- BS  CHS
>    0 1*0B       63  8603217  4200    0   1  1  568 239 63 OK   OK

It seems as the Linux partitions might have been made using a 255
heads or 16 heads translation, since they were not found so far. Next
you can do this from pure DOS:

findpart pm heads 255 fp-a.txt

If this does not show the Linux partitions, you also can do this:

findpart pm heads 16 fp-b.txt

Post the content of the output file(s).

Since the BIOS does not recognize the full disk, the search is done on
pm (primary master).
-- 
Svend Olaf

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

From: Shawn Smith <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Replicating a Linux box
Date: Mon, 11 Dec 2000 20:37:37 GMT

In article <[EMAIL PROTECTED]>,

Great advice. I am going to go see if the box has room for another
drive. What if it doesn't? ftping could work then. I would just copy the
partition layout and then just ftp it all. Do you know the command for
me to find out what partitions are mounted on what drives?

  Sebastian Hans <[EMAIL PROTECTED]> wrote:
> Shawn Smith wrote:
> >
> > Hello all,
> >
> > At work, I have a live server. I am getting a new computer where I
am
> > to replace the old server with this new one.  I have been using
Linux
> > at home for fun since '94 so I am comfortable w/ it. I, however,
have
> > never had to completely copy one machine to another. It seems
simple,
> > but just in case.
>
> Put the HD of the new computer in your old one, fdisk it,
> mount /dev/rootpartitiononnewdrive /mnt
> cd /
> cp -pRd * /mnt
> # you may want to add -x to copy only files on the root partition in
> # case you have more than one partition mounted and want to preserve
> # this structure
> umount /mnt
>
> Repeat for every partition.
> Do magic with lilo or something to get it installed in the MBR of the
> new HD, so that it will work even when the HD becomes the first one.
> Put new HD back in new computer AFTER ensuring that your current
config
> will work with the new hardware at least long enough to configure it
> correctly.
> Boot and hope.
>
> HAND
> seb
>
> --
>    -------------------=====#####OOOOOOOO#####=====----c---c----------
> sebastian hans - [EMAIL PROTECTED]      `\O/'  don't
panic
> student of comp sci - technical university of munich  \-^-/  ...just
RUN
> i'm a .signature virus! copy me into your ~/.signature to help me
spread
>

--
Take Care,
Shawn Smith


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

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

From: Jim Broughton <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: /etc/exports
Date: Mon, 11 Dec 2000 20:54:08 GMT

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Do I have to restart my computer each time I change /etc/exports ?
> Is there any other way?
> 
> Thanks
> 
> Wroot
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.

 You other guys are all wet (grin). Just use the
exportfs program.

-- 
Jim Broughton
(The Amiga OS! Now there was an OS)
If Sense were common everyone would have it!

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

From: [EMAIL PROTECTED] (DualIP)
Crossposted-To: comp.os.linux.networking
Subject: Re: Telnet problem
Date: Mon, 11 Dec 2000 21:08:47 GMT

On Mon, 11 Dec 2000 18:59:11 +0100, Joerg Morbitzer <[EMAIL PROTECTED]>
wrote:

>
>
>On Mon, 11 Dec 2000, Martin wrote:
>
>> I set up an telnet server at Linux, but when I login from ourside, I
>> need to wait about 2 or 3 minutes to get the login prompt, I tried to
>> comment the 'ident' statement in the inetd.conf, but problem still
>> exists.
>> 
>> Does anyone know why this happened, and please help me to solve it,
>> thanks!
>
>Perhaps the telnet server tries to resolve the name of your
>incoming ip address - and it can take a while until until
>the nslookup returns a timeout.
>
>Try to add the address and name of one of your clients in
>/etc/hosts of your telnet server, this might help.

That's the common workaround , that also solved that problem here.
But how to prevent telnetd to do a reserve DNS for the telnet clients
IP address??

DualIP

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

From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: What is the difference?
Date: Mon, 11 Dec 2000 21:11:10 GMT

In article <9133nc$vuu$[EMAIL PROTECTED]>,
 "Keith" <[EMAIL PROTECTED]> wrote:
>What is the difference between Publishers, Standard, and Professinal
>Edition of Linux?

Which distribution? Several companies each provide several editions of
Linux. Some of the major companies are Red Hat, SuSE, Caldera, Debian,
Slackware, Mandrake, Corel, . . .

The main difference between Standard and Professional (I believe Red
Hat and SuSE at least both use these terms) is the amount of extra
software (some free, some limited use/feature demos) that's bundled on
additional CDs included with the package. Professional offers a lot
more than Standard. If you just want a workstation with a GUI, the GNU
compiler suite, office productivity software, and a www browser,
Standard editions should be sufficient. If you have a fast/cheap
internet connection, you can find and download (almost) all the extras
that would have been included on the additional Professional CDs,
though some may only be available as source code.


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

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

From: [EMAIL PROTECTED]
Subject: Re: export display from aix to redhat 7.0
Date: Mon, 11 Dec 2000 21:20:00 GMT

on linux box #xhost + (let anyone connect to X to begin)
on AIX box #export DISPLAY=linux.box.com:0

# aixterm
#xcalc
#xinit etc


In article <cf9Z5.3334$[EMAIL PROTECTED]>,
  "James Bishop" <[EMAIL PROTECTED]> wrote:
> hello,
> I have a Linux box running redhat 7.0 and also have an IBM AIX
workstation.
> I would like to be able to export the whole AIX display(login screen,
> desktop, etc...) to the redhat machine if possible? So, the it would
seem as
> if it were the
> AIX machine.  right now I telnet from the redhat machine to the AIX
machine,
> export the
> display from AIX to the redhat box and run my programs to display on
the
> redhat machine and
> everything works fine, but would like to skip the telnet part if
possible.
>
> thanks for your help....
>
> James bishop
>
> email: [EMAIL PROTECTED]
>
>


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

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

From: [EMAIL PROTECTED]
Subject: Linux and SpeedStep.
Date: Mon, 11 Dec 2000 21:17:31 GMT

I have a IBM x20 thinkpad which has intel's speed step technology. I am
running slackware with linux 2.4.0-test11 and found something
interesting.

When I boot the machine on battery  /proc/cpuinfo reports the CPU as a
400 Mhz chip, but when booting on AC it reports it correctly as 600Mhz.

Does anyknow know the any of the linux kernels support this speedstep
technology? or is proc/cpuinfo obtained @ boot and not updated again?

Thanks,

-jr


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

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

From: "Martin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: Debian-Tuning
Date: Mon, 11 Dec 2000 22:45:54 +0100

Hi again,
thank you very much for your help, looks very promising!

Martin



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

From: [EMAIL PROTECTED] (Mitchell Loebel)
Crossposted-To: comp.unix.bsd.freebsd.misc,comp.unix.bsd.openbsd.misc
Subject: Re: Meeting notice - "BSD OS or Linux ... Which? Why?"
Date: Mon, 11 Dec 2000 22:11:46 GMT

No, but we do record all of our monthly meetings. Thank you for asking.



In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:

> In article <[EMAIL PROTECTED]>
>            [EMAIL PROTECTED] "Mitchell Loebel" writes:
> 
> > Hello:
> > 
> > This is your notice for the Monday, December 11th meeting of the Silicon
> > Valley Entrepreneur's Connection. The meeting site is Sun Microsystems,
> > 901 San Antonio Rd., Palo Alto, CA, USA.
> 
> Are there any similar meetings planned in the UK?

-- 
B. Mitchell Loebel

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

From: [EMAIL PROTECTED]
Subject: Re: Linux Scripting
Date: Mon, 11 Dec 2000 22:26:44 GMT
Reply-To: [EMAIL PROTECTED]

I assume that you flagged the file as an executable?
chmod 700 /filename
or 
chmod 777 /filename

On 11 Dec 2000 02:13:29 -0900, Floyd Davidson <[EMAIL PROTECTED]>
wrote:

>Jimbob <[EMAIL PROTECTED]> wrote:
>>DJohnson <[EMAIL PROTECTED]> wrote:
>>> I wrote a scipt in Linux and either I don't know how to get it to execute 
>>> or I've written it wrong.  The script is below. Thanks
>>> count=0
>>> for i in `ls -l`
>>> do
>>> if [ -d $i ]
>>> then
>>> count=`exp ^ $count +1`
>>> fi
>>> done
>>> echo $count
>>
>>
>>> --
>>> Posted via CNET Help.com
>>> http://www.help.com/
>>
>>At the top of all scripts you need to specify the shell that
>>the script will be run in:
>>
>>#!/bin/bash
>>
>>
>>or whatever shell you use.
>>
>>Jimbob
>
>
>It is probably a _good_ idea to put it there, but it is _not_
>a requirement.
>
>However, to run a script using other than the command line shell,
>either that mechanism is in place or the shell must be specified
>on the command line:
>
>  sh -c script
>
>for example, unless of course the command line shell is the
>desired shell (which is usually the case with bash, as was true
>in the above instance).


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

From: Herb Stein <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Telnet problem
Date: Mon, 11 Dec 2000 16:38:32 -0600

Almost certainly a DNS problem.

Martin wrote:

> I set up an telnet server at Linux, but when I login from ourside, I
> need to wait about 2 or 3 minutes to get the login prompt, I tried to
> comment the 'ident' statement in the inetd.conf, but problem still
> exists.
>
> Does anyone know why this happened, and please help me to solve it,
> thanks!
>
> Martin.


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

From: LUGOD Chairperson <[EMAIL PROTECTED]>
Subject: LOCAL: DVD Demo at Linux Users Group of Davis - Dec 18th
Crossposted-To: 
ucd.general,ucd.life,ucd.cs.club,sac.announce,sacramento.internet,sac.general
Date: Mon, 11 Dec 2000 22:38:26 GMT


LUGOD, The Linux Users' Group of Davis, will hold its next meeting on:

  Monday
  December 18, 2000
  6:30pm - 9:30pm

The meeting will be held at:

  Z-World, Inc.
  2900 Spafford Street
  Davis, CA 95616


The topic will be:

  Playing DVDs Under Linux
  presented by Pete Salzman

  Due to a current lack of commercial, licensed software for DVD playback
  under the Linux operating system, playing DVD movies can be
  non-trivial.  Pete Salzman will show what's available now, how
  to use it, and what it can do.


For details on this meeting, maps, directions, public transportation
schedules, etc., visit:

  http://www.lugod.org/meeting/



LUGOD is a non-profit organization dedicated to the
Linux Operating System, and which meets twice a month in Davis, CA.
Please visit our website for details:

  http://www.lugod.org/



-bill!
[EMAIL PROTECTED]
http://www.lugod.org/

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

From: "Danny Wijsman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Telnet problem
Date: Mon, 11 Dec 2000 23:41:16 +0100

"DualIP" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
> On Mon, 11 Dec 2000 18:59:11 +0100, Joerg Morbitzer <[EMAIL PROTECTED]>
> wrote:
>
> >
> >
> >On Mon, 11 Dec 2000, Martin wrote:
> >
> >> I set up an telnet server at Linux, but when I login from ourside, I
> >> need to wait about 2 or 3 minutes to get the login prompt, I tried to
> >> comment the 'ident' statement in the inetd.conf, but problem still
> >> exists.
> >>
> >> Does anyone know why this happened, and please help me to solve it,
> >> thanks!
> >
> >Perhaps the telnet server tries to resolve the name of your
> >incoming ip address - and it can take a while until until
> >the nslookup returns a timeout.
> >
> >Try to add the address and name of one of your clients in
> >/etc/hosts of your telnet server, this might help.
>
> That's the common workaround , that also solved that problem here.
> But how to prevent telnetd to do a reserve DNS for the telnet clients
> IP address??
>
> DualIP

Setting up our local DNS server.

Danny





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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: What is the difference?
Date: Mon, 11 Dec 2000 21:05:12 GMT

Keith writes:
> What is the difference between Publishers, Standard, and Professinal
> Edition of Linux?

They are three different members of the empty set.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: "Patrick McCann" <[EMAIL PROTECTED]>
Subject: What Version?
Date: Mon, 11 Dec 2000 10:19:02 -0800

Hi,
I would like to know how I can find out what version of Linux I'm running. I
know that it us Redhat but not the version.
Thanks for any help.
Pat



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: What is the difference?
Date: Mon, 11 Dec 2000 23:24:24 GMT

John Hasler <[EMAIL PROTECTED]> wrote:
> Keith writes:
>> What is the difference between Publishers, Standard, and Professinal
>> Edition of Linux?

> They are three different members of the empty set.

He's not gonna geddit.

But then I'm not going to explain his error either!

Peter

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

From: "Jan Schaumann" <[EMAIL PROTECTED]>
Subject: Re: What Version?
Date: Mon, 11 Dec 2000 18:25:03 -0500

* "Patrick McCann" <[EMAIL PROTECTED]> wrote:

> Hi, I would like to know how I can find out what version of Linux I'm
> running. I know that it us Redhat but not the version. 

RH has a file called /etc/redhat-release (IIRC), which tells you what
version it is.

Otherwise, 
man uname 
may be helpful.

-Jan

-- 
Jan Schaumann <http://www.netmeister.org>
 "Ahhh! We're gonna die! Right?" -Fry 
 "Right." -Bender 
 "Ahhh!" -Fry

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: /etc/exports
Crossposted-To: alt.os.linux
Date: Mon, 11 Dec 2000 23:34:26 GMT

In comp.os.linux.misc Jim Broughton <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>> Do I have to restart my computer each time I change /etc/exports ?
>> Is there any other way?
>  You other guys are all wet (grin). Just use the
> exportfs program.

Why? What does it do? "killall -1 rpc.{nfsd,mountd}" ?

And please EDIT what you write. You didn't need to post the guys name,
signature, and dejas signature, nor his greeting. What was your intended
comment on them?

Peter

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

From: [EMAIL PROTECTED] (Anita Lewis)
Crossposted-To: alt.os.linux,linux.redhat,linux.redhat.misc
Subject: Re: How do I totally remove Linux from hard drive to use whole HD for  
windows again?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 23:28:24 GMT

On Mon, 11 Dec 2000 14:21:58 GMT, Robert Rawlinson wrote:
>I have the same problem and I have tried it as I thought it should work. But
>it doesn't. ms fdisk says there is no other partitions. Wish it would work
>:-(
>Bob
>

Boot into linux if it is still on the drive and remove the partitions with
linux fdisk.  If you can't boot, then you could download and install Tom's
Linux and put that on a floppy.  Then put it in the drive and boot.  Once in
Tom's, run 'fdisk /dev/hda' and delete the partitions that linux is on.  

If you can boot into linux, before deleting the partitions, do 
'/sbin/lilo -u' to recover the mbr as it was before linux.  If you have to
use Tom's to boot, then you can use dos 'fdisk /mbr' to restore the mbr.

Anita

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

Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: DIAMOND:STEALTH III 540, 32MB, AGP, SAVAGE4 CHIPSET
From: Kirk Strauser <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: 11 Dec 2000 09:49:29 -0600

=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1

"John Nielsen" <[EMAIL PROTECTED]> writes:

> I am using the card without any problems.  FreeBSD 4.1.1 and XFree86
> 3.somethingorother.

Likewise here with one critical exception.  X 4.0.1 does *not*
support the Savage 4 chipset.  While there are beta drivers here
and there, they seem to be a touch flaky on my system (I
couldn't get anything greater than 1280x1024 to work, although I
routinely use 1600x1200 under X3).

So, if you're content with either using X 3.3.x or waiting until
X 4.0.2 (which *may* have S4 support) to appear, then the S540
is a fine card.  I've enjoyed mine.
- -- 
Kirk Strauser

If this message is not cryptographically signed, then it may
have been sent by someone other than me.
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.5 and Gnu Privacy Guard <http://www.gnupg.org/>

iD8DBQE6NPeGxmXltHAvlVIRArBnAKCDbDMwPTVhEbuU+vly+pIPJR+P7ACgk88S
5deEzKIGSZbAbeng1cdbUUk=
=6vod
=====END PGP SIGNATURE=====

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

Date: Tue, 12 Dec 2000 02:06:11 +0200
From: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.help,comp.os.linux.setup,mailing.unix.enlightenment
Subject: help: enlightenment as session manager

hi

i currently use gnome+enlightenment. until recently, i ran
'gnome-session' as my session manager, but due to a conflict with
another program, i now run enlightenment as my session manager, and i've
set 'panel' and 'gmc' to load automatically when enlightenment starts
up.

A problem arises when shutting down enlightenment. Merely logging out of
enlightenment terminates gmc and panel by breaking the X connection to
these applications ie. panel and gmc are not shut down properly. I've
found that killing gmc with SIGTERM works. however, i cant do the same
with panel since apparently, every applet needs to be shutdown first.
I've written a script to identify all the currently used applets, but
when i try to shut them down, a message pops up on the screen asking if
i want to reload the applet. Hence, i'm unable to successfully shut down
panel.

Is there any other way of properly shutting down panel? I hate having to
improperly terminate it everytime i log out of X.

thanks
ali


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

From: Jimbob <[EMAIL PROTECTED]>
Subject: Re: /etc/rc.d/rc0.d/K##  scripts DO NOT WORK on RH 6.2
Date: 12 Dec 2000 10:50:28 +1100

Kevin Taylor <[EMAIL PROTECTED]> wrote:

> I'm trying to get a script to run on startup and shutdown....it just
> creates a file on shutdown and deletes it on startup....this shouldn't
> be tough.

> However, I'm noticing that the script is NEVER executed on shutdown.
> Redhat just bypasses all those K scripts and runs it's
> /etc/rc.d/init.d/halt program.

> Does anyone know what's going on here?

Have you got the script in the correct directory. On my debian system on shutdown the 
scripts in 
/etc/rc6.d are executed on shutdown.

Jimbob
-- 
****************************************************
*                                                  *
*   "Sudden success in golf is like the sudden     *
*    acquisition of wealth. It is apt to unsettle  *
*    and deteriorate the character"                *
*                                                  *
****************************************************

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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: /etc/rc.d/rc0.d/K##  scripts DO NOT WORK on RH 6.2
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 23:59:07 GMT


On 12 Dec 2000 10:50:28 +1100, Jimbob <[EMAIL PROTECTED]> wrote:
>
>Have you got the script in the correct directory.
> On my debian system on shutdown the scripts in 
>/etc/rc6.d are executed on shutdown.
>

Redhat does move stuff around.

locate halt | grep rc
/etc/rc.d/init.d/halt
/etc/rc.d/rc0.d/S01halt


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


** 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 by posting to comp.os.linux.misc.

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