Unified Diff
C
code posted
created at 01 Apr 14:55
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
root@localhost:/etc/init.d# diff -U5 umountfs.orig umountfs --- umountfs.orig 2010-04-01 12:41:59.000000000 +0200 +++ umountfs 2010-04-01 12:47:58.000000000 +0200 @@ -66,11 +66,11 @@ TMPFS_MTPTS="" while read DEV MTPT FSTYPE REST do echo "$PROTECTED_MOUNTS" | grep -qs "^$DEV $MTPT " && continue case "$MTPT" in - /|/proc|/dev|/.dev|/dev/pts|/dev/shm|/proc/*|/sys|/var/run|/var/lock) + /|/proc|/dev|/.dev|/dev/pts|/dev/shm|/proc/*|/sys|/var/run|/var/lock|/var) continue ;; esac case "$FSTYPE" in proc|procfs|linprocfs|devfs|sysfs|usbfs|usbdevfs|devpts|securityfs) |
614 Bytes in 4 ms with coderay