HomeFreeBSD

Quote snapshot and mountpoint for .zfs automount

Description

Quote snapshot and mountpoint for .zfs automount

When automounting a snapshot in the .zfs/snapshot directory
make sure to quote both the dataset name and the mount point.
This ensures that if either component contains spaces, which
are allowed, they get handled correctly.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1027

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Oct 17 2012, 8:23 PM
Parents
rG658a0140f3d2: Merge branch 'zil-performance'
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGc7dfc086297b: Quote snapshot and mountpoint for .zfs automount (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Oct 17 2012, 8:26 PM