bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/7] initscripts: add -ocompatible to procfs mounts on Hurd


From: Justus Winter
Subject: [PATCH 2/7] initscripts: add -ocompatible to procfs mounts on Hurd
Date: Thu, 15 Aug 2013 09:45:29 +0200

---
 debian/changelog                                   |    1 +
 debian/src/initscripts/lib/init/mount-functions.sh |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a1da0fb..1ff8750 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -52,6 +52,7 @@ sysvinit (2.88dsf-42) UNRELEASED; urgency=low
 
   [ Justus Winter ]
   * mount-functions.sh: Hurd has a tmpfs translator now, remove workaround.
+  * mount-functions.sh: Add -ocompatible to procfs mounts on Hurd.
 
  -- Roger Leigh <rleigh@debian.org>  Sat, 04 May 2013 13:13:51 +0100
 
diff --git a/debian/src/initscripts/lib/init/mount-functions.sh 
b/debian/src/initscripts/lib/init/mount-functions.sh
index 5126780..8bb3031 100644
--- a/debian/src/initscripts/lib/init/mount-functions.sh
+++ b/debian/src/initscripts/lib/init/mount-functions.sh
@@ -176,7 +176,8 @@ domount () {
 
        if [ "$PRIFSTYPE" = proc ]; then
                case "$KERNEL" in
-                       Linux|GNU) FSTYPE=proc ;;
+                       Linux)     FSTYPE=proc ;;
+                       GNU)       FSTYPE=proc; FS_OPTS="-ocompatible" ;;
                        *FreeBSD)  FSTYPE=linprocfs ;;
                        *)         FSTYPE=procfs ;;
                esac
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]