From owner-freebsd-questions Tue Feb 18 08:17:27 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id IAA12333 for questions-outgoing; Tue, 18 Feb 1997 08:17:27 -0800 (PST) Received: from nf.jinr.ru. (nfsun1.jinr.ru [159.93.21.4]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id IAA12264 for ; Tue, 18 Feb 1997 08:16:04 -0800 (PST) Received: from nfsun16.jinr.dubna.su (ivanov@nfsun16.jinr.ru [159.93.21.205]) by nf.jinr.ru. (8.8.4/8.8.4) with ESMTP id TAA00259 for ; Tue, 18 Feb 1997 19:16:42 +0300 (MSK) Received: (from ivanov@localhost) by nfsun16.jinr.dubna.su (8.7.1/8.7.1) id TAA20607 for freebsd-questions@freebsd.org; Tue, 18 Feb 1997 19:15:10 +0300 (MSK) Date: Tue, 18 Feb 1997 19:15:10 +0300 (MSK) From: "A.P.Ivanov" Message-Id: <199702181615.TAA20607@nfsun16.jinr.dubna.su> To: freebsd-questions@freebsd.org Subject: nfs & print etc.. questions Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi folks, I've got a bunch of questions, but probably it would worth answering them cause I spent a lot of time digging in the mailing-list archives and found only similar questions without answers. First. Is it possible to export directories like this: /tftpboot/rootfs/diskless -maproot=0:0 client1 /usr -ro client1 Both directories are within the same filesystem. The funny thing is when I change client1 on smth else in second line everything OK. (I mean OK with exports, not with what I wanted to do) The exports manual (at the bottom) recommends to put exported directories within one filesystem on adjacent lines, but I see no contradiction with this rule. Another question is pcnfsd and printing from PCs (sun nfs 5). I followed all recommendations in pcnfsd man, but PCs just refuses to mount printdevice. I succeded in mounting it when I've exported spool directory for each client. (/var/spool/mail/client1). But then nothing happend, when I print to captured device on PC it says OK and that's all. Then I put the following line in /etc/pcnfsd.conf printer bw - mail -s 'hi from pcnfsd' root < $FILE and after printing ascii text I got a mail containing a little pieces of original text file with some garbage in it. And by the way, is it necessary use 'mount -n', cause without -n I succesfully mounted exported directories on PC. Is it only useful for pcnfsd. And finally when I mount printer with lpd protocol and print to it lpd just dumps core (signal 11) and dies. -- Alexander P. Ivanov mailto:ivanov@nf.jinr.ru FLNP JINR http://iren.jinr.ru/~ivanov