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

Dietmar Maurer dietmar at proxmox.com
Wed Sep 2 20:43:37 CEST 2015


> > 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?

No, I talk about the code to read /proc/mounts



More information about the pve-devel mailing list