All of lore.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@ubuntu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: grub-install hidden options weirdness
Date: Wed, 25 Jun 2014 10:13:59 -0400	[thread overview]
Message-ID: <53AAD927.1000806@ubuntu.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

A user complained that grub-install has some undocumented options such
as --root-directory.  I started looking into it and noticed a lot of
weirdness here.

1)  It seems that --root-directory used to just be used to find the
boot directory by appending "boot" to rootdir.  --boot-directory was
added as a more appropriate way to directly specify that.  Shouldn't
the man page mention that it still accepts --root-directory for
backwards compatibility but it's use is depreciated?

2)  It seems that --root-directory has been overloaded to specify the
efi system directory.  This seems like it was the wrong thing to do
and again, is totally undocumented.

3)  It appears that --grub-setup used to allow you to specify an
alternate program to run instead of grub-setup.  Now it seems to check
if its argument is "setup" and if so, has the same affect as
- --no-bootsector, and otherwise has no effect.  This seems completely
wrong.

4)  The similar arguments --grub-mkrelpath, --grub-probe,
- --grub-editenv, and --font are accepted and completely ignored.  If
the option no longer works, it should be removed rather than silently
ignored.  At least that way you don't have people using it and
wondering why it isn't working.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTqtknAAoJEI5FoCIzSKrwT9oH/0CKCkImM4xkbS91CbX4vEWa
Dj+wV9U+4/F48M19TGsPOwAxawE6NQRb67UDrarNNEacFWy5UpTMdpfYX+x4cr1a
Tih2n0OLC/FQyxjKNoqqak+MOjA6tnN/sgJck0BZ8wCt3UN4XsJTMzATFK+iVFM4
YGCj72/F2w7wd9HMYqyy5iQKXEIyPJi31T1F5wsYWtbGsOwS1tnNubNeHgSFJ0wo
jkIjgLZWYjB73RQzZ8nrMOaLfPMiKHq2ynl8JAL8kYteSVKmuH7M3C3raDPIW/2S
sq4Vgqv+aUrVzbQAdU+3e+ispYcpf7mHi5WX4/0RomSZa0hX0yaylfPNb1VC9oQ=
=zoPB
-----END PGP SIGNATURE-----


             reply	other threads:[~2014-06-25 14:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-25 14:13 Phillip Susi [this message]
2014-06-25 17:33 ` grub-install hidden options weirdness Andrey Borzenkov
2014-06-25 17:44   ` Phillip Susi
2014-06-25 18:48     ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53AAD927.1000806@ubuntu.com \
    --to=psusi@ubuntu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.