Re: How to symlink devfs devices?
- From: Polytropon <freebsd@xxxxxxxx>
- Date: Wed, 8 Jul 2009 23:46:03 +0200
On Wed, 08 Jul 2009 07:33:42 -0500, "Sagara Wijetunga" <sagara@xxxxxxxxxxxxxxx> wrote:
Hi
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.
--
Polytropon
Happy FreeBSD user since 4.0From Magdeburg, Germany
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- How to symlink devfs devices?
- From: Sagara Wijetunga
- How to symlink devfs devices?
- Prev by Date: Re: portupgrade question
- Next by Date: Re: Urgent help needed : portmaster dies on py-cairo
- Previous by thread: Re: How to symlink devfs devices?
- Next by thread: client control of sendmail
- Index(es):
Relevant Pages
|