Re: [PATCH 04/10] libblkid: add blkid_return_known_pttypes()

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

 



On 24 April 2017 at 11:00, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Sun, Apr 23, 2017 at 09:58:15PM +0100, Sami Kerola wrote:
>> This new function will return list partition types names libblkid is aware
>> of.  First use of this information will be in partx(8) to make bash
>> completion to work without a magic list.
>
>  See blkid_superblocks_get_name(), I think we can add the same
>  function for partitions, blkid_partitions_get_name().

Yep, that makes code nicer. Done in commits below.

https://github.com/kerolasa/lelux-utiliteetit/commit/6baae2371c1fd0edb50375a782bd866b7ef2105a
https://github.com/kerolasa/lelux-utiliteetit/commit/7c2294a8357d53fc09309447de3a34b12107947f

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
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