[Git-commits] [grml/grml-scripts] a753f2: grml-chroot: iff /proc/cmdline exists don't try to...
Michael Prokop
mika at grml.org
Fri Dec 14 10:11:00 CET 2018
Branch: refs/heads/master
Home: https://github.com/grml/grml-scripts
Commit: a753f245b085d1f2e213e0b4d66c8041a3a0d4b7
https://github.com/grml/grml-scripts/commit/a753f245b085d1f2e213e0b4d66c8041a3a0d4b7
Author: Michael Prokop <mika at grml.org>
Date: 2018-12-14 (Fri, 14 Dec 2018)
Changed paths:
M usr_sbin/grml-chroot
Log Message:
-----------
grml-chroot: iff /proc/cmdline exists don't try to mount again
There's no point in mounting /proc, /sys, /dev + /dev/pts
once again if it's mounted already. The easiest and cheapest
way to detect this is looking for file /proc/cmdline. If
/proc/cmdline exists assume that the chroot has the filesystems
mounted already.
Closes: https://github.com/grml/grml-scripts/issues/4
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the Git-commits
mailing list