From owner-freebsd-questions@FreeBSD.ORG Sun Jan 10 11:50:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81670106566B for ; Sun, 10 Jan 2010 11:50:37 +0000 (UTC) (envelope-from fbsdq@peterk.org) Received: from poshta.pknet.net (poshta.pknet.net [216.241.167.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3B6B98FC16 for ; Sun, 10 Jan 2010 11:50:36 +0000 (UTC) Received: (qmail 76623 invoked by uid 89); 10 Jan 2010 11:50:18 -0000 Received: from poshta.pknet.net (HELO pop.pknet.net) (216.241.167.213) by poshta.pknet.net with SMTP; 10 Jan 2010 11:50:18 -0000 Received: from 216.241.167.212 (SquirrelMail authenticated user fbsdq@peterk.org) by pop.pknet.net with HTTP; Sun, 10 Jan 2010 04:50:18 -0700 Message-ID: In-Reply-To: References: Date: Sun, 10 Jan 2010 04:50:18 -0700 From: "Peter" To: sbremal@hotmail.com User-Agent: SquirrelMail/1.4.20-RC2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: NFS exporting mounted msdosfs subdir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2010 11:50:37 -0000 > > Hello, > > There is an issue with my exported home folder. It has a subdirectory > under which an msdosfs pen drive is mounted. The home folder gets exported > nicely however the msdos subdirectory is not! > > Any idea how this could be solved? > > Some useful extracts: > > --- > > babapc# more /etc/fstab > # Device                Mountpoint                              FStype  > Options         Dump    Pass# > /dev/ad4s1b             none                                    swap    > sw              0       0 > /dev/ad4s1a             /                                       ufs     > rw              1       1 > /dev/ad4s1e             /tmp                                    ufs     > rw              2       2 > /dev/ad4s1f             /usr                                    ufs     > rw              2       2 > /dev/ad4s1d             /var                                    ufs     > rw              2       2 > /dev/acd0               /cdrom                                  cd9660  > ro,noauto       0       0 > /dev/da0s1              /usr/home/sbremal/usb_flash_drive       msdosfs > rw,noauto       0       0 > > babapc# more /etc/exports > #The following examples export /usr to 3 machines named after ducks, > #/usr/src and /usr/obj read-only to machines named after trouble makers, > #/home and all directories under it to machines named after dead rock > stars > #and, /a to a network of privileged machines allowed to write on it as > root. > #/usr                   huey louie dewie > #/usr/src /usr/obj -ro  calvin hobbes > #/home   -alldirs       janice jimmy frank > #/a      -maproot=0  -network 10.0.1.0 -mask 255.255.248.0 > # > # You should replace these lines with your actual exported filesystems. > # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' > one. > /usr/home/sbremal > > babapc# mount > /dev/ad4s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/ad4s1e on /tmp (ufs, local, soft-updates) > /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates) > /dev/ad4s1d on /var (ufs, local, soft-updates) > /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local) > 10.0.0.2:/usr/home/sbremal on /root/x (nfs) > > babapc# ls /root/x/usb_flash_drive/ > > -> Nothing!!! > > babapc# ls /usr/home/sbremal/usb_flash_drive/ > @Nokia                                          Images > Backup > > --- > > Any help would be much appreciated. > > (Would "freebsd-fs" be more appropriate to ask the question on?) > > Cheers, > Balazs You will need to export '/usr/home/sbremal/usb_flash_drive' also since it is another filesystem, not just a subdirectory. [reason you can see the subdirectory, but not the actual FS mounted in there] ]Peter[