Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2009 17:49:24 +0000
From:      "Paul B. Mahol" <onemda@gmail.com>
To:        Sagara Wijetunga <sagara@tomahawk.com.sg>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to symlink devfs devices?
Message-ID:  <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com>
In-Reply-To: <20090708123342.22660.qmail@us1.tomahawkonline.net>
References:  <20090708123342.22660.qmail@us1.tomahawkonline.net>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> 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

devfs.conf(5)
>
> 2. A network device
>    re0 -> lan0

same as above, but there is way to completly hide re0:
# ifconfig re0 name lan0

-- 
Paul



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3a142e750907081049sc76dfd2o4d13d9ea6a2e983c>