Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Lennart Poettering
On Fri, 22.04.16 11:49, Michael Lipp ([email protected]) wrote: > Hi, > > I have some PCs where I have to store the Linux root file system as a > large file in Window's NTFS file system. Everything boots fine. The NTFS > file system is mounted as ntfs-3g in the initial ramfs as /host, the > loopback de

Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Alexandre Detiste
Or use a wrapper. #include #include 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 : > On Fri, Apr 22, 2016 at 11:49:09AM +0200, Michael Lipp

Re: [systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Tomasz Torcz
On Fri, Apr 22, 2016 at 11:49:09AM +0200, Michael Lipp wrote: > Hi, > > I have some PCs where I have to store the Linux root file system as a > large file in Window's NTFS file system. Everything boots fine. The NTFS > file system is mounted as ntfs-3g in the initial ramfs as /host, the > loopback

[systemd-devel] Shutdown root fs on loop device

2016-04-22 Thread Michael Lipp
Hi, I have some PCs where I have to store the Linux root file system as a large file in Window's NTFS file system. Everything boots fine. The NTFS file system is mounted as ntfs-3g in the initial ramfs as /host, the loopback device is created (using /host/Linux/image.img) and used as root. Howeve