Re: What happened if I stop the make check?

2011-07-12 Thread Mike McCarty
Webmaster wrote:
 Sometimes I don't have much time to wait it so I pressed Ctrl+C. Are
 there any side effects if I stop it?

It depends upon when it is done. If you simply

$ make

and then

$ make check

then likely there is no problem. If, however, the

$ make check

is the first command, then you may kill the initial build
in the middle.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Question about the 'K' and 'S' in script names in /etc/rc.d/rc{0, 6}.d

2011-07-12 Thread Theodore You
On Tue, Jul 12, 2011 at 9:47 AM, Bruce Dubbs bruce.du...@gmail.com wrote:

 Theodore You wrote:
  The book says in chapter 7.3:
      Links that start with an S in the rc0.d and rc6.d directories will
      not cause anything to be started. They will be called with the
      parameter stop to stop something.
 
  If so, why are there still scripts starting with an S in these two
  directories?
  Why not change all S to K?

 When changing to any run level, the rc script is run.  It goes through
 the K entries with a stop.  For runlevels 0 and 6, all the S entries are
 also run, in order, with a stop.  For runlevels 1-5, The S entries are
 run with a start.
According to the rc script, if an S entry was started in previous
runlevel, and not stopped in current runlevel, it will be skipped, but
if we are switching to runlevel 0 or 6, this script won't be stopped.
Is this intended or I'm wrong?

 For runlevels 0 and 6, this lets us shut down in the order started (K
 entries) and then run the S entries, in order, to actually halt or
 restart the system.
If we want to change the order of these scripts, we can simply change
the number of the script, I still think there's no need for the S.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Question about the 'K' and 'S' in script names in /etc/rc.d/rc{0, 6}.d

2011-07-12 Thread Bruce Dubbs
Theodore You wrote:
 On Tue, Jul 12, 2011 at 9:47 AM, Bruce Dubbs bruce.du...@gmail.com wrote:
 Theodore You wrote:
 The book says in chapter 7.3:
 Â  Â  Links that start with an S in the rc0.d and rc6.d directories will
 Â  Â  not cause anything to be started. They will be called with the
 Â  Â  parameter stop to stop something.

 If so, why are there still scripts starting with an S in these two
 directories?
 Why not change all S to K?
 When changing to any run level, the rc script is run. Â It goes through
 the K entries with a stop. Â For runlevels 0 and 6, all the S entries are
 also run, in order, with a stop. Â For runlevels 1-5, The S entries are
 run with a start.
 According to the rc script, if an S entry was started in previous
 runlevel, and not stopped in current runlevel, it will be skipped, but
 if we are switching to runlevel 0 or 6, this script won't be stopped.
 Is this intended or I'm wrong?
 For runlevels 0 and 6, this lets us shut down in the order started (K
 entries) and then run the S entries, in order, to actually halt or
 restart the system.
 If we want to change the order of these scripts, we can simply change
 the number of the script, I still think there's no need for the S.

Your distro, your rules.  What we have is the way it's done on most 
distros that still use sysvinit.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page