Summary: | custom devices with udev | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ahmed Farid <afw2000> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | VERIFIED NEEDINFO | ||
Severity: | enhancement | CC: | x86-kernel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
the script
sample configuration file updated script to fix perm problem. updated again to fix a bug if the directory already exist. |
Description
Ahmed Farid
2004-02-28 14:12:30 UTC
Created attachment 26534 [details]
the script
Created attachment 26535 [details]
sample configuration file
usage example :
[11:40:21][~/programming/python/udh]-> chmod +x udh.py
[11:40:21][~/programming/python/udh] -> ./udh.py
~/programming/python/udh/udh.conf
Error : [ppp_generic] isn't currently loaded or device already exists.
Making node : /dev/test-test
Creating Symlink from /dev/test-test to /dev/test2
Error : [none] isn't currently loaded or device already exists.
[11:40:23][~/programming/python/udh] -> l /dev/test* && rm /dev/test* -f
c-w----r-T 1 oneofone users 1, 3 Feb 28 23:40 /dev/test-test
lrwxrwxrwx 1 root root 14 Feb 28 23:40 /dev/test2 ->
/dev/test-test
[11:40:25][~/programming/python/udh] ->
Created attachment 26537 [details]
updated script to fix perm problem.
Created attachment 27296 [details]
updated again to fix a bug if the directory already exist.
Why are custom device nodes needed? udev should provide everything you need. If not, the kernel needs to be fixed. Closing due to lack of info |