From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ken Brush" Date: Fri, 05 Mar 2004 00:11:01 +0000 Subject: Re: udev_db must be in a ramfs Message-Id: <33171.65.172.181.6.1078445461.squirrel@secure.cgi101.com> List-Id: References: <32794.65.172.181.6.1078443718.squirrel@secure.cgi101.com> In-Reply-To: <32794.65.172.181.6.1078443718.squirrel@secure.cgi101.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org > On Fri, 2004-03-05 at 00:41, Ken Brush wrote: >> So, I ran a few tests on location of the tdb database (config file: >> udev_db variable). And was only able to put in a ramfs location for it. >> >> So my main question is: Is this a bug or a feature? If it's a feature, >> I'll just submit a patch for the documentation to prevent people from >> trying to put it on a non-ramfs area. If it's a bug, then I would work >> on >> fixing it. :) > > No, it's neither a bug nor a feature. :) > I'm able to place the db wherever I want on the filesystem. > udev doesn't know anything about ramfs, it works on any filesytem. > > What is your problem exactly? I did the following: udev_db = /tmp/.udev.tdb And on boot it couldn't find the disklabel, no /dev/hda1 entry, and no .udev.tdb db. So, I tried another place /foo. Same thing Until I placed a mount -t ramfs none /foo entry in the udev startup script. So, thinking about it now. /tmp could've been a problem with the db being lost when /tmp is mounted (i.e. it was created and then a mount over the top of it.) Though, if that was the case I wonder why /foo wouldn't work. (unless / is ro at that point in time.) Hrm. I'll explore this more. -Ken ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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