From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Wed, 10 Dec 2003 20:22:35 +0000 Subject: Re: udev /sys Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Dec 10, 2003 at 02:56:22PM +0100, dd@daemond.com wrote: > I hope I am posting to correct maillist. > > I saw udev and I saw that I have to mount sysfs to /sys or to some similar > directory. > > Is it possible to mount sysfs to some directory in /proc? Sure, libsysfs should pick it up just fine (unless you build udev with klibc, but that's my fault, I need to fix that up...) > I don't want to have /sys directory created, it violates the standard... What standard? And where in that standard? > Is there any empty directory in /proc where I can mount sysfs? Nope. > If I understand it right, sysfs is always compiled into kernel. Yes. > And also ALL linux systems are mounting procfs to /proc. Sure. But you don't _have_ to have procfs, it can be not selected in the kernel. > So why don't just add this sysfs as a /proc entry in the kernel? Because sysfs has nothing to do with procfs. They are two separate filesystems, doing different things. So in short, just mount sysfs at /sys and everyone will be happy :) thanks, greg k-h ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel