Re: NFS sharing /usr/ports and /usr/src

From: Rob (nospam_at_users.sourceforge.net)
Date: 02/29/04

  • Next message: Gerard Samuel: "Limiting connections to CVS"
    Date: Sun, 29 Feb 2004 14:58:09 +0900
    To: Tom Munro Glass <gentoo@tmgcon.com>, freebsd-questions@freebsd.org
    
    

    Tom Munro Glass wrote:
    > I want to NFS share /usr/ports and /usr/src from a master machine for use by
    > other machines. If I specify -network and -mask options for each share, I get
    > the error:
    >
    > mountd[101]: can't change attributes for /usr/src
    > mountd[101]: bad exports list line /usr/src
    >
    > but if I don't have any options, the share works OK?
    >
    > What am I doing wrong?

    I'm doing this, but use in exports:

            /usr -ro -maproot=root -alldirs <ip-addresses>

    which allows to mount any subdir of /usr, which on the /usr partition.
    This way I can mount /usr/doc and /usr/src, readonly. Since I have
    /usr/ports on a separate partition, I also have to add a line like:

            /usr/ports -maproot=root <ip-addresses>

    Take care of what is exported and mounted readonly and not readonly.
    Hope that helps.
    Cheers,
    Rob.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Gerard Samuel: "Limiting connections to CVS"

    Relevant Pages