[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fstests
Subject:    Re: [PATCH 1/2 v2] common/rc: _fs_sysfs_dname fetch fsid using btrfs tool
From:       Anand Jain <anand.jain () oracle ! com>
Date:       2023-10-30 3:29:45
Message-ID: fd14e267-1355-4c35-a529-8a34c9a9d861 () oracle ! com
[Download RAW message or body]



>> @@ -4728,7 +4728,9 @@ _fs_sysfs_dname()
>>
>>          case "$FSTYP" in
>>          btrfs)
>> -               findmnt -n -o UUID ${dev} ;;
>> +               fsid=$($BTRFS_UTIL_PROG filesystem show ${dev} | grep uuid: | \
>> +                                                       awk '{print $NF}')
> 
> Please make the variable local.

Added in v3. Thx, Anand


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic