On Tue, Apr 02, 2013 at 02:12:33AM +0200, moi@nonooo.eu 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 best, Herbert > 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, >> Rod >> -- >> On 04/01/2013 12:06 PM, moi@nonooo.eu 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. >>> arnaud >>> 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? >>>> TIA, >>>> Rod >>>> --