[gobolinux-devel] Re: Comments on Unmanaged and third party modules

Jonatan Liljedahl lijon at kymatica.com
Thu Aug 10 21:59:03 GMT 2006


Jonas Karlsson wrote:
> On Thu, 10 Aug 2006 18:55:02 +0200, Jonatan Liljedahl
> <lijon at kymatica.com>  wrote:
> 
>> Jonas Karlsson wrote:
>>
>>> in short unmanaged files are installed into
>>> /Programs/Foo/x.y/Resources/Unmanaged/[System/Kernel/Modules,/Programs/HTTPD/Current/modules,etc]
>>>
>>> and are copied to their place in the filesystem at installation. The
>>> process is protected by a list specified in
>>> /Programs/Foo/x.y/Resources/UnmanagedFiles, which holds which files are
>>> allowed to be copied. With unionsandbox this work like a charm with
>>> everything written outside the sandbox moved into Unmanaged, but for
>>> fibosandbox one have to configure the application to install the files
>>> into the above mentioned path, which can cause programs try to use that
>>> file during runtime.
>>> If one knows where the files will be installed (outside of the sandbox)
>>> one can create links that points to subdirectories in Unmanaged to
>>> force  the files there, but that isn't a pretty solution.
>>
>>
>> I see. Will the files be *copied* from Resources/Unmanaged? That means
>> they will take up double size on the filesystem... How about:
>>
>> 1) packing them as Resources/Unmanaged.tar.bz2 instead?
>> 2) using an old and mysterious dark voodo thing called hard links? =)
>>
> I like the idea with hard links.
> What a wild and crazy idea!!! ;)

One possible problem is that it won't work across filesystems. This
could be detected though (ln returns 'Invalid cross-device link') and
then the file would be copied instead.

-- 
/Jonatan    -=( http://kymatica.com )=-


More information about the gobolinux-devel mailing list