Closed klaernie closed 8 years ago
no big deal - was trying to figure out a possible solution for #8 but noticed this while at it. Comparing this to systemd/systemd#3140 I have to agree with @poettering : there has to be a better way than hardcoding this and maintaining it everything a new FS pops up.
Yeah, I wish Linux had something like the BSDs which makes it for a much simpler and reliable implementation:
int
is_remote(const struct fsmntinfo *fs)
{
if (fs->flags & MNT_LOCAL)
return 0;
return 1;
}
Hi,
Thanks for your contribution!