2011/11/9 "Jóhann B. Guðmundsson" <[email protected]>:
> On 11/09/2011 05:49 AM, Ian Kent wrote:
> That only leaves this relevant sections from that quick look that needs
> some work and remains questionable if that should be handled in unit
> file et all...
>
> # Check misc device
> if [ -n "$USE_MISC_DEVICE" -a "x$USE_MISC_DEVICE" = "xyes" ]; then
> sleep 1
> if [ -e "/proc/misc" ]; then
> MINOR=`awk "/$DEVICE/ {print \\$1}" /proc/misc`
> if [ -n "$MINOR" -a ! -c "/dev/$DEVICE" ]; then
> mknod -m 0600 /dev/$DEVICE c 10 $MINOR
> fi
> fi
> if [ -x /sbin/restorecon -a -c /dev/$DEVICE ]; then
> /sbin/restorecon /dev/$DEVICE
> fi
> else
> if [ -c /dev/$DEVICE ]; then
> rm /dev/$DEVICE
> fi
> fi
>
Just kill it. The kernel creates the device nodes today, nothing is
supposed to fiddle around like this in /dev in 2011.
We even support auto-loading of the kernel module these days, on
access of the device node which udev creates when the modul is
available (only needs to be available, not even loaded).
Kay
--
devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/devel