REPOST: null device in linux jail root
stijn at win.tue.nl
Tue Dec 16 12:12:03 PST 2003
On Tue, Dec 16, 2003 at 01:15:07PM -0600, Charles Howse wrote:
> Surely, *someone* who reads this list has upgraded the linux_base port, and
> figured out the proper way to respond to this prompt.
I apply for item A but not item B -- in other words, I also don't have a clue
why this happened to me today on my -CURRENT machine (so it's not -STABLE
only). From my reading of the port Makefile, it appears that it first creates
the device node and then tests to see if it exists, but apparently that test
fails -- the message *should* be harmless, but the best thing to do is to
make the maintainer of the port aware of the problem, which in this case
is the general ports list (ports at FreeBSD.org) -- CC'd.
[rest of email quoted for reference, but please don't top post next time]
> I installed Linux compatibility when I installed FBSD 4.8, but I've never
> really done anything with it.
> While portupgrading , I was presented with a prompt that I don't know how to
> respond to:
> You need to create the null device in your jail root environment.
> Run the following commands outside the jail root environment,
> and then press enter:
> mkdir -m 0755 -p <Jail Root dir>/dev
> rm -f <Jail Root dir>//compat/linux/dev/null
> mknod <Jail Root dir>//compat/linux/dev/null c 2 2
> chmod 666 <Jail Root dir>//compat/linux/dev/null
> I found that this prompt comes from the makefile in the linux-base port,
> which I don't have access to at the moment, so I can't quote it exactly.
> Clueless, I just pressed enter at the prompt, thinking I could always go back
> and do it later, or deinstall the port and reinstall it when I learn what to
> do. ?
> I know what a jail is, but how do I know what my <Jail Root dir> is?
> Also, why the double slashes in the last 3 lines? ?What do they mean?
> What is the proper way to deal with this prompt?
"Linux has many different distributions, meaning that you can probably find
one that is exactly what you want (I even found one that looked like a Unix
-- Mike Meyer, from a posting at questions at freebsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031216/6d1d1cb5/attachment.bin
More information about the freebsd-ports