From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Reiser Subject: Re: A file-based interface for mount Date: Wed, 09 Jul 2003 17:18:19 +0400 Message-ID: <3F0C161B.6030707@namesys.com> References: <3F078EF1.6090908@mrs.umn.edu> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <3F078EF1.6090908@mrs.umn.edu> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Grant Miner Cc: reiserfs-list@namesys.com Grant Miner wrote: > Would it make sense to use a file interface in the file system to > control mounting? Have a file that exists per-directory named ..mount > (or something). Then, to mount /dev/sda on /home, echo "/dev/sda rw" > > /home/..mount > To unmount the file system, remove the line from the ..mounts file. > You could also do plan 9 layered mounts (with priorities) by putting 2 > or more lines in that file. The advantage is you could set access > controls on each file to easily let non-root users perform mount at > certain directories, and you don't need the mount and unmount commands > anymore. > > What do you think? > > > Cool. Probably not hard to write. Can I get you to write it for Reiser4? If so, we can discuss details (I will be delayed for a week in answering though due to traveling.) -- Hans