DEVFS in a chroot?

From: Eivind Olsen (eivind_at_aminor.no)
Date: 04/30/04

  • Next message: Poul-Henning Kamp: "Re: DEVFS in a chroot?"
    Date: Fri, 30 Apr 2004 14:14:18 +0200
    To: freebsd-current@freebsd.org
    
    

    Hello.

    I'm running some processes in a chroot (not a jail) and I need to have a
    small /dev in the chroot directory containing for example random and
    urandom.
    As I understand it, the recommended way to do this is to use devfs, but I'm
    not sure how to go about doing that.

    Should I mount /var/chroot/dev as type devfs?
    And I'd need to create some devfs-rulefile?
    I'm not sure how I should tie this together in a clean way in FreeBSD 5.2.1
    (RELENG_5_2), any suggestions/pointers?

    -- 
    Regards / Hilsen
    Eivind Olsen
    <eivind@aminor.no>
    _______________________________________________
    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?"