Re: How to symlink devfs devices?

On Wed, 08 Jul 2009 07:33:42 -0500, "Sagara Wijetunga" <sagara@xxxxxxxxxxxxxxx> wrote:

Is it possible to create a symlink to a device and use the symlink in place
of the real device name in FreeBSD, especially in version 7.2?

1. A disk
/dev/camera -> /dev/da0s1

2. A network device
re0 -> lan0

That's no problem: Use the "link" statement: "link <source> <target>",
such as

link da0s1 camera
link re0 lan0

in you /etc/devfs.conf file. See the manual page for this file for
more information, or see the example entries in this file.

From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions@xxxxxxxxxxx mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"