]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
filesystem-functions.pl: Add is_btrfs() function
authorStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 May 2024 11:59:02 +0000 (13:59 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Thu, 2 May 2024 11:59:02 +0000 (13:59 +0200)
commit6a08921e2118eb63ba4e70a8ccee6cab0056b047
tree8de2a6427ab85e3fc123db0b510d157bfbeb8c3d
parentd6e0fc546f6286eb3c86ffa6cf796bb2bdbf4bf7
filesystem-functions.pl: Add is_btrfs() function

This function can be used to check if a given mountpoint contains a
BTRFS filesystem.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/filesystem-functions.pl