Re: [PATCH 4/4] partx: don't treat empty partition table as error

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

 



On Mon, Dec 05, 2011 at 03:02:52PM -0500, Phillip Susi wrote:
> -	if (!blkid_partlist_numof_partitions(ls)) {
> -		warnx(_("%s: %s partition table does not contains "
> -			"usable partitions"), device,
> -			blkid_parttable_get_type(tab));
> -		return NULL;
> -	}

 I have replaced the warnign and return NULL with message printed in
 verbose mode only.

 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