*** Reply to note of Mon, 25 Jul 2005 13:17:06 -0500 (EST/CDT)
*** by [email protected]

The Linux Journal had an article a while back:

  http://www.linuxjournal.com/article/7714

For example, if you hava a readonly directory called /ro/etc, that has
two files, inittab and fstab:

    /ro/etc/
             inittab
             fstab

And you have a read/write directory called /rw/etc, that has one file
called hosts:

    /rw/etc/
            hosts

Then, when you union mount them to mount point /etc:

    mount mount -t unionfs -o dirs=/rw/etc/,/ro/etc=ro none /etc

A "ls /etc" displays the union of the two directories, three files:

    /etc/inittab
    /etc/fstab
    /etc/hosts

If you change /etc/inittab, the modifed copy is writen to /rw/etc:

    /rw/etc/
            hosts
            inittab


Sal

James Melin <[EMAIL PROTECTED]> writes:
>What, pray tell, is union mount?
>
>
>
>
>             Alan Altmark
>             <[EMAIL PROTECTED]
>             ibm.com>                                                   To
>             Sent by: Linux on         [email protected]
>             390 Port                                                   cc
>             <[EMAIL PROTECTED]
>             IST.EDU>                                              Subject
>                                       Re: SLES9 and VM Shared Kernel
>
>             07/25/2005 01:06
>             PM
>
>
>             Please respond to
>             Linux on 390 Port
>             <[EMAIL PROTECTED]
>                 IST.EDU>
>
>
>
>
>
>
>On Monday, 07/25/2005 at 07:00 ZE2, Rob van der Heij <[EMAIL PROTECTED]>
>wrote:
>> And you're right, the potential savings with sharing binaries in DCSS
>> are larger (and probably harder to manage from a software management
>> point of view). The kernel in NSS and binaries in DCSS are independent
>> issues that must be implemented separately.
>
>When union mount arrives, managing shared binaries should, hopefully, get
>easier.  Then you don't have to know in advance which files are r/o and
>which are r/w.
>
>Alan Altmark
>z/VM Development
>IBM Endicott
>
>----------------------------------------------------------------------
>For LINUX-390 subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
>visit
>http://www.marist.edu/htbin/wlvindex?LINUX-390
>
>----------------------------------------------------------------------
>For LINUX-390 subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
>http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to