grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Use extcmd to handle bsd arguments.


From: Vladimir 'phcoder' Serbinenko
Subject: [PATCH] Use extcmd to handle bsd arguments.
Date: Sat, 22 Aug 2009 14:22:24 +0200

Hello. Currently bsd loaders inspects argv[1] for boot options but the
treat argv[1] as if it always was prefixed by dash ('-') and
completely ignores options in argv[n], n>1. This leads to unexpected
results like
freebsd /kernel verbose
is parsed like verbose ('v'), dfltroot ('r') and single ('s')
freebsd /kernel -v -s
is parsed only like verbose and not verbose and single.
Additionally help shows no information about these options. This patch
delegates option parsing to lib/arg.c and so achieves good option
passing, GNU-style options support and provides help. Unfortunately
booting with some options has no noticeable effect so I couldn't
document what they do

-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Attachment: bsdarg.diff
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]