From: Dave Schwartz <decebel@gmail.com>
To: Ram Pai <linuxram@us.ibm.com>
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: Mirror a file system on the fly
Date: Fri, 19 Aug 2005 01:57:09 +0530 [thread overview]
Message-ID: <3e32b77705081813273f887aef@mail.gmail.com> (raw)
In-Reply-To: <1124395116.5222.396.camel@localhost>
Hi Ram,
Thanks for the inputs. I was going over the man pages describing the
clone system call and its option of CLONE_NEWNS. Could understand the
description only in parts.
The man page suggests that this flag when set, the cloned child is
started in a new name space, initialized with a copy of the parent.
Now does that mean, a program like a shell when cloned with
CLONE_NEWNS set, will have a copy of file hierarchy of the underlying
parent process?
Gracias,
decebel
On 8/19/05, Ram Pai <linuxram@us.ibm.com> wrote:
> On Thu, 2005-08-18 at 12:40, Dave Schwartz wrote:
> > Hi list,
> >
> > Not too sure if this is the right forum to ask this question but since
> > my requirement is around linux filesystems, I shall take this liberty
> > to post my question.
> >
> > My requirement is to develop a kernel/user space module to add an
> > extension to the shell program environment such that this shell forks
> > a mirror look-alike filesystem of the underlying OS to the programs
> > run in that particular shell.
>
> u seem to be talking about namespaces, if I get you right.
>
> there is a flag CLONE_NEWNS to the system call 'clone' which does what
> u r talking about.
>
> RP
>
>
>
>
> >
> >
> > Was trying to look thru the FAQ and a few list archives to look for
> > ideas around my requirement. The archives were overwhelming.
> >
> >
> > Any ideas/pointers will be a great help,
> > Gracias,
> > decebel
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
next prev parent reply other threads:[~2005-08-18 20:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-18 19:40 Mirror a file system on the fly Dave Schwartz
2005-08-18 19:46 ` Dave Kleikamp
2005-08-18 19:59 ` Ram Pai
2005-08-18 20:27 ` Dave Schwartz [this message]
2005-08-18 21:03 ` Ram Pai
2005-08-19 15:27 ` Dave Schwartz
2005-08-20 2:42 ` Dave Quigley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3e32b77705081813273f887aef@mail.gmail.com \
--to=decebel@gmail.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linuxram@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).