From owner-freebsd-questions Fri Nov 5 1:50:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from kalamalka.gizzywump.com (adsl-207-214-111-190.dsl.snfc21.pacbell.net [207.214.111.190]) by hub.freebsd.org (Postfix) with ESMTP id 7F87E15857 for ; Fri, 5 Nov 1999 01:50:29 -0800 (PST) (envelope-from richard@homemail.com) Received: from [10.0.0.28] ([10.0.0.28]) by kalamalka.gizzywump.com (8.9.3/8.9.3) with ESMTP id BAA00690; Fri, 5 Nov 1999 01:50:16 -0800 (PST) (envelope-from richard@homemail.com) User-Agent: Microsoft Outlook Express Macintosh Edition - 5.0 (1513) Date: Fri, 05 Nov 1999 01:50:08 -0800 Subject: Re: Can't figure out cfs port From: Richard Kiss To: FreeBSD-Questions , Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I built the cfs port and installed it. I started cfsd, and then did > > cmkdir ~/crypt-test > > This seemed to work -- created a directory with three tiny files in it. > > Then I did > > cattach ~/crypt-test test > > and entered the same key. No complaints. > > But there was no cleartext directory in /crypt (or anywhere else). The port > didn't create /crypt, so I created it myself and repeated. No difference. > > I've also tried > > # /sbin/mount -o port=3049,intr localhost:/ /crypt > nfs: can't access /: Permission denied > > I don't really understand nfs, so the documentation is not completely clear > to me. If it matters, I export all file systems except /. As follow-up to my own question, and a search on Dejanews (sorry "Deja"), I found that adding /etc/crypt-null -o port=3049,nfsv2 localhost to /etc/exports (mkdir /etc/crypt-null followed by chmod 0 /etc/crypt-null) now lets me mount using # /sbin/mount -o port=3049,intr localhost:/etc/crypt-null /crypt and then cattach works as expected. Perhaps a note in the port to make this explicit is in order? Perhaps add "/sbin/mount -o port=3049,intr localhost:/etc/crypt-null /crypt" to rc.d and a note about the line to add to /etc/exports after the port install. Thanks, -- Richard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message