Date: Tue, 13 Dec 2005 21:06:34 +0100 From: "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de> Cc: freebsd-stable@freebsd.org Subject: Re: devfs doesn't set access rights Message-ID: <439F29CA.3020103@gmx.de> In-Reply-To: <20051213194438.9F5EF5D09@ptavv.es.net> References: <20051213194438.9F5EF5D09@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is a small patch for /etc/rc.d/devfs which makes it behave the way I suggested in my last mail. --- devfs.old Tue Dec 13 20:58:52 2005 +++ devfs Tue Dec 13 21:00:57 2005 @@ -43,8 +43,8 @@ cd /dev while read action device parameter; do case "${action}" in - l*) if [ -c ${device} -a ! -e ${parameter} ]; then - ln -fs ${device} ${parameter} + l*) if [ ! -e ${parameter} ]; then + ln -s ${device} ${parameter} fi ;; o*) if [ -c ${device} ]; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439F29CA.3020103>