Darren J Moffat wrote:
> Gary Winiger wrote:
>>>> Well, they are static, no?  
>>> Static to a given site.  The issue is that the labels themselves are 
>>> classified information for some customers - usually only the 
>>> compartment bits - and as such it would be better if we could 
>>> encrypt them so that the handling of disks that contain labels could 
>>> be reduced.
>>
>>     That's why the internal format (aka hex label) is what is stored.
>>     By official government ruling (at least from us DoD) it is
>>     unclassified and may be view by anyone. 
>
> Does that then mean we can't allow for 'zfs get slabel' to return the 
> label_to_str() version ?  I could live with that providing we can 
> provide the 'zfs set slabel=public' rather than needing to use the 
> internal format to do zfs set.
'zfs get slabel' will work if it is run on a system with TX enabled, 
with a compatible label encodings file, and with sufficient privilege to 
translate the label. Otherwise it will just return the untranslated hex 
label strings.

--Glenn

Reply via email to