Project

General

Profile

Bug #8254

ZFS allows datasets named .. or .

Added by Josh Paetzel over 2 years ago. Updated over 2 years ago.

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

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.

History

#1

Updated by Josh Paetzel over 2 years ago

Pull request will be forthcoming.

Also available in: Atom PDF