From mboxrd@z Thu Jan 1 00:00:00 1970 From: clemens@dwf.com Date: Mon, 18 Apr 2005 18:13:38 +0000 Subject: udev problems Message-Id: <200504181813.j3IIDc6a023484@orion.dwf.com> List-Id: References: <200403071315.02925.michal@cihar.com> In-Reply-To: <200403071315.02925.michal@cihar.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org is. If it is legal, then I have a complaint... This has happened to me twice now (three times if you count the twice yesterday while I was trying to dig my way out). It would seem, that on a reboot (on the way down, on the way up, Im not sure) that udev proceeds to remove all files that were active at the time the system went down. I will assume that it created all of these files, so it thinks that it can remove them. Now if it were doing this in a SEPARATE, isolated, file system, say /udev and not /dev, that would be fine. However doing it in /dev is disasterous. Some of these things existed before udev (re)created them. It removed my /dev/hde? files from 0-7, just the ones I have mounted. It got /dev/console, so even if you get past the previous error, you get nailed again. And it removed enough other files to make repair basically impossible. Hey what ever happened to the MKNOD (?) script that used to be in UNIX systems? I dont see it in Fedora2. That would have helped in the repair. I was able to tar over a /dev directory from a working partition on the same machine, but at this point I can bring up X11 for root, but not for myself as a user (sigh). I had this same problem a couple of months ago, and just gave up and reinstalled the OS. I hate to do that as it may only take 30-45m to do the reinstall, but it takes another week to get everything configured back the way it was... Needless to say, Im not going to use udev_root="/dev/" udev_db="/dev/.udev.tdb again, anthough it sure makes life a lot simpler. And, Im going to have to go and remove it from some machines at the lab, before disaster strikes there too. Reg.Clemens reg@dwf.com [ Side question: There is a .udev.tdb sub directory in an old /udev directory that hasnt been used since February. There is an empty .udev.tdb subdirectory in /dev . Any chance udev could have looked at /dev seen the empty subdirectory, and then looked in /udev ? GAKKK.... ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&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