Creating device files in /dev

Kris Kennaway kris at obsecurity.org
Fri Feb 6 19:46:34 PST 2004


On Fri, Feb 06, 2004 at 07:08:57PM -0800, Doug White wrote:
> On Thu, 5 Feb 2004, sfd wrote:
> 
> > I'm running Freebsd 5.1and I'm unable to create a device file or pipe
> > file in the /dev directory.
> >
> > /dev is a devfs file system which seems to be the problem.
> >
> > Is there any way around this?  Either by adding an entry to a
> > kernel config file or using the devfs command to create them?
> >
> > I have a backup program that needs to create a device file and pipe
> > file that reside in /dev  This is a must for my backups and recovery.
> 
> What program is this, so we can avoid it? :)
> 
> It might be possible using the devfs config bits to create a symlink that
> points elsewhere.

Someone on Usenet suggested binary patching the application to look in
/tmp instead of /dev...this is probably the best solution.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040206/1e2644d6/attachment.bin


More information about the freebsd-current mailing list