Mail Archives: cygwin/2010/04/01/15:19:40
--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hello,
I'm trying to build a chrooted env in a windows 7 box:
CYGWIN_NT-6.1 win7 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin
Before presuming anything, I did my homework, RTFM (found nothing,=20
though), STFW and STFCPMLA. Got some recent hits:
[1] http://sourceware.org/ml/cygwin/2009-10/msg00476.html
[2] http://sourceware.org/ml/cygwin/2009-10/msg00198.html
With this in mind, my questions are:
-has this situation changed/evolved in/with 1.7.2 ?
-what is the basic infraestructure needed for a sane env?
-what about mount points?
i.e, I have this:
normal_user AT box ~
$ mount
E:/bin on /usr/bin type ntfs (binary,auto)
E:/lib on /usr/lib type ntfs (binary,auto)
E: on / type ntfs (binary,auto)
H: on /chroot type ntfs (binary)
I: on /usr/local type ntfs (binary)
C: on /mnt/c type ntfs (binary,posix=3D0,user,noumount,auto)
D: on /mnt/d type ntfs (binary,posix=3D0,user,noumount,auto)
F: on /mnt/f type ntfs (binary,posix=3D0,user,noumount,auto)
and I want to create a chrooted env under /chroot. Should I create a
/chroot/etc/fstab (would it be ever read) in a way that chrooted_user=20
gets something like:
chrooted_user AT box ~
$ mount
H:/chroot / type ntfs (binary,auto)
H:/chroot/bin on /usr/bin type ntfs (binary,auto)
H:/chroot/lib on /usr/lib type ntfs (binary,auto)
...or a better approach would be creating a /etc/fstab.d/chrooted_user
with those definitions?
-is there a canonical way to do this?
(and where is the manual :-))
Any feedback will be appreciated.
Regards.
--=20
Huella de clave =3D 943C D77F 0CB0 02FE 166E E06F D13A A2E1 98A5 C953
--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAku0/8MACgkQ0Tqi4ZilyVNgjQCfR02zArfOAH07UKukon8mYdiz
emYAnRwo8WKdeWjdiZeMs84i1QG+H8JY
=j7HF
-----END PGP SIGNATURE-----
--FL5UXtIhxfXey3p5--
- Raw text -