* Andreas Metzler <[EMAIL PROTECTED]> [2004-07-04 08:39:59 +0200]: > On 2004-07-04 Laszlo 'GCS' Boszormenyi <[EMAIL PROTECTED]> wrote: > > One of my packages require a device to be crated for functioning. It is > > ok if the user has a normal /dev/, but how should I handle the udev > > case? I can detect it, no problem; still I am looking forward for > > documentation how should I achieve this with udev and/or examples how > > other packages do it. Can someone help me out here? > > The MAKEDEV currently in sarge (2.3.1-70) handles this automatically, > you just invoke /sbin/MAKEDEV and it does the right thing. Thanks Andreas. But how can I specify major and minor numbers? As I know and seems MAKEDEV supports only a list of devices it knows. As my device entry would be specific, I get: /sbin/MAKEDEV: don't know how to make device "grsec" It should have 1,10 ad be char oriented. In the normal case I use mknod, but that's fail for udev between reboots.
> PS: example for manual checking in cdrecord. I see you use /dev/MAKEDEV instead of /sbin/MAKEDEV ; I do not get it, at least on my system /dev/MAKEDEV is a symlink to the latter. Thanks anyway, Laszlo/GCS

