From: Fabiano Fidencio
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
- detach all loopback devices
TODO:
- umount dms
Mountpoints are being read from /proc/self
From: Fabiano Fidencio
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
- detach all loopback devices
TODO:
- umount dms
Mountpoints are being read from /proc/self
From: Fabiano Fidencio
---
README |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/README b/README
index 430d091..12dc9fe 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ AUTHOR:
REQUIREMENTS:
Linux kernel >= 2.6.30 (with autofs4, devtmpfs, cgro
From: Fabiano Fidencio
This functions are working as follows:
- Send a SIGTERM to all processes that may be finished
- Send a SIGKILL to all processes that still live and may be finished
- Try to unmount all mount points
- Try to remount read-only all mount points that can'
From: Fabiano Fidencio
As we have streq to repesent (strcmp(a, b) == 0),I'm adding
strneq to represent (strncmp(a, b, n) == 0), that will be used
in umount.c (at least).
---
src/util.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/util.h b/src/util.h
index f2
From: Fabiano Fidencio
---
README |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/README b/README
index 430d091..12dc9fe 100644
--- a/README
+++ b/README
@@ -28,7 +28,7 @@ AUTHOR:
REQUIREMENTS:
Linux kernel >= 2.6.30 (with autofs4, devtmpfs, cgro
From: Fabiano Fidencio
This functions are working as follows:
- Send a SIGTERM to all processes that may be finished
- Send a SIGKILL to all processes that still live and may be finished
- Try to unmount all mount points
- Try to remount read-only all mount points that can'
From: Fabiano Fidencio
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
- detach all loopback devices
TODO:
- umount dms
Mountpoints are being read from /proc/self
From: Fabiano Fidencio
As we have streq to repesent (strcmp(a, b) == 0),I'm adding
strneq to represent (strncmp(a, b, n) == 0), that will be used
in umount.c (at least).
---
src/util.h |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/util.h b/src/util.h
index f2
From: Fabiano Fidencio
This functions will:
- umount all mount points that aren't API
- remount read-only all mount points that can't be umounted
- umount all swap devices.
TODO:
- umount dms
- umount loopbacks
Mountpoints are being read from /proc/self/mountinfo.
From: Fabiano Fidencio
This functions are working as follows:
- Send a SIGTERM to all processes that may be finished.
- Send a SIGKILL to all processes that still live and
may be finished.
- Try to mount all mount points
- Try to remount read-only all mount points that can
From: Fabiano Fidencio
---
src/mount.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 2fb5822..52743db 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -1420,7 +1420,7 @@ static int mount_load_proc_self_mountinfo(Manager *m,
bool
From: Fabiano FidĂȘncio
The current behavior of the /proc/self/mountinfo's parser
is stop the parser if the parser fail.
I'm only changing this behavior to try the next line and adding
a warning if occurs a fail.
---
src/mount.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
From: Fabiano Fidencio
This functions will unmount all filesystem that aren't api
(and those which fail will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
Makefile.am |1 +
src/umount.c |
From: Fabiano Fidencio
This functions will unmount all filesystem that aren't api
(and those which fail will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
Makefile.am |1 +
src/umount.c |
From: Fabiano FidĂȘncio
The current behavior of the /proc/self/mountinfo's parser
is stop the parser if the parser fail.
I'm only changing this behavior to try the next line and adding
a warning if occurs a fail.
---
src/mount.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
From: Fabiano Fidencio
---
src/mount.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 2fb5822..52743db 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -1420,7 +1420,7 @@ static int mount_load_proc_self_mountinfo(Manager *m,
bool
From: Fabiano Fidencio
This functions are working as follows:
- Send a SIGTERM to all process
- Send a SIGKILL to all process
- Try to umount all mount points
- Try to remount read-only all mount points that can't
be umounted
- Call shutdown
If one step
Just removing a parenthesis
---
src/list.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/list.h b/src/list.h
index 9380f36..e49d953 100644
--- a/src/list.h
+++ b/src/list.h
@@ -77,7 +77,7 @@
do {\
This functions will unmount all filesystem that aren't api
(and those which fail will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
Makefile.am |1 +
src/umount.c | 184 ++
src/umount.h | 27 ++
From: Fabiano Fidencio
Just removing a parenthesis
---
src/list.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/list.h b/src/list.h
index 9380f36..e49d953 100644
--- a/src/list.h
+++ b/src/list.h
@@ -77,7 +77,7 @@
do
From: Fabiano Fidencio
This functions will unmount all filesystem that aren't api
(and those which fail will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
Makefile.am |1 +
src/umount.c |
This functions will unmount all filesystem that aren't api
(and those which fail will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
Makefile.am |1 +
src/umount.c | 192 ++
src/umount.h | 27 ++
---
src/mount.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 5a05e2c..64c6790 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -33,7 +33,6 @@
#include "strv.h"
#include "mount-setup.h"
#include "unit-name.h"
-#include "mount.h"
#include
This function will unmount all filesystem (and those which fail
will be remounted read-only).
Filesystems are being read from /proc/self/mountinfo.
---
src/shutdownd.c | 73 +++
1 files changed, 73 insertions(+), 0 deletions(-)
diff --git a/sr
---
src/mount.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index 5a05e2c..64c6790 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -33,7 +33,6 @@
#include "strv.h"
#include "mount-setup.h"
#include "unit-name.h"
-#include "mount.h"
#include
This patch introduces socket_ipv6_is_supported() call that checks for
IPv6 availability. Code then check for it before using specific calls.
In order to be less intrusive, this patch avoids IPv6 entries being
parsed at all, this way we don't get such entries in the system and
all other code paths
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
it does not make sense (one that does not use sysv or one that is fully
systemd native).
The patch tries to be as little intrusive as possible, however in
order
This patch introduces socket_ipv6_is_supported() call that checks for
IPv6 availability. Code then check for it before using specific calls.
In order to be less intrusive, this patch avoids IPv6 entries being
parsed at all, this way we don't get such entries in the system and
all other code paths
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
it does not make sense (one that does not use sysv or one that is fully
systemd native).
The patch tries to be as little intrusive as possible, however in
order
30 matches
Mail list logo