how to chroot?

Symeon Noon fcn@mail.noon.org
Thu May 24 12:24:00 GMT 2001


Silly question: How does one successfully chroot on cygwin? I can use it
under Linux (for example), but the variations I've tried under cygwin come
back with errors:
 ~$ chroot //c/fcn/ccc
 chroot: cannot chdir to root directory: No such file or directory
(ccc contains a copy of cygwin's /bin directory.) I've tried
"/cygdrive/c/..." and other such patterns. The only chroot that works is
"chroot /", which gets me to the top of the cygwin hierarchy. My mount
table (the default) is:
 ~$ mount
 C:\cygwin\bin on /usr/bin type system (binmode)
 C:\cygwin\lib on /usr/lib type system (binmode)
 C:\cygwin on / type system (binmode)
 c: on /cygdrive/c type user (binmode,noumount)
 e: on /cygdrive/e type user (binmode,noumount)
 g: on /cygdrive/g type user (binmode,noumount)
Thanks,
 Fredrik
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /