Re: DEVFS in a chroot?
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 04/30/04
- Previous message: M. Warner Losh: "Re: DEVFS in a chroot?"
- In reply to: M. Warner Losh: "Re: DEVFS in a chroot?"
- Next in thread: M. Warner Losh: "Re: DEVFS in a chroot?"
- Reply: M. Warner Losh: "Re: DEVFS in a chroot?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "M. Warner Losh" <imp@bsdimp.com> Date: Fri, 30 Apr 2004 16:02:06 +0200
In message <20040430.075448.70646001.imp@bsdimp.com>, "M. Warner Losh" writes:
>In message: <6695.1083331489@critter.freebsd.dk>
> "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
>: In message <20040430.070341.26991317.imp@bsdimp.com>, "M. Warner Losh" writes:
>: >In message: <5473.1083327210@critter.freebsd.dk>
>: > "Poul-Henning Kamp" <phk@phk.freebsd.dk> writes:
>: >: >Should I mount /var/chroot/dev as type devfs?
>: >:
>: >: Yes:
>: >:
>: >: mount -t devfs randomargument /var/chroot/dev
>: >
>: >What if I have hundreds of these chroots? We build our product inside
>: >a chroot right now and I'm worried what the overhead of
>: >mounting/unmounting this for every build would be...
>:
>: As far as I recall, our mountlist handling is not optimised for
>: hundreds of simultaneous mountpoints: we basically walk the list.
>: That said, I belive we only do so during the actual mount/unmount
>: operations, so I do not think there is a performance issue as such.
>
>Would the performance issues be mitigated by mounting/unmounting devfs
>all the time? Eg, only mount it while it is actively being used?
I think you would actually make it worse that way...
-- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: M. Warner Losh: "Re: DEVFS in a chroot?"
- In reply to: M. Warner Losh: "Re: DEVFS in a chroot?"
- Next in thread: M. Warner Losh: "Re: DEVFS in a chroot?"
- Reply: M. Warner Losh: "Re: DEVFS in a chroot?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]