From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Smith Date: Sun, 06 May 2007 19:23:55 +0000 Subject: Re: udev on real Linux from scratch Message-Id: <463E2B4B.2010302@alex-smith.me.uk> 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 Gabor Z. Papp wrote: > * Alex Smith : > > | IMO it would be wiser to use udevtrigger and udevsettle here rather > | than udevstart because AFAIK udevstart is deprecated and will be > | removed soon. > > Thanks, replaced, works fine, except I'm getting 2 errors that was > hidden before the change. udevd complaining about these lines stolen > from slackware config: > > ACTION="add", DEVPATH="/devices/*", ENV{PHYSDEVBUS}="?*", WAIT_FOR_SYSFS="bus" > > # permissions for IDE CD devices (without symbolic link creation) > BUS="ide", KERNEL="*[!0-9]", ENV{PHYSDEVDRIVER}="ide-cdrom", NAME="%k", GROUP="disk", MODE="0660" > > # permissions for IDE floppy devices > BUS="ide", KERNEL="*[!0-9]", ENV{PHYSDEVDRIVER}="ide-floppy*", NAME="%k", GROUP="disk", MODE="0660" > > Saying something like PHYSDEV* deprecated and will be removed? Yes, you'll need to replace these sometime. I'm not sure what you should replace them with though. > > | that udevd needs and does not create. This is what I do on > | Frugalware: > > [...] > > Thank you Alex. > > Two questions left, mounting tmpfs on /dev is ok, or should I use ramdisk? > No need to set (limit) the size of /dev? mount -n -t ramfs none /dev I use ramfs ^^ > > Another error I'm getting from udevd: > > "the kernel does not support inotify, udevd can't monitor configuration file changes" Just rebuild your kernel with inotify support - it's under the File systems menu in menuconfig IIRC. -- Alex Smith Frugalware Linux developer - http://www.frugalware.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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