filesystem.statfs incorrectly identifies filesystem types
Description
Problem/Justification
None
Impact
None
relates to
Activity
Show:
Bug Clerk November 29, 2021 at 6:36 PM
22.02-RC.2 PR: https://github.com/truenas/middleware/pull/7917
Andrew Walker November 22, 2021 at 1:15 PM
Probably need to retrieve from /proc/self/mountinfo
Complete
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Caleb
CalebReporter
Andrew Walker
Andrew WalkerLabels
Time remaining
0m
Components
Fix versions
Priority
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Katalon Platform
Linked Test Cases, Katalon Defect Results, Katalon Studio Test Results
Created November 22, 2021 at 1:09 PM
Updated July 6, 2022 at 9:02 PM
Resolved November 29, 2021 at 8:05 PM
root@truenas/mnt/dozer/middleware# mount -t tmpfs -o size=10M tmpfs /mnt/dozer/tmpfs
root@truenas/mnt/dozer/middleware# midclt call filesystem.statfs /mnt/dozer/tmpfs | jq .fstype
"zfs"
root@truenas/mnt/dozer/middleware# df -T /mnt/dozer/tmpfs
Filesystem Type 1K-blocks Used Available Use% Mounted on
tmpfs tmpfs 10240 0 10240 0% /mnt/dozer/tmpfs