HomeFreeBSD

Re-apply path sanitizer, as mount(8) still mangles it

Description

Re-apply path sanitizer, as mount(8) still mangles it

Prior to util-linux 2.36.2, if a file or directory in the
current working directory was named 'dataset' then mount(8)
would prepend the current working directory to the dataset.

Eventually, we should be able to drop this workaround.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Sterling Jensen <sterlingjensen@users.noreply.github.com>
Closes #11295
Closes #11462

Details

Provenance
sterlingjensen <5555776+sterlingjensen@users.noreply.github.com>Authored on Jan 19 2021, 7:57 PM
GitHub <noreply@github.com>Committed on Jan 19 2021, 7:57 PM
Parents
rGf8c4d63a2660: ZTS: avoid piping to special devices
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG03f036cbccdd: Re-apply path sanitizer, as mount(8) still mangles it (authored by sterlingjensen <5555776+sterlingjensen@users.noreply.github.com>).Jan 19 2021, 7:57 PM