What's wrong with tmpfs?
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines · Rob Landley
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...
I don't see this behaviour on a regular desktop box running 2.6.14. Guess it's UML specific.
Jon.
Quoted 8 lines · Jon Masters
Quoted 3 lines · Rob Landley
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...
I don't see this behaviour on a regular desktop box running 2.6.14. Guess it's UML specific.
Sorry, but wrong.
IIRC, this triggers when you don't have CONFIG_TMPFS enabled. If you don't, you still get it, but you get a version that's only usable in-kernel.
Jeff
Quoted 6 lines · Jeff Dike
Quoted 5 lines · Jon Masters
Quoted 3 lines · Rob Landley
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...
Quoted 8 lines
Quoted 2 lines
I don't see this behaviour on a regular desktop box running 2.6.14. Guess it's UML specific.
Sorry, but wrong.
IIRC, this triggers when you don't have
CONFIG_TMPFSenabled. If you don't, you still get it, but you get a version that's only usable in-kernel.
Yup. Not CONFIG_TEMPFS. My bad.
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 7 lines · Jeff Dike
Quoted 6 lines · Jon Masters
Quoted 3 lines · Rob Landley
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...
Quoted 7 lines
Quoted 2 lines
I don't see this behaviour on a regular desktop box running 2.6.14. Guess it's UML specific.
Sorry, but wrong.
IIRC, this triggers when you don't have
CONFIG_TMPFSenabled. If you don't, you still get it, but you get a version that's only usable in-kernel.
That sounds like a regression. Turning off CONFIG_TMPFS replaces tmpfs with an aliased ramfs. It should be perfectly usable everywhere that tmpfs is, with the exception that it's not swap-backed and doesn't have an size limiting.
Signature · 12 lines
Mathematics is the supreme nostalgia of our time. ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel