I have multiple drives in a computer and I would like to share all of them at once instead of sharing each one as described in this tutorial. Is that possible?
For example instead of sharing the drive /mnt/hdd1, could I share all drives mounted in /mnt?
The crossmnt option makes it possible for clients to access all filesystems mounted on a filesystem marked with crossmnt and clients will not be required to mount every child export separately. Note this may not be desirable if a child is shared with a different range of addresses.
Instead of crossmnt, one can also use the nohide option on child exports so that they can be automatically mounted when a client mounts the root export. Being different from crossmnt, nohide still respects address ranges of child exports.
Use an asterisk (*) to allow access from any interface.
It should be noted that modifying /etc/exports while the server is running will require a re-export for changes to take effect: