[Pkg-sysvinit-devel] Bug#483399: initscript: Support Cell processor spufs

Petter Reinholdtsen pere at hungry.com
Fri Jun 6 06:57:49 UTC 2008


[Arthur Loiret]
> I think the groupadd and mkdir things should rather be in libspe2's
> postinst than in an initscript at all, but it sounds better to keep
> the mount commands with appropriated tests in initscripts
> package. This would indeed avoid having to create a new
> cell-specific initscript.
> 
> Petter, are you ok with this?

I must admit that I prefer to keep the generic stuff in initscripts,
and leave the special case handling in other packages.  It make the
initscripts package easier to maintain, and also we avoid running code
on all machines that is only used on some of them.  Are you ok with
including it in libspe2?

This is not a strong preference, though, so if it make most sense to
do this mounting in the generic scripts, we can do that.

Btw, how early must this file system be mounted?  Is it OK to do it in
rc2.d/, instead of rcS.d/?  It is a good idea to do as little as
possible in rcS.d/, to make sure single user mode is affected by as
little as possible in case of errors in modules and services.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list