Date: Thu, 09 Jul 2009 02:37:41 -0500 From: "Sagara Wijetunga" <sagara@tomahawk.com.sg> To: freebsd-questions@freebsd.org Subject: Re: How to symlink devfs devices? Message-ID: <20090709073741.2427.qmail@us1.tomahawkonline.net> In-Reply-To: <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Paul B. Mahol writes: >> >> 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 > Hi FreeBSD community Thank you all for replies. Yes, USB Mass Storage devices could be symlinked (may be others too) but ethernet devices cannot be symlinked but ethernet interfaces can be renamed. I have one more question, how do I know what device is attached to an ethernet interface after it is renamed? Regards Sagara
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090709073741.2427.qmail>