util-linux/util-linux-2.13-mount-fake.patch
kzak 7c423cb1a8 - fix #150493 - hwclock --systohc sets clock 0.5 seconds slow
- fix #220873 - starting RPC idmapd: Error: RPC MTAB does not exist. (added
    rpc_pipefs to util-linux-2.13-umount-sysfs.patch)
- fix #227903 - mount -f does not work with NFS-mounted
2007-04-06 10:57:45 +00:00

12 lines
416 B
Diff

--- util-linux-2.13-pre7/mount/mount.c.kzak 2007-02-09 12:54:20.000000000 +0100
+++ util-linux-2.13-pre7/mount/mount.c 2007-02-09 12:54:14.000000000 +0100
@@ -602,6 +602,8 @@
mountargs[i++] = node;
if (sloppy && (strcmp(type, "nfs")==0 || strcmp(type, "nfs4")==0))
mountargs[i++] = "-s";
+ if (fake)
+ mountargs[i++] = "-f";
if (nomtab)
mountargs[i++] = "-n";
if (verbose)