On Fri, Dec 28, 2012 at 9:10 AM, Kevin Chadwick <ma1l1i...@yahoo.co.uk> wrote: >> > Should perl be in / or /usr? >> >> Now that is a good question, if only because Perl traditionally _loathes_ >> being in /bin, for its own philosophical reasons. >> > > >> Now, as a practical matter? WTF are the scripts written in Perl? Or in >> anything other than sh? If they're intended for emergency use, they've got >> some pretty fat dependencies, and should probably be launched from a full >> rescue environment instead. Or the log files should be copied to some place >> with more featureful tools available. > > > Can perl be built statically and moved to / by the admin for this > corner case?
Certainly, but you still have modules to consider...but those can of course be bundled. > > If not you should have all the tools to fix /usr in root and then if > anything needs fixing via perl then you should be able to mount /usr or > mount -a and have a fully working single user system to run perl from. Indeed. The only reason I can imagine this to not be the case is if the mount for /usr fails. Most of the reasons imaginable also apply equally strongly to initramfs+root-on-special-mount and everything-in-/usr. -- :wq