Re: [PATCH] libmount: handle btrfs default subvolume mount

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

 



On Tue, Feb 02, 2016 at 04:04:16PM +0100, Stanislav Brabec wrote:
> Karel Zak wrote:
> >On Mon, Feb 01, 2016 at 04:38:17PM +0100, Stanislav Brabec wrote:
> 
> >>By the way, I am just fixing next btrfs issue. Now it is in blkid. And it
> >>seems, that I will need some changes in the code: move the btrfs default
> >>subvol function into the public API, and change it to return the subvolid
> >>string.
> >
> >Why we need the function in public API?
> 
> Because lsblk does not have access to libmount private functions.

You have talked about blkid, I thought you want to add SUBVOL= to
libblkid.

For what purpose do you need it in lsblk? When the same device is
mounded on more places?

Anyway, in libmount we can extend mnt_fs_* API and add some additional
functions -- for example add mnt_fs_get_default_root().

I definitely don't want btrfs specific functions. The API should be
generic.

    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