On Wed, 08 Jul 2009 07:33:42 -0500, "Sagara Wijetunga" <sag...@tomahawk.com.sg> 
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
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to