Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2002 08:42:32 +0100
From:      Szilveszter Adam <sziszi@bsd.hu>
To:        current@FreeBSD.ORG
Subject:   Re: devfs permissions after reboot
Message-ID:  <20021227074232.GA753@fonix.adamsfamily.xx>
In-Reply-To: <20021227000858.H39385@homer.quantumnet.de>
References:  <20021227000858.H39385@homer.quantumnet.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Fri, Dec 27, 2002 at 12:11:27AM +0100, Gernot A. Weber wrote:
> Hi,
> 
> I know how to change file permissions on devfs. But which file do I have
> to edit that these changes are no lost after a reboot? E.g. I altered my
> scanner dev:

You would need to edit /etc/rc.devfs.

> Another thing: I often need a symlink /dev/cdrom to /dev/cd0. What's the
> best way to do this...

In rc.devfs, put this:

ln -s /dev/cdrom /dev/cd0.

Easy enough:-)

-- 
Regards:

Szilveszter ADAM
Szombathely Hungary

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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