tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Breaking out of the emulation dir
On Mon, May 21, 2012 at 03:44:51PM +0200, Edgar Fu? wrote:
> What's the suggested method for breaking out of the emulation directory?
> I want <EMULDIR>/opt/tivoli/tsm/client/ba/bin/dsm.opt to be a symlink to
> <no-emulation>/usr/pkg/etc/tsm/dsm.opt.
> I can achieve this with a considerable amount of ../, but that amount depends
> on the value of <EMULDIR>, more precisely, it's expanded value, which happens
> to be /usr/pkg/emul/linux32 in the case in question.
> I was thinking about a /emul/none -> / symlink.
Try "/../usr/pkg/etc/tsm/dsm.opt", the /../ at the start makes it special.
> I'm not sure how the behaviour of the emulation sort-of-chroot is defined
> to be if it, for example, looks up /usr/local/foo/bar and e.g. a "real"
> /usr/local (or /usr/local/foo) exists, but /usr/local/foo
> (or /usr/local/foo/bar) doesn't.
> Is this documented anywhere? Has it change since 4.0?
The compat_linux(8) man page should have some explanation of how this works.
I don't know if it's changed recently.
eric
Home |
Main Index |
Thread Index |
Old Index