> > > Do you have sysvinit installed?
> > > 
> > > If not, then you must compile initng with -DINSTALL_AS_INIT=ON
> > 
> > I do have sysvinit installed.
> 
> I don't remember what package installs it, but i think it was
> sysvinit... anyway, that needs to be fixed, because we shouldn't
> depend on mountpoint...
What is the use of it anyway? Look where it is used in mountfs:

                echo "${FILES}" | while read mp drop
                do
                        case "${mp}" in
                                /proc|/sys|/dev|/) ;;
                                *)
                                        /usr/sbin/mountpoint -q "${mp}" && {
                                                /bin/umount -r -d -f "${mp}" ||
                                                echo "WARNING, failed to umount 
${mp}"
                                        }
                                        ;;
                        esac
                done
                exit 0

What would we lose in the above script by removing altogether the
invocation of mountpoint and thus issuing a mount command for each mp
read? I don't see the point of mountpoint.

More importantly, people out there (including me, until I worked around
the problem) are having their computers shut down without their
partitions umounted. Me thinks, we should immediately remove the above
mountpoint invocation in the ifiles from cvs and only then think about
the permanent solution. 

-- 
Software is like sex: it is better when it is free. --Linus Torvalds
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to