It is a simple trick:

 mkdir /tmp/r
 mount --bind / /tmp/r
 cd /tmp/r/dev
 <populate with what is needed ... maybe just /dev/null>
 umount /tmp/r

The "mount --bind" remounts a directory so it appears twice, but
without any submounts in the target directory.  So it was exactly what
the doctor ordered.
--
Barak A. Pearlmutter <[EMAIL PROTECTED]>
 Hamilton Institute, NUI Maynooth, Co. Kildare, Ireland
 http://www-bcl.cs.may.ie/~barak/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to