Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2006 12:03:27 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        freebsd-stable@freebsd.org
Subject:   Symbolic Links in /dev of a jail
Message-ID:  <200609061203.43058.mistry.7@osu.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Previously posted to -questions:
	In my quest to get asterisk+iaxmodem+hylafax working together in a 
jail I've run into one final roadblock.  I can't seem to figure out 
how to create a symbolic link (ln -s doesn't work) in /dev in the 
jail environment while in the jailed environment.   When trying to 
create a link with ln I receive:
ln -s somedev targetdev
ln: targetdev: Operation not permitted
	Adding a link entry to devfs.conf in the jail fails too since it 
receives the same error.  I can create a link in the jailed /dev from 
the host environment, so there seems to be some restriction on 
creating links in /dev while in the jail.  The reason I need to be 
able to do this is that iaxmodem needs to create a /dev/ttyIAX device 
to point to the correct ttyp* device when it starts in the jail.

	Any suggestions would be appreciated.

Thanks,

-- 
Anish Mistry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBE/vFfxqA5ziudZT0RAgiVAKCoewodJ6K5XJ+sWfy2ju+GKe5KKgCdGUKq
TYv4qW/zXvrunz/UzZe+elc=
=Xown
-----END PGP SIGNATURE-----

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