It's the lost+found dirs on various partitions I need to hide.

So I have USB disk:  sda, with partition 1, and mount it onto my media  
slice - - /files/media

sda1 has a dir :  /lost+found

Also, I have a media partition on the local "hda3.  It ALSO has a lost 
+found.  I would prefer not to show any lost+found dirs.

hda3 and sda1 both get mounted together via AUFS.

Erik

On Oct 8, 2009, at 10:00 PM, [email protected] wrote:

>
> Hello Erik,
>
> "Erik M. Cummings":
>>      For this scenario I have several partitions mounted in /tmp/aufs/ 
>> sdaX
>> (like sda1, sda2, etc), and they are unioned to /var/media   in /var/
>> media I don't want anyone to see /dirXYZ where ANY or ALL of the real
>> partitions MIGHT have /dirXYZ.
>
> Although I may not understand enough, how about over-mounting other
> empty dir on /dirXYZ?
> For instance,
> # mount -o bind /tmp /var/media/dirXYZ
>
>
> J. R. Okajima
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

Reply via email to