Actions
Bug #8254
openZFS allows datasets named .. or .
Status:
New
Priority:
Low
Assignee:
-
Category:
zfs - Zettabyte File System
Start date:
2017-05-20
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
ZFS allows datasets to be named either '..' or '.'
These names when the default mountpoint is used will make ZFS very unhappy.
In the process of doing zfs create tank/.system if your cat jumps up on your keyboard while you have zfs create tank/. typed out and hits enter ZFS will helpfully create a dataset named tank/. for you and mount it to tank/. or even worse if you are mounting root off tank /.
Hilarity will then ensue...how much hilarity depends on whether you mount root off tank or not.
Updated by Graham Perrin 11 months ago
Fixed in OpenZFS (zfs-2.0.0-rc1): https://github.com/openzfs/zfs/pull/8842 (2019-06-13).
Related to allowance of .
in FreeBSD stable/12: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268830
Actions