Try to realpath(3) the 'special' argument to mount(8), falling over
to the previous behaviour if it fails.
This is something mount_nullfs(8) does, but to me it looks like a good
idea in general.
Differential D26955
Try to canonicalize the first argument to mount(8) trasz on Oct 26 2020, 11:43 AM. Authored by Tags None Referenced Files
Details
Try to realpath(3) the 'special' argument to mount(8), falling over This is something mount_nullfs(8) does, but to me it looks like a good
Diff Detail
Event TimelineComment Actions This is a non-starter imo. For example tmpfs does not do anything with dev and you are expected to pass "tmpfs" as the argument. However, at some point the argument may become meaningful. But then it will be susceptible to getting clobbered if the passed value happens to match a file in cwd. Comment Actions All pseudo fs do not do anything with from/source. Might be, add a flag to mount(8) to request resolution of source. |