From: | Fabrice Delliaux <netfab@×××××.com> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] What is "the correct way" to keep a /dev entry through reboots? | ||
Date: | Thu, 03 Sep 2009 02:00:14 | ||
Message-Id: | 20090903090424.7805c4d7@core2duo.fabnetwork | ||
In Reply to: | [gentoo-user] What is "the correct way" to keep a /dev entry through reboots? by Walter Dnes |
1 | Le Thu, 3 Sep 2009 01:17:26 -0400, |
2 | "Walter Dnes" a écrit : |
3 | |
4 | > For now I have the mkdir and mknod commands in /etc/conf.d/local/start |
5 | > to recreate them at each bootup, but putting stuff in there is |
6 | > usually a last resort. Is there a "more correct" way of doing it? |
7 | |
8 | Maybe you should try to setup some udev rules which create/delete the |
9 | device node on specific kernel events (basically when the modem is |
10 | plugged/unplugged) : |
11 | |
12 | http://reactivated.net/writing_udev_rules.html |