NFS exporting mounted msdosfs subdir

sbremal at sbremal at
Sun Jan 10 11:09:30 UTC 2010


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 -mask
# 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.

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) on /root/x (nfs)

babapc# ls /root/x/usb_flash_drive/

-> Nothing!!!

babapc# ls /usr/home/sbremal/usb_flash_drive/
@Nokia                                          Images


Any help would be much appreciated.

(Would "freebsd-fs" be more appropriate to ask the question on?)

Keep your friends updated—even when you’re not signed in.

More information about the freebsd-questions mailing list