[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apmd and other archs



> > Good answer. I'd have used a symlink to some writeable directory on the
> > root fs, mainly because using /proc all over the place tends to confuse
> > Unix admins with no Linux experience. Let's not fall into the Solaris trap
> > (you are in a maze of twisty little config files, all different from the
> > rest of Unix').
> 
> At boot, before the first mount command executes, there may be _no_
> writable directory and there may be none for a while, and you have the
> problem of having an existing non-empty /etc/mtab (or equivalent) from a

The init scripts of all distributions but SuSE handle this just fine
(mount -n). At least SuSE seems to mount the root fs rw from the start,
which causes all sorts of pain if you want to boot into a RedHat system
using the SuSE rescue disk. No idea how SuSE copes with readonly root fs. 

Anyway, this wasn't the issue initially. It seems /proc/apm should be
doable on PPC for programs that don't use apmlib, and the apmlib glue code
takes care of the others. 

> non-clean shutdown which you would have to erase before the first mount is
> done (adding another funky option to mount). Unless you make some kind of
> ramdisk compulsory, which might not be bad idea after all with current
> memory sizes.

Yeah, like Linux will never run on my old 4 MB Mac anyway. 

	Michael



Reply to: