All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] What's wrong with tmpfs?
Date: Sun, 30 Oct 2005 06:24:38 -0600	[thread overview]
Message-ID: <200510300624.38794.rob@landley.net> (raw)

Under User Mode Linux in 2.6.14, would someone please explain to me why this 
test:

static int graft_tree(struct vfsmount *mnt, struct nameidata *nd)
{
        int err;

        if (mnt->mnt_sb->s_flags & MS_NOUSER)
                return -EINVAL;

Is triggering when I try to mount tmpfs?  Is this happening for anybody else?  
Shouldn't I be getting a fresh superblock or something?  (Is this just a User 
Mode Linux issue?  Haven't got a spare box set up to boot it on real hardware 
just yet...)

If somebody needs a reproduction sequence, I'm happy to oblige.  In theory 
"mount -t tmpfs /mnt /mnt" should do it, but if it was _that_ simple it 
wouldn't have shipped...

Rob


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

WARNING: multiple messages have this Message-ID (diff)
From: Rob Landley <rob@landley.net>
To: linux-kernel@vger.kernel.org,
	user-mode-linux-devel@lists.sourceforge.net
Subject: What's wrong with tmpfs?
Date: Sun, 30 Oct 2005 06:24:38 -0600	[thread overview]
Message-ID: <200510300624.38794.rob@landley.net> (raw)

Under User Mode Linux in 2.6.14, would someone please explain to me why this 
test:

static int graft_tree(struct vfsmount *mnt, struct nameidata *nd)
{
        int err;

        if (mnt->mnt_sb->s_flags & MS_NOUSER)
                return -EINVAL;

Is triggering when I try to mount tmpfs?  Is this happening for anybody else?  
Shouldn't I be getting a fresh superblock or something?  (Is this just a User 
Mode Linux issue?  Haven't got a spare box set up to boot it on real hardware 
just yet...)

If somebody needs a reproduction sequence, I'm happy to oblige.  In theory 
"mount -t tmpfs /mnt /mnt" should do it, but if it was _that_ simple it 
wouldn't have shipped...

Rob

             reply	other threads:[~2005-10-30 12:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-30 12:24 Rob Landley [this message]
2005-10-30 12:24 ` What's wrong with tmpfs? Rob Landley
2005-10-30 12:53 ` [uml-devel] " Jon Masters
2005-10-30 12:53   ` Jon Masters
2005-10-30 15:15   ` [uml-devel] " Jeff Dike
2005-10-30 15:15     ` Jeff Dike
2005-10-30 20:24     ` [uml-devel] " Rob Landley
2005-10-30 20:24       ` Rob Landley
2005-11-08 17:58     ` [uml-devel] " Matt Mackall
2005-11-08 17:58       ` Matt Mackall

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=200510300624.38794.rob@landley.net \
    --to=rob@landley.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.