From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] parttool
Date: Wed, 08 Apr 2009 16:24:31 -0400 [thread overview]
Message-ID: <1239222271.2948.22.camel@mj> (raw)
In-Reply-To: <49DC6FCC.2020909@gmail.com>
On Wed, 2009-04-08 at 11:35 +0200, phcoder wrote:
> Is this what you mean?
Yes.
> +static char helpmsg[] =
> + "perform COMMANDS on partition.\n"
> + "Use \"parttool PARTITION help\" for the list "
> + " of available commands";
Please remove one space after "list".
I've tested the command quickly. A few notes.
We need a command to list the partition table, as "ls" doesn't show the
partition types.
It would be nice to have some feedback, e.g.
parttool (hd0,1) hidden+
Setting partition type to 0x92
"hidden" should work like "hidden+". I prefer plus and minus before the
word, not after, but it's a matter of taste.
The "hidden" attribute doesn't apply to all partition types. There is
no such thing as a hidden Linux swap partition.
"parttool PARTITION" should work like "parttool PARTITION help" or maybe
it should give information about the partition.
Modules for the partition (like "pcpart") should be loaded automatically
for any commands including "help". If that module is missing and cannot
be loaded, all commands should report is, not just "help".
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2009-04-08 20:24 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-04 21:15 [PATCH] parttool phcoder
2009-03-10 17:45 ` phcoder
2009-03-20 19:33 ` phcoder
2009-04-04 9:22 ` phcoder
2009-04-05 14:48 ` Yoshinori K. Okuji
2009-04-06 9:52 ` phcoder
2009-04-06 15:53 ` Pavel Roskin
2009-04-06 15:56 ` phcoder
2009-04-06 16:20 ` Pavel Roskin
2009-04-06 16:25 ` phcoder
2009-04-06 16:33 ` Pavel Roskin
2009-04-08 9:35 ` phcoder
2009-04-08 20:24 ` Pavel Roskin [this message]
2009-04-17 11:12 ` phcoder
2009-04-25 12:21 ` Vladimir 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=1239222271.2948.22.camel@mj \
--to=proski@gnu.org \
--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.