Query: ischroot
OS: debian
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ISCHROOT(1) General Commands Manual ISCHROOT(1)NAMEischroot - detect if running in a chrootSYNOPSISischroot [--default-false] [--default-true] [--help] [--version]DESCRIPTIONischroot detects if it is currently running in a chroot. The exit status is: 0 if currently running in a chroot 1 if currently not running in a chroot 2 if the detection is not possible (On GNU/Linux this happens if the script is not run as root).OPTIONS-f, --default-false Exit with status 1 if the detection is not possible. -t, --default-true Exit with status 0 if the detection is not possible. --help Print a usage message on standard output and exit successfully. --version Print version information on standard output and exit successfully.BUGSOn GNU/Linux, chroot detection is not possible when not root. This works correctly on GNU/Hurd and GNU/kFreeBSD. Debian 30 May 2011 ISCHROOT(1)
Related Man Pages |
---|
chroot(1m) - opensolaris |
postfix-nochroot(8) - debian |
chroot(1m) - sunos |
chroot(1) - x11r4 |
chroot(1) - plan9 |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Installing Dash Shell on OS X Lion |
awk or sed - Convert 2 lines to 1 line |
Is UNIX an open source OS ? |
Weird 'find' results |