]> git.proxmox.com Git - pve-storage.git/commit
dir: allow a path as is_mountpoint value
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 28 Jul 2017 07:52:43 +0000 (09:52 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 6 Sep 2017 07:26:20 +0000 (09:26 +0200)
commitde8eff4d317774ce69f238858bdf3843c64c3e15
treeb5b2763ee70dd9464719e52b3216cb761c967c55
parent5a2eba91dcaec0ba68052579d5e0e4ebcb499ff5
dir: allow a path as is_mountpoint value

This turns is_mountpoint more into export(5)'s `mountpoint`
property.
Given the directory storage with the properties:

    path /a/b/c
    is_mountpoint $value

$value = yes
    Same as before, /a/b/c must be mounted.
$value = no (or not set)
    Same as before, no effect.
$value = /a/b
    New: /a/b must be mounted (as opposed to /a/b/c)
PVE/Storage/DirPlugin.pm