On Fri, 16.10.15 12:24, Ian Pilcher (arequip...@gmail.com) wrote:
> On 10/16/2015 05:25 AM, Kay Sievers wrote:
> >Systemd, as the very last step at system reboot/shutdown tries to
> >stop/disassemle/unmount all active mounts/mapper/loop/... devices, but
> >that works only for simple storage setups
On 10/16/2015 05:25 AM, Kay Sievers wrote:
Systemd, as the very last step at system reboot/shutdown tries to
stop/disassemle/unmount all active mounts/mapper/loop/... devices, but
that works only for simple storage setups and has no hooks for other
tools.
This is the DM_DEV_REMOVE ioctl call in
On Fri, Oct 16, 2015 at 1:55 AM, Ian Pilcher wrote:
> Does systemd provide any sort of "hook" mechanism to call a script
> program when a block device is unmounted (or otherwise no longer being
> used) on shutdown?
>
> I'm toying with the idea of creating an alternative way of managing
> dm-cache
Does systemd provide any sort of "hook" mechanism to call a script
program when a block device is unmounted (or otherwise no longer being
used) on shutdown?
I'm toying with the idea of creating an alternative way of managing
dm-cache devices -- something that will operate a bit more like bcache,