Re: [PATCH 1/5] fdisk: print the welcome message when OSF/1 disklabel is detected

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

 



On Fri, Nov 11, 2011 at 11:12:07AM +0100, Francesco Cosoleto wrote:
>  fdisk/fdisk.c |    9 +++++----
>  1 files changed, 5 insertions(+), 4 deletions(-)

Applied (all patches), thanks.

>  	gpt_warning(disk_device);
>  	get_boot(fdisk);
>  
> +	fprintf(stderr, _("Welcome to fdisk (%s).\n\n"
> +		"Changes will remain in memory only, until you decide to write them.\n"
> +		"Be careful before using the write command.\n"), PACKAGE_STRING);
> +

 I have moved this message before gpt_warning() and get_boot(). The
 get_boot() produces very often warnings (for example on disk with no
 PT) and I think that the welcome message should be printed as very
 first message in the interactive mode.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux