Re: [PATCH 1/1] sfdisk: returns non-zero on failed BLKRRPART ioctl

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

 



On Tue, May 03, 2011 at 03:47:38PM +0200, Andrea Galbusera wrote:
> Make sfdisk(8) return non-zero value on failed BLKRRPART ioctl().
> This will happen for either partition table re-reads after partition
> changes or on explicit use of -R switch.
> 
> The function reread_disk_partition() was changed from 'void' to 'int'
> and now returns a result to let the calling functions decide to exit(1).
> 
> Signed-off-by: Andrea Galbusera <gizero@xxxxxxxxx>
> ---
>  fdisk/sfdisk.c |   25 +++++++++++++++++--------
>  1 files changed, 17 insertions(+), 8 deletions(-)

 Applied, thanks.

    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