Reviewed-by: Michael Tremer > On 27 Mar 2024, at 19:39, Stefan Schantl wrote: > > Signed-off-by: Stefan Schantl > --- > src/initscripts/system/functions | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/src/initscripts/system/functions b/src/initscripts/system/functions > index 5a26aef45..b610143ab 100644 > --- a/src/initscripts/system/functions > +++ b/src/initscripts/system/functions > @@ -883,3 +883,11 @@ running_on_oci() { > # We are not running on OCI > return 1 > } > + > +volume_fs_type() { > + if [ ! -d "${1}" ]; then > + return > + fi > + > + stat -f --format="%T" ${1} > +} > -- > 2.39.2 >