[BusyBox] devfsd

Matteo Croce pinnolo at tin.it
Sun Aug 24 16:37:39 UTC 2003


Here there is the patch.
Devfsd works, but if you compile it with --static, you cannot use the 
CFUNCTION.
However, I replaced in devfsd.conf stuff like:

REGISTER    ^cdroms/cdrom0$    CFUNCTION GLOBAL mksymlink $devname cdrom
UNREGISTER    ^cdroms/cdrom0$    CFUNCTION GLOBAL unlink cdrom

with:

REGISTER    ^cdroms/cdrom0$    EXECUTE /bin/ln -s $devname cdrom
UNREGISTER    ^cdroms/cdrom0$    EXECUTE /bin/rm cdrom

and all works fine.
I think that is a good idea to include devfsd in busybox since busybox 
support devfsd filesystem.
Bye!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: devfsd.patch.bz2
Type: application/x-bzip2
Size: 19029 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030824/40640d7b/attachment.bin 


More information about the busybox mailing list