3333333On Monday 07 February 2005 05:37 pm, Przemyslaw Urbanski wrote: > Hey, > > I am not sure how to check if devfs is mounted, but I assume it is, as > for example > > modprobe sonypi - creates /dev/sonypi0 > rmmod sonypi - deletes /dev/sonypi > > and > > df /dev/ /sys/ > Filesystem 1K-blocks Used Available Use% Mounted on > - 0 0 0 - /sys > - 257556 168 257388 1% /dev > Use mount to see all mounted filesystems. Although from your commands it seems to be mounted. Sorry, I have no more clues... > If devfs_mk_xxx is obsolete, I am happy use udev. Could you just point > me to name of the function I am looking for? > udev is working entirely in userspace. If you follow the new driver model for 2.6 (see Documentation/driver-model/*), no special calls are needed. For more information about udev check http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html tavi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/