Why does udev use ramfs?

James Morris jmorris at redhat.com
Tue Aug 24 02:02:24 UTC 2004


Greg asked some questions about our use of udev per below.

Can anyone provide some insight?

---------- Forwarded message ----------
Date: Mon, 23 Aug 2004 13:59:43 -0700
From: Greg KH <greg at kroah.com>
To: Stephen Smalley <sds at epoch.ncsc.mil>
Cc: Christoph Hellwig <hch at infradead.org>, James Morris <jmorris at redhat.com>,
     Andrew Morton <akpm at osdl.org>,
     Alexander Viro <viro at parcelfarce.linux.theplanet.co.uk>,
     lkml <linux-kernel at vger.kernel.org>
Subject: Re: [PATCH][7/7] add xattr support to ramfs

On Mon, Aug 23, 2004 at 04:26:29PM -0400, Stephen Smalley wrote:
> On Mon, 2004-08-23 at 16:26, Christoph Hellwig wrote:
> > On Mon, Aug 23, 2004 at 02:22:20PM -0400, James Morris wrote:
> > > This patch adds xattr support to tmpfs, and a security xattr handler.
> > > Original patch from: Chris PeBenito <pebenito at gentoo.org>
> > 
> > What's the point on doing this for ramfs?  And if you really want this
> > the implementation could be shared with tmpfs easily and put into xattr.c
> 
> For udev.

What's wrong with using a tmpfs for udev in such situations that xattrs
are needed?  udev does not require ramfs at all.  In fact, why not just
use a ext2 or ext3 partition for /dev instead today, if you really need
it?

thanks,

greg k-h


> 
> -- 
> Stephen Smalley <sds at epoch.ncsc.mil>
> National Security Agency
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/





More information about the fedora-devel-list mailing list