Gentoo Archives: gentoo-user

From: Hans-Werner Hilse <hilse@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] perm link
Date: Tue, 05 Jun 2007 13:48:11
Message-Id: 20070605153220.1d844198.hilse@web.de
In Reply to: [gentoo-user] perm link by sean
1 Hi,
2
3 On Tue, 05 Jun 2007 09:09:34 -0400 sean <tech.junk@×××××××.net> wrote:
4
5 > Trying to create a permanent link as such
6 > "ln /dev/sr1 /dev/dvd"
7 > And it works fine, but when the system is rebooted, link gone.
8 >
9 > What am I doing wrong?
10
11 low level: You're creating the link on a tmpfs. This is by definition
12 gone by a reboot.
13
14 high level: You're not using udev's means to create (symbolic) links
15 for devices, which you should. Add a rule that does this for you...
16 BTW: Why isn't gentoo creating this link automatically for
17 you? usually 50-udev.rules cares for that by
18 calling /lib/udev/cdrom_id. If that program doesn't recognize your DVD
19 drive, you might certainly file a bug...
20
21 -hwh
22 --
23 gentoo-user@g.o mailing list