From owner-freebsd-questions Thu Aug 17 10:56:51 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA28470 for questions-outgoing; Thu, 17 Aug 1995 10:56:51 -0700 Received: from jd-unix.wpafb.af.mil (jd-unix.wpafb.af.mil [129.52.114.42]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA28462 for ; Thu, 17 Aug 1995 10:56:48 -0700 Received: (from root@localhost) by jd-unix.wpafb.af.mil (8.6.11/8.6.9) id OAA00240; Thu, 17 Aug 1995 14:04:23 GMT Date: Thu, 17 Aug 1995 14:04:23 +0000 () From: "Jeffrey D. Dean ROOT" To: patl@asimov.volant.org cc: ywliu@lin.wsl.sinica.edu.tw, questions@FreeBSD.org Subject: Resolved: Anonymous Account with ftpd In-Reply-To: <9508171520.AA28260@asimov.volant.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk Thanx to everyone that helped, (about 8 people) The answer was to use mount_null /usr2/pub ~ftp/pub Worked great!!! Jeff -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - Jeffrey D. Dean SrA - !! Garbage in, Garbage out !! - - ****************************************** - fact: UNIX Rules, NT does not. - - (*: PC-SUPPORT 88 CS/SCMNPC :*) ---------------------------------- - Computer Technician / Programmer - * Boy Scouts of America * - - Wright Patterson AFB, Ohio - Assistant District commisioner - - __________________________________ On Thu, 17 Aug 1995 patl@asimov.volant.org wrote: > |> > I would like to continue to have ~ftp in /usr/home/ftp, but would > |> > like ~ftp/pub to point to /usr2/pub, i.e. My other HD... > |> > |> I don't think this can be done, since anonymous ftp account is chroot'ed. > |> The symbolic , such as pub -> /usr2/pub , is not goning to work. Its root > |> dir is ~ftp. > |> > |> What I have done is try to remount another partition under ~ftp/pub. Or > |> using NFS to export /usr/pub to itself is another good try. > > Under SunOS/Solaris, this would normally be done using a loopback mount. > (Faster than NFS, maintains unix semantics, and doesn't open the security > hole of having an NFS server running...) > > I see that the mount(8) man page references mount_lofs, but there is no > mount_lofs man page, nor is there an /sbin/mount_lofs. Does anyone know > why loopback filesystem support seems to be missing from FreeBSD? > > > > -Pat >