Re: hurd does NOT need /hurd
Glenn Maynard <g_deb@zewt.org> writes:
> > $ settrans -ac ~/ftp /bin/sh -c "LD_LIBRARY_PATH=/lib/debug /hurd/ftpfs ftp.debian.org:/"
>
> Here, it looks as if /hurd/ftpfs is being executed with exec (by /bin/sh,
> with the special "environment" already existing around it due to settrans),
> so if settrans had added /hurd to PATH for the subshell,
Sure, but the point is that it's a dynamic environment.
The "environment" in question is the presence of an extra port,
initialized in a special way. Think perhaps of something like a file
descriptor, not in the actual file descriptor table, but which is
inherited automatically the way file descriptors are.
Then, for the translator to work, it has to be able to communicate in
a certain way on that port. "settrans -a" is prepared to do that, and
that's what's happening in Marcus's example.
Thomas
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: