From owner-freebsd-questions Fri Jun 18 16:18:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cartman.weeble.dyndns.org (ubppp233-117.dialin.buffalo.edu [128.205.233.117]) by hub.freebsd.org (Postfix) with ESMTP id CB29F14E39 for ; Fri, 18 Jun 1999 16:18:16 -0700 (PDT) (envelope-from cjm2@earthling.net) Received: from shithead (shithead.weeble.dyndns.org [10.0.0.2]) by cartman.weeble.dyndns.org (8.9.3/8.9.3) with SMTP id TAA31213; Fri, 18 Jun 1999 19:18:07 -0400 (EDT) (envelope-from cjm2@earthling.net) From: "Christopher J. Michaels" To: Cc: "FreeBSD Mailing List" Subject: RE: sharing drives Date: Fri, 18 Jun 1999 19:18:13 -0400 Message-ID: <000001beb9e0$d644d280$0200000a@shithead.weeble.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Noo... that IS supposed to work. You misunderstood me. What i meant is this.. lets say you have 2 drives mounted, one is on /usr and one is on /usr/local What i meant is that if you exported /usr, and then looked at /usr/local, that would be empty, you would have to separately export /usr/local. What you did is correct. Sorry for the confusion. -Chris -----Original Message----- From: root@vetex.dhis.org [mailto:root@vetex.dhis.org]On Behalf Of vagner@www.timandpatrick.com Sent: Friday, June 18, 1999 7:04 PM To: Christopher Michaels Subject: RE: sharing drives ok,here is what i want to do, I have an optical disk it is mounted as /optical, i want to read and write to it as the current user I am logged in as, basically for backing up stuff. so i exported it like you said /optical -network 192.168.0 and mounted it on /optical of my other machine so now both /optical directories are identical to each machine. although you said the directories would be empty if i mounted already mounted directories i can get a listing. you can see below its seems to be working! copy and paste may be a little mixed up...oops ahah! HERE IS A PROBLEM. looks like no write access. ginger# cp * /optical cp: /optical/resume.doc: Permission denied cp: /optical/1-25-99.doc: Permission denied ginger# $ ls -la /optical total 2306 drwxr-xr-x 2 root wheel 512 Jun 17 22:12 . drwxr-xr-x 20 root wheel 512 Jun 17 20:17 .. -r-xr-xr-x 1 root wheel 2345293 Jun 17 22:12 kernel $ df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 496111 21332 435091 5% / /dev/da0s1f 7313739 610922 6117718 9% /usr /dev/da0s1e 496111 4217 452206 1% /var procfs 4 4 0 100% /proc /dev/da1 279554 2305 254885 1% /optical $ ginger# mount /dev/da1s1a on / (local, writes: sync 76 async 323) /dev/da1s1f on /usr (local, writes: sync 6 async 215) /dev/da1s1e on /var (local, writes: sync 141 async 252) procfs on /proc (local) 192.168.0.1:/optical on /optical ginger# $ mount /dev/da0s1a on / (local, writes: sync 7 async 36) /dev/da0s1f on /usr (local, writes: sync 2 async 19) /dev/da0s1e on /var (local, writes: sync 114 async 173) procfs on /proc (local) /dev/da1 on /optical (NFS exported, local, writes: sync 2 async 2) $ ginger# ls -la /optical total 2306 drwxr-xr-x 2 root wheel 512 Jun 17 15:12 . drwxr-xr-x 29 root wheel 1024 Jun 18 15:40 .. -r-xr-xr-x 1 root wheel 2345293 Jun 17 15:12 kernel ginger# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da1s1a 496111 30521 425902 7% / /dev/da1s1f 7114987 2093155 4452634 32% /usr /dev/da1s1e 496111 16639 439784 4% /var procfs 4 4 0 100% /proc 192.168.0.1:/optical 279554 2305 254885 1% /optical ginger# To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message