Hi,
Maybe wrapper functions for cp, mv etc could be defined.
Then if an error is discovered, it will be easy to detect
and report.
-Neal
On Tue, May 09, 2000 at 08:39:13PM -0400, Pavel Roskin wrote:
> Hello!
>
> > > grub-install is not really designed to be run by ordinary users e.g. for
> > > creating floppy images etc. People who want this should write a separate
> > > script anyway.
> >
> > Why? If a user has write permission granted for a floppy device
> > file, the user can run "/sbin/grub-install --root-directory=/floppy"
> > safely. Anyway, why do "ordinary" users want to run "/sbin/*"? Isn't
> > the directory /sbin for sysadmins?
>
> I see. You want it to be user-proof. Then we need to check every "cp" and
> every "mv", otherwise we are screwed if all steps but one succeed. And
> probably /boot/grub/device.map will be incomplete when grub is run by a
> user.
>
> Anyway, I like the idea of running "make floppy" before (or without)
> running "make install". I'll have a look how to implement is in
> grub-install
>
> Pavel Roskin
>
--
----------------------------------------------------------------------------
Neal Walfield [EMAIL PROTECTED]
UMass Lowell - Fox 1512 Phone: 978-934-5347
Fax: 603-415-3645
Love is the triumph of imagination over intelligence.
-- H. L. Mencken