Re: DEVFS in a chroot?

From: M. Warner Losh (imp_at_bsdimp.com)
Date: 04/30/04

  • Next message: Poul-Henning Kamp: "Re: DEVFS in a chroot?"
    Date: Fri, 30 Apr 2004 07:03:41 -0600 (MDT)
    To: phk@phk.freebsd.dk
    
    

    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...

    Warner
    _______________________________________________
    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"


  • Next message: Poul-Henning Kamp: "Re: DEVFS in a chroot?"

    Relevant Pages

    • Re: bash in chroot: I have no name!
      ... > working environment) but I always get the prompt: ... When I have set up chroots, I bind mount the files to keep them in ... Printing on GNU/Linux? ...
      (comp.os.linux.misc)
    • Re: DEVFS in a chroot?
      ... :>:>What if I have hundreds of these chroots? ... :>Would the performance issues be mitigated by mounting/unmounting devfs ... only mount it while it is actively being used? ... the mount lists are too long. ...
      (freebsd-current)
    • Re: dpkg --force-architecture to install 32-bit software on 64-bit system -
      ... i386 chroots are one way, but wasteful if you only are using the one ... with a 64 bit version of the package as a side benefit:). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Starting two instances of bind - method?
      ... I want to run two instances of Bind 9 on the same box. ... chrooted and have their own IPs. ... just different configuration files and chroots. ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Protection from the dreaded "rm -fr /"
      ... Please consider chroots. ... Root many want to do this in a chroot. ... Warner ... To unsubscribe, ...
      (freebsd-hackers)