Changeset 3319

Show
Ignore:
Timestamp:
07/23/07 01:59:39 (1 year ago)
Author:
n0-1
Message:

fix the "missing /dev/mISDN for kernel-2.6" issue

* added some lines of syntax documentation
* simplified symlinking of /dev/ttyS0
* added a hack to correct the device node created,

as the right node exists, but with wrong name

I think this is rather a bug in either the kernel module,
or busybox mdev. For now, this solution should suffice.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/target/linux/rb-2.6/files/etc/mdev.conf

    r3237 r3319  
    1 ttyS0 0:0 660 @mkdir /dev/tts ; ln -s /dev/$MDEV /dev/tts/0 
     1# the syntax of this file is:                                                      
     2#    <regexp> <UID>:<GID> <PERM> [{@,$,*} <CMD>] 
     3# @: run <CMD> after creating                    
     4# $: run <CMD> before removal 
     5# *: like @ and $ at the same time 
     6# <CMD> is run inside /dev using system() 
     7 
     8ttyS0 0:0 660 @mkdir tts ; ln -s ../$MDEV tts/0 
    29null 0:0 666 
    310zero 0:0 666 
     
    512tty 0:0 666 
    613urandom 0:0 664 
     14 
     15# mISDN hack 
     16obj-0 0:0 660 @mv $MDEV mISDN 
     17mISDN_core 0:0 660 $rm mISDN