[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: fsprotect (try #2)

2009/4/21 Stefanos Harhalakis <v13@v13.gr>:

> fsprotect needs a directory under the root filesystem to preexist. Most
> probably it won't be used by normal users, so this won't be common. In IRC it
> was mentioned that it could should use /lib/fsprotect, but this directory is
> already used to store a helper script:
> -rwxr-xr-x 1 root root 1786 2009-03-22 17:32 /lib/fsprotect/fsprotect-protect
> and perhaps (in the future) hold other helper scripts too.

What about using /lib/fsprotect/mount/ (or similar) instead?

> The /fsprotect/system and /fsprotect/tmp directories are required to pre-exist
> at the time initramfs mounts the root filesystem.

Could they be created from a script in the initramfs?



Reply to: