From owner-freebsd-current@freebsd.org Fri May 27 02:12:59 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5B22BB4B072 for ; Fri, 27 May 2016 02:12:59 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 145511D29 for ; Fri, 27 May 2016 02:12:59 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-qk0-x22b.google.com with SMTP id n63so70846272qkf.0 for ; Thu, 26 May 2016 19:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=kjJfF6gkl/ev4aFMXfrRxEy4kJIDU2yNKxB4/uLZfL0=; b=ORYjJnalLWmes3qk5FioV81nNBG54Qn4UY+3nUMfKFpD+8GlQvsj1UQCrfGgKPVBu8 Aad37+AddWXonrJ8gLy8eoLetva9K/upHX27S2SdbiIVWUQ0PhpBibWj11PToclAkrwF woKdWKiRCNuOC+10RteFR8cI/L+sx/1KjBmzUpKCZa0PDIZ3qA9vF9YXHsTBtmxJLa5+ ePxT00eTXfvFAXVCFJVfPONekD9udIIN0zmL30vldKbgsCUvknbYmUtZDg+uekOq7t/3 PfO7iwQk/cEA7gswF41d0v29omLaiaZOggSDOb/wMfD466VzaXsnb2m1maEcNsxBCQMb Wkmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=kjJfF6gkl/ev4aFMXfrRxEy4kJIDU2yNKxB4/uLZfL0=; b=GuC/FTzPxTR5Ac5PBLaKYrkpFT4mB3tktwQBchwS1XvTp1oyf16P/fzgaLhtBALYmY Z5JyE83qaL6nDDpMdyGlWF7dvETcnjc863R6Q4DL+nc2wMP1Y9nJjG0Y0oXnsDl1MGnP L+rgpACedm19Yee1v0/hiNBJV0wWEknHD4Nq6LBe9izUvaNJLtxyEk8+mSxUupno4SBX Wg/VkpbFtJfg40/s+lJFkHh6X2I8um3iibirrIL3yXNzSB0rJwZR6sqe3tXcbmsqcFhX 4H3c/2bx8XR5CPsKzhdG3vV9jxRHFGIZYqgRSSMAQzni1Xm+55JeR+1BumbReF5Elmo2 aR3w== X-Gm-Message-State: ALyK8tJcI6vEh1rdk8INJTJK5Li6KQzbe2mxKvHfgyXhpI1N7lVmOcX8cnYTtVJMnp5yKxMTUKgvcohbemb6/g== MIME-Version: 1.0 X-Received: by 10.55.73.199 with SMTP id w190mr12102108qka.77.1464315178240; Thu, 26 May 2016 19:12:58 -0700 (PDT) Received: by 10.55.170.146 with HTTP; Thu, 26 May 2016 19:12:58 -0700 (PDT) Date: Thu, 26 May 2016 19:12:58 -0700 Message-ID: Subject: exports(5) no longer allows multiple paths per line? From: Ngie Cooper To: FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 May 2016 02:12:59 -0000 Hi, It seems like the following /etc/exports should work, but for some odd reason specifying both paths on a single line doesn't work (I swore it was working on a kernel/userland built in the past month, i.e. ^/head@r297950, but I might be misremembering things). exports(5) claims that 2 mountpoints (at least) can be used on a single line, but my experiments prove otherwise. Thanks, -Ngie Example from exports(5): EXAMPLES /usr /usr/local -maproot=0:10 friends Failing example: # df -h /tftpboot /home/ngie Filesystem Size Used Avail Capacity Mounted on zroot/tftpboot 232G 1.2G 231G 1% /tftpboot zroot/home/ngie 236G 5.5G 231G 2% /home/ngie # cat /etc/exports /home/ngie/freebsd /tftpboot -maproot=0:0 -alldirs -ro # stat -f '%d %r %N' /tftpboot/ /home/ngie 3945781817 4294967295 /tftpboot/ 3049773785 4294967295 /home/ngie # showmount -e Exports list on localhost: # Working example: # service mountd start Starting mountd. # showmount -e Exports list on localhost: /tftpboot Everyone /home/ngie/freebsd Everyone Thanks, -Ngie