blob: 1e14f4d636d299be7f138c7d00431d6d778f7db0 [file] [log] [blame]
#!/bin/ksh
../pynfs/nfs4client.py -u -p pinatubo1 << EOF
putrootfhop = c.ncl.putrootfh_op()
attr_request = nfs4lib.list2attrmask([FATTR4_RAWDEV,FATTR4_TYPE,FATTR4_SPACE_AVAIL])
getattrop = c.ncl.getattr_op( attr_request )
res = c.ncl.compound([putrootfhop, getattrop])
nfs4lib.fattr2dict( res.resarray[-1].arm.arm.obj_attributes )
quit
EOF