Displaying 1 result from an estimated 1 matches for "e2f_opt_readonly".
2001 Sep 05
3
[e2fsprogs-1.24] "fsck -A -a" fails on reboot
...y not correct; so we won't issue a warning based on
+         * it.
+         */
+        fd = open(MOUNTED, O_RDWR);
+        if (fd < 0) {
+                if (errno == EROFS)
+                        return;
+        } else
+                close(fd);
+#endif
+
 	if (ctx->options & E2F_OPT_READONLY) {
 		printf(_("Warning!  %s is mounted.\n"), ctx->filesystem_name);
 		return;
-- 
Wenzhuo