On Tue, Apr 02, 2013 at 02:12:33AM +0200, email@example.com wrote:
> I do not know how to do it for a file... I have created this "special"
> directory. let me knkow if you found a cleaner solution...
bind mounts work for files the same as for directories,
so assuming that your kernel and util-vserver are moderately
recent, there shouldn't be any problem to use a file instead
of your 'special' directory
> Le 01/04/2013 22:35, Roderick A. Anderson a ťcrit†:
>> Thanks. I'd thought of this but only need one file not a directory.
>> I guess I could create a special directory and put the file there.
>> Again thanks,
>> On 04/01/2013 12:06 PM, firstname.lastname@example.org wrote:
>>> you can try to mount the directory in fstab using bind (but you will
>>> need to restart the guest)
>>> I do this for mysql socket and it is working fine.
>>> Le 29/03/2013 00:43, Roderick A. Anderson a ťcrit :
>>>> I have a need (desire actually) to link a file in the host system
>>>> into selected guests.
>>>> The file will not be static. Updated about every minute.
>>>> Currently I have the script that generates the file copy it to the
>>>> guests but it seems such a brute-force method. The guests only need
>>>> to read the file.
>>>> I tried a soft link from the host but got errors. (I tried it last
>>>> week or before and much has happened since so I can't remember the
>>>> exact error.)
>>>> Any ideas, pointers, clue-sticks?
Received on Wed Apr 3 01:14:46 2013