diff options
| author | Paweł Stołowski <stolowski@gmail.com> | 2020-05-27 11:24:42 +0200 |
|---|---|---|
| committer | Paweł Stołowski <stolowski@gmail.com> | 2020-05-27 11:24:42 +0200 |
| commit | 0c1a52ccc639599b36e388f0c13ccffefcc61047 (patch) | |
| tree | 29db1c78c4313f7c97d0a6e7c1d6a4b7b6617176 | |
| parent | 49838ca87293629c1c6a75262d891a3507a09363 (diff) | |
Add docstring to actualFsTypeAndMountOptions function.preseed-squashfs-fix
| -rw-r--r-- | systemd/systemd.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/systemd.go b/systemd/systemd.go index 14ff63117f..38d1b6765b 100644 --- a/systemd/systemd.go +++ b/systemd/systemd.go @@ -770,6 +770,9 @@ func fsMountOptions(fstype string) []string { return options } +// actualFsTypeAndMountOptions returns filesystem type and options to actually +// mount the given fstype at runtime, i.e. it determines if fuse should be used +// for squashfs. func actualFsTypeAndMountOptions(fstype string) (actualFsType string, options []string) { options = fsMountOptions(fstype) actualFsType = fstype |
