Hi, all I have a question after looking fstab-generator.c. I hope someone can help me.
In add_mount(), if nofail=true, "Before=$post" won't be added to xxx.mount: [..] if (post && !noauto && !nofail && !automount) fprintf(f, "Before=%s\n", post); why doing this? If nofail=true, that means $post "Wants" this xxx.mount. And no matter xxx.mount fails or not, $post will be reached (if post is a target unit). I think it's more reasonable to try do xxx.mount before $post. So I'd like to keep "Before=$post" in the nofail=true case. I coud post a patch, but I think it's best to consult to you guys first in case I'm missing something. Thanks WANG Chao _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel