My machine is FreeBSD 9.2.
My /etc/exports :
Then I run:
And it gives:
And similar error for then next two line of /etc/exports. So only the first line of /etc/exports has no error.
I've read handbook, and I knew that "In /etc/exports, each line defines the export information for one file system to one or more clients." So I think the problem is, /net/home, /net/data, /net/admin and /usr/ports are in the same file system.
But I don't know what does "in the same file system" mean. How do I know which file system is the file in? Since the directory /net is create by myself with mkdir(), how do I make that in the file system differ from /usr/ports?
Or the problem isn't about file system, what's wrong with my /etc/exports?
My /etc/exports :
Code:
/net/home -maproot=nobody saduty sabsd
/net/data -ro saduty sabsd
/net/admin saduty
/usr/ports saduty sabsd
Then I run:
service mountd startAnd it gives:
Code:
mountd[920]: can't change attributes for /net/data: Invalid radix node head, rn: 0 0xc346ca00
mountd[920]: bad exports list line /net/data -ro saduty sabsd
I've read handbook, and I knew that "In /etc/exports, each line defines the export information for one file system to one or more clients." So I think the problem is, /net/home, /net/data, /net/admin and /usr/ports are in the same file system.
But I don't know what does "in the same file system" mean. How do I know which file system is the file in? Since the directory /net is create by myself with mkdir(), how do I make that in the file system differ from /usr/ports?
Or the problem isn't about file system, what's wrong with my /etc/exports?