From: Ashish Khurange <ashishk@it.iitb.ac.in>
To: Al Viro <viro@ftp.linux.org.uk>
Cc: Shaya Potter <spotter@cs.columbia.edu>, linux-fsdevel@vger.kernel.org
Subject: Re: get vfsmount from dentry
Date: Mon, 13 Mar 2006 02:04:13 +0530 [thread overview]
Message-ID: <441485C5.4090900@it.iitb.ac.in> (raw)
In-Reply-To: <20060312191319.GE27946@ftp.linux.org.uk>
Al Viro wrote:
>mkdir /tmp/1
>mkdir /tmp/2
>mkdir /tmp/3
>mount --bind /tmp/2 /tmp/1
>mkdir /tmp/1/a
>umount /tmp/1
>mount --bind /tmp/3 /tmp/1
>mkdir /tmp/1/a
>umount /tmp/1
>
>What output do you want to get from the last two mkdir() calls, assuming
>you do have vfsmounts? What is this output useful for?
>
>
Well, forget about this particualr case.
My final aim is to build online file system mirroring tool for home
directories. And lets assuming that no other user have superuser
privilage to use mount or make symbolic links to directories.
I want entire pathname of changed file to replicate that change on the
corresponding file in the mirror site.
next prev parent reply other threads:[~2006-03-12 20:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-12 13:44 get vfsmount from dentry Ashish Khurange
2006-03-12 13:55 ` Al Viro
2006-03-12 17:20 ` Ashish Khurange
2006-03-12 17:41 ` Al Viro
2006-03-12 18:00 ` Ashish Khurange
2006-03-12 18:23 ` Shaya Potter
2006-03-12 18:54 ` Ashish Khurange
2006-03-12 19:13 ` Al Viro
2006-03-12 20:34 ` Ashish Khurange [this message]
2006-03-12 20:45 ` Shaya Potter
2006-03-13 7:24 ` Jan Hudec
2006-03-12 18:24 ` Al Viro
2006-03-12 19:10 ` Jamie Lokier
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=441485C5.4090900@it.iitb.ac.in \
--to=ashishk@it.iitb.ac.in \
--cc=linux-fsdevel@vger.kernel.org \
--cc=spotter@cs.columbia.edu \
--cc=viro@ftp.linux.org.uk \
/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).