Re: [PATCH] blkid: open device in nonblock mode.

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

 



On Wed, Nov 6, 2019 at 11:52 AM Karel Zak <kzak@xxxxxxxxxx> wrote:
>> On Wed, Nov 06, 2019 at 09:02:56AM +0100, Michal Suchánek wrote:
> > > First off you need to explain it to all authors of all random scripts
> > > out there.
>
> That's what I'm doing for years :)

considering lsblk / findmnt , how they are supposed to replace blkid
in the following example (taken from os-prober):

                output="$(blkid -o device -t LABEL="$1")" || return 1

i wasn't able to find lsblk alternative to match things (label, uuid,
partition, whatever) - maybe i just don't carefully read manual page
for it ? Of course it is possible to use grep in pipe after lsblk, but
anyway.

Thanks.




[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