Dr. Werner Fink 2018-05-17 10:43:20 +00:00 committed by Git OBS Bridge
parent 2b2b9d7d5a
commit a299387d88

View File

@ -1,4 +1,4 @@
From a1d3fc4d5040dcc3e107b3b8dcf9756dbed38f45 Mon Sep 17 00:00:00 2001
From d7487838d0c79bd007e63e9ba9f7933cec40e3c9 Mon Sep 17 00:00:00 2001
From: Werner Fink <werner@suse.de>
Date: Thu, 29 Jun 2017 15:18:28 +0200
Subject: [PATCH] Use mountinfo to be able to use the mount identity
@ -64,7 +64,7 @@ index 176a2fc..d8d3366 100644
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
diff --git src/fuser.c src/fuser.c
index 31ef30c..81f1064 100644
index 31ef30c..a204f08 100644
--- src/fuser.c
+++ src/fuser.c
@@ -32,6 +32,10 @@
@ -625,7 +625,7 @@ index 31ef30c..81f1064 100644
- ("Cannot allocate memory for matched proc: %s\n"),
- strerror(errno));
- exit(1);
+ (mnt, "%i %i %u:%u %*s %s %*[^\-] - %s %*[^\n]",
+ (mnt, "%i %i %u:%u %*s %s %*[^-] - %s %*[^\n]",
+ &mid, &parid, &maj, &min, &mpoint[0], &type[0]) == 6)
+ (void)add_mntinfo(mpoint, type, mid, parid, makedev(maj, min));
+#else