ischroot man page on ElementaryOS

Man page or keyword search:  
man Server   4994 pages
apropos Keyword Search (all sections)
Output format
ElementaryOS logo
[printable version]

ISCHROOT(1)							   ISCHROOT(1)

NAME
       ischroot - detect if running in a chroot

SYNOPSIS
       ischroot [--default-false] [--default-true] [--help] [--version]

DESCRIPTION
       ischroot	 detects if it is currently running in a chroot. The exit sta‐
       tus 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 success‐
	      fully.

BUGS
       On 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)
[top]

List of man pages available for ElementaryOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net