mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 08:55:00 +03:00
When run with a root '/' cwd the mount.zfs helper would strip not only the '/' but also the next character from the dataset name. For example, '/tank' was changed to 'ank' instead of just 'tank'. Originally, this was done for the '/tmp' cwd case where we needed to strip the '/' following the cwd. For example '/tmp/tank' needed to remove the '/tmp' cwd plus 1 character for the '/'. This change fixes the problem by checking the cwd and if it ends in a '/' it does not strip and extra character. Otherwise it will strip the next character. I believe this should only ever be true for the root directory. Closes #148 |
||
|---|---|---|
| .. | ||
| mount_zfs | ||
| zdb | ||
| zfs | ||
| zinject | ||
| zpios | ||
| zpool | ||
| zpool_id | ||
| zpool_layout | ||
| ztest | ||
| zvol_id | ||
| Makefile.am | ||
| Makefile.in | ||