[systemd-devel] Shutdown root fs on loop device

Alexandre Detiste alexandre.detiste at gmail.com
Fri Apr 22 11:15:04 UTC 2016


 Or use a wrapper.

#include <unistd.h>
#include <stdio.h>
int main(int argc, char *argv[]) {
        argv[0] = "@ntfs-3g";
        execv("/usr/bin/ntfs-3g", argv);
        perror("ntfs-3g-wrapper");
        return 1;


2016-04-22 13:02 GMT+02:00 Tomasz Torcz <tomek at pipebreaker.pl>:
> On Fri, Apr 22, 2016 at 11:49:09AM +0200, Michael Lipp wrote:
>
> You have to patch ntfs-3g to marks itself as non-killable
> root storage provider (with '@'):
> https://www.freedesktop.org/wiki/Software/systemd/RootStorageDaemons/


More information about the systemd-devel mailing list