gfs2-utils/tests/atlocal
Petr Šabata 7dc3f909e5 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/gfs2-utils#01606e25fc1dc289800b53ef29011db23f0b72b9
2020-10-15 00:53:18 +02:00

9 lines
125 B
Plaintext

GFS_TGT="../../testvol"
GFS_TGT_SZ=10
GFS_MKFS="mkfs.gfs2 -O -D"
gfs_max_blocks()
{
printf $((GFS_TGT_SZ*1073741824/$1))
}