Bug #8254

ZFS allows datasets named .. or .

Added by Josh Paetzel over 1 year ago. Updated over 1 year ago.

Status:NewStart date:2017-05-20
Priority:LowDue date:
Assignee:-% Done:


Category:zfs - Zettabyte File System
Target version:-
Difficulty:Bite-size Tags:needs-triage


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.


#1 Updated by Josh Paetzel over 1 year ago

Pull request will be forthcoming.

Also available in: Atom