The forum

[ZFS] Custom hook after modification of virtual drive

Author Replies
cniry Sunday 11 February 2018 at 3:59


I have PlayOnLinux virtual drives on ZFS and I want to create snapshot before virtual drive create or modify.


In my ideal scenario I want to:

- create zfs dataset before/after creation of playonlinux virtual drive
- create snapshot when i change wine settings or install addons


Actually, I have scripts for this, but I must call my scripts manually, which is so annoying...

Is there some hooks inside PlayOnLinux, what I can use to call my scripts?


Edited by cniry

Tutul Sunday 11 February 2018 at 10:22

As far as I know, there aren't any kind of hook. But you can enventually use a script to male the snapshot + start POL

Gentils modérateur dans mes bon jours - Attention, à tenir hors de portée des enfants. En cas de contact, veuillez immédiatement rincer à l'eau clair. Peut provoquer des sueurs froide !
plata Sunday 11 February 2018 at 11:13

We have pre/post install hooks for Phoenicis PoL/PoM 5 (see They are invoked during the installation of an application. I'm not sure if you could use them for your needs.