On 05/ 5/10 08:08 AM, Tom Haynes wrote:

typedef struct share {
struct share *sh_next;
char *sh_path; /* share path */
char *sh_resource; /* share name */
char *sh_fstype; /* protocol string ("nfs" |
"smb") */
char *sh_opts; /* share property string */
char *sh_descr; /* share description */
size_t sh_size;
} share_t;


sh_fstype is not an appropriate name for the contents.

The contents are a protocol and not a filesystem.

sh_proto?

This is actually an existing structure. see:

uts/common/sharefs/share.h

And the layout botch is my fault.  No changes are planned
to the existing Nevada structure.

Alan
_______________________________________________
opensolaris-arc mailing list
[email protected]

Reply via email to