Viewing XATTR Status for Mounted Shares

By default, shares that are mounted by the mount_smbfs command enable Oracle Solaris extended attributes by setting the xattr mount option. However, if the SMB server does not support Windows named streams, shares mounted by mount_smbfs set the noxattr mount option.

To verify whether the xattr or noxattr mount option is used, type the following command:

$ mount -v | grep 'type smbfs'

The following example shows that the share mounted on /mnt has xattr set, while the share mounted on /tmp has noxattr set:

$ mount -v | grep 'type smbfs'
//root@solarsystem/tmp on /mnt type smbfs   
  remote/read/write/setuid/devices/intr/xattr/dev=5080000 on Tue Jun  5 18:20:48 2012
//root@pluto/files on /files type smbfs
 remote/read/write/setuid/devices/intr/noxattr/dev=4800000 on Mon Jun  4 11:37:26 2012