[pve-devel] [PATCH 1/2] add is mounted check befor try to unmount disk.

Wolfgang Link w.link at proxmox.com
Wed Sep 2 19:41:58 CEST 2015


> Dietmar Maurer <dietmar at proxmox.com> hat am 2. September 2015 um 18:40
> geschrieben:
> 
> 
> I would like to avoid running external programs for that.
> Please can you try to use somethgink like:
> 
> PVE::Storage::NFSPlugin::read_proc_mounts()
> 
You mean a case differentiation  for every storage type?
> Maybe we can move that function to PVE::ProcFSTools, and the is_mounted()
> helper to PVE::Tools?




More information about the pve-devel mailing list