:You sure about you can export a directory multiple times? I can't even
:export two directories under the same filesystem.
:
:su-2.03# mount
:/dev/wd0s1a on / (NFS exported, local, noatime, soft-updates, writes: sync 3945 async
:1317317)
:procfs on /proc (local)
:su-2.03# cat /etc/exports
:
:/var home
:/var/tmp home
:su-2.03# mountd
:Aug 1 22:43:01 celery mountd[46042]: can't change attributes for /var/tmp
:Aug 1 22:43:01 celery mountd[46042]: bad exports list line /var/tmp home
:
:It actually exported /, which may not have been what i wanted. :)
:
:Or did I misunderstand you?
:
:Kevin
You misunderstood me. The problem you have is the fact that NFS exports
are usually limited to the physical mount point of the filesystem being
exported. Thus it thinks that /var above is the same as /, or that
/var/tmp is the same as /var if both happen to be in the same partition.
Mount gets confused by that when you specify what it believes to be the
same partition several times in the exports list.
You can use the '-alldirs' flag in the exports list to export a partition
and allow any subdirectory within that partition to be mounted instead of
the partition itself. There may be a way to export several specific
subdirectories in the same partition but I'm not sure.
I was talking about things like:
mount apollo:/usr m1
mount apollo:/usr m2
mount apollo:/usr m3
mount apollo:/usr m3
mount apollo:/usr m3
I can import a filesystem as many times as I want, and even overlay mount
points.
-Matt
Matthew Dillon
<[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message