On Mon, Mar 02, 2009 at 11:52:13AM +0800, Bean wrote: > > Then we could use parttool syntax. Then parttype can be implemented like > > grub> parttool hd0,1 type=7 > > makeactive like: > > grub> parttool hd0,1 boot+ > > And it can even be done by one command > > grub> parttool hd0,1 boot+ type=7 > > > > Thank you for your attention to my patches > > Hi, > > In that case, you might want to use options, which save you the > trouble of parsing parameters yourself, for example: > > parttool [--boot] [--type N] partition
Why don't we make the syntax compatible with Parted? It supports non-interactive mode, and is also a GNU project. Some consistency between it and GRUB would be nice IMO. (besides, there's also that project to integrate Parted with GRUB directly, it used to be in gsoc) -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all." _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel