You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In linux, it's totally possible to have a mount point with tabs and newlines in it, although highly unlikely.
While the df and mount command do work with these as inputs, the output has them replaced with ? instead, making the commands mount_point and mount_type not work as expected.
The only solution, as I see it, is to parse /proc/mounts and use that output instead, which is in octal (at least on fedora 33)
The text was updated successfully, but these errors were encountered:
In linux, it's totally possible to have a mount point with tabs and newlines in it, although highly unlikely.
While the
df
andmount
command do work with these as inputs, the output has them replaced with?
instead, making the commandsmount_point
andmount_type
not work as expected.The only solution, as I see it, is to parse
/proc/mounts
and use that output instead, which is in octal (at least on fedora 33)The text was updated successfully, but these errors were encountered: