diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch')
-rw-r--r-- | sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch b/sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch deleted file mode 100644 index f598a8d..0000000 --- a/sys-apps/util-linux/files/util-linux-2.12q-more-fake-checks-v2.patch +++ /dev/null @@ -1,40 +0,0 @@ -> Running `mount -fv /mnt/pnt` incorrectly updates /etc/mtab - -This one is bogus. - -Manpage: - -===== --f Causes everything to be done except for the actual system call; - if it's not obvious, this ``fakes'' mounting the file system. This option - is useful in conjunction with the -v flag to determine what the mount - command is trying to do. It can also be used to add entries for devices that - were mounted earlier with the -n option. -===== - -Also, we need it in /etc/init.d/checkroot to regen /etc/mtab ... - - -======================================================================= -Running `mount -afvt type` incorrectly warns that 'nothing was mounted' - ---- mount/mount.c -+++ mount/mount.c -#@@ -659,7 +659,7 @@ -# if (verbose) -# print_one (&mnt); -# -#- if (!nomtab && mtab_is_writable()) { -#+ if (!fake && !nomtab && mtab_is_writable()) { -# if (flags & MS_REMOUNT) -# update_mtab (mnt.mnt_dir, &mnt); -# else { -@@ -1629,7 +1629,7 @@ - case 0: - /* mount -a */ - result = do_mount_all (types, options, test_opts); -- if (result == 0 && verbose) -+ if (result == 0 && verbose && !fake) - error(_("nothing was mounted")); - break; - |