From: Michael Tokarev Subject: Re: [PATCH 2/2] Unionfs: clarify usage.txt mount options Date: Fri, 14 Dec 2007 19:32:46 +0300 Message-ID: <4762B02E.7030102@msgid.tls.msk.ru> References: <11976472813872-git-send-email-ezk@cs.sunysb.edu> <11976472822359-git-send-email-ezk@cs.sunysb.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, hch@infradead.org, Jim Kissel To: Erez Zadok Return-path: Received: from hobbit.corpit.ru ([81.13.94.6]:21890 "EHLO hobbit.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752885AbXLNQct (ORCPT ); Fri, 14 Dec 2007 11:32:49 -0500 In-Reply-To: <11976472822359-git-send-email-ezk@cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Erez Zadok wrote: > --- a/Documentation/filesystems/unionfs/usage.txt > +++ b/Documentation/filesystems/unionfs/usage.txt [] > +OPTIONS can be any legal combination one of: ^^^^^ A small typo. > + > +- ro # mount file system read-only > +- rw # mount file system read-write > +- remount # remount the file system (see Branch Management below) > +- incgen # increment generation no. (see Cache Consistency below) > + > +BRANCH-OPTIONS can be either (1) a list of branches given to the "dirs=" > +option, or (2) a list of individual branch manipulation commands, described > +in the "Branch Management" section below. Should this (2) choice mention remount operation somehow? It seems the (2) case is about remount only. > +The "dirs=" option takes a colon-delimited list of directories to compose > +the union, with an optional branch mode for each of those directories. > +Directories that come earlier (specified first, on the left) in the list > +have a higher precedence than those which come later. Additionally, By the way, what is "precedence" here? I mean, will unionfs always write to the first rw branch, or is it possible to write to some deeper branch too? And finally, can a first (and all of them as well) branch be ro? Thanks. /mjt