Don't define /etc/fstab. Have an entry in your config as :
lxc.mount = test.fstab

and add an entry to test.fstab as
/lib /container-rootfspath/lib none bind 0 0

-Nirmal

2010/11/1 Pierre-François Bonnefoi <[email protected]>:
> hello,
>
> I've encountered a new problem :
> I would like to decrease the disk usage of my container by sharing some big 
> directories.
> When I try to share the /lib directory between my host under Ubuntu 10.04 
> with my guest under Ubuntu 10.0.4, I've got the problem that the file 
> /lib/init/fstab from the host is shared with the container and create some 
> panic with some not needed mounts.
> I've try to define a /etc/fstab but I can't prevent the guest system to 
> analyze the /lib/init/fstab file.
> (And I don't want to modify my host Ubuntu...).
>
> How could I perform this ?
>
> Thank you,
> regards,
> Pierre-François Bonnefoi.
>
> --
> Bonnefoi Pierre-Francois                |    E-mail : [email protected]
> Universite de Limoges, Laboratoire XLIM |       Tel : 06 28 18 03 38
> 83, rue d'Isle                          |  Mrs. Peel, we're needed...
> 87000 Limoges - FRANCE                  |                 The Avengers.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Lxc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>

------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to