diff options
author | Francesco Cosoleto | 2011-08-17 00:19:04 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-30 10:54:37 +0200 |
commit | 9777759ad67014273a1499fe4c55544434157eab (patch) | |
tree | 85cbeb5725695c011deb7916aca10d361d8e8479 /fdisk/fdisksgilabel.c | |
parent | fdisk: print partition deleted message (diff) | |
download | kernel-qcow2-util-linux-9777759ad67014273a1499fe4c55544434157eab.tar.gz kernel-qcow2-util-linux-9777759ad67014273a1499fe4c55544434157eab.tar.xz kernel-qcow2-util-linux-9777759ad67014273a1499fe4c55544434157eab.zip |
fdisk: print welcome message
This adds a welcome message with util-linux version number, information
about fdisk behaviour that doesn't write to disk after a command (unlike
gparted) and a warning about possible data loss.
The message appears just before the first command prompt.
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'fdisk/fdisksgilabel.c')
-rw-r--r-- | fdisk/fdisksgilabel.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c index 359590916..091902ab0 100644 --- a/fdisk/fdisksgilabel.c +++ b/fdisk/fdisksgilabel.c @@ -698,9 +698,7 @@ create_sgilabel(void) sec_fac = sector_size / 512; /* determine the sector factor */ fprintf(stderr, - _("Building a new SGI disklabel. Changes will remain in memory only,\n" - "until you decide to write them. After that, of course, the previous\n" - "content will be unrecoverably lost.\n\n")); + _("Building a new SGI disklabel.\n")); other_endian = (BYTE_ORDER == LITTLE_ENDIAN); |