<div dir="ltr">HI,<div><br></div><div>many thanks for really clear explanation! Root was obvious but chroot not [1]</div><div>Thanks.</div><div><br></div><div>Ludka</div><div><br></div><div><br></div><div><br></div><div>[1] <a href="http://gislab-documentation.readthedocs.org/en/latest/_images/backup.svg">http://gislab-documentation.readthedocs.org/en/latest/_images/backup.svg</a> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-21 23:55 GMT+02:00 Matej Pastor <span dir="ltr"><<a href="mailto:matej.pastor@initipi.sk" target="_blank">matej.pastor@initipi.sk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Dňa Wed, 20 Apr 2016 15:32:12 +0200<br>
Ludmila Furtkevicova <<a href="mailto:ludmilafurtkevicov@gmail.com">ludmilafurtkevicov@gmail.com</a>> napísal/a:<br>
<div><div class="h5"><br>
> Hi,<br>
><br>
> Is there any difference when I say `client's root` or `chroot`? I suppose<br>
> that `client's chroot`<br>
> is not the best expression - many times used in GIS.lab wiki.<br>
> Or am I wrong?<br>
> What should I use to be correct in GIS.lab materials? E.g. when talking<br>
> about image and client's root backup ..<br>
><br>
> Thanks ..<br>
><br>
> Ludmila<br>
<br>
</div></div>"client's root" is concrete directory (on gis.lab server) in which gis.lab client<br>
is installed (with a special tool named 'debootstrap'). it has almost same filesystem<br>
hierarchy as a standard xubuntu desktop installation with our gis.lab integration<br>
changes (and this is what you see in running gis.lab client). from this directory<br>
is then created gis.lab client image. this image is mounted (over network)<br>
as a "client's root partition" during boot process.<br>
<br>
chroot (from wikipedia :)):<br>
<br>
"A chroot on Unix operating systems is an operation that changes the apparent root directory<br>
for the current running process and its children. A program that is run in such a modified environment<br>
cannot name (and therefore normally cannot access) files outside the designated directory tree."<br>
<br>
if you want to e.g. install new package in client, you must do it in "client's chroot".<br>
'chroot' is a tool which enable it:<br>
<br>
    chroot /path/to/client/root/directory apt-get install firefox<br>
<br>
this command install firefox to client's root within chroot :)<br>
<br>
very simple comparision: 'root' is a directory and 'chroot' is an operation.<br>
<br>
- --<br>
Matej Pastor<br>
email: <a href="mailto:matej.pastor@initipi.sk">matej.pastor@initipi.sk</a><br>
gpg: <a href="http://www.initipi.sk/gpg/matej.pastor_initipi.sk.gpg" rel="noreferrer" target="_blank">http://www.initipi.sk/gpg/matej.pastor_initipi.sk.gpg</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.12 (GNU/Linux)<br>
<br>
iEYEARECAAYFAlcZTGcACgkQMDUudoEMuiAlDACbBAANt4Wd/SowjZx7wp+PyctL<br>
iM0AniI3vYDAgOHNPlkscwui4ypO8dgE<br>
=kfKn<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
GIS.lab mailing list<br>
<a href="mailto:GIS.lab@lists.osgeo.org">GIS.lab@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gis.lab" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/gis.lab</a><br>
</blockquote></div><br></div>