Actions
Bug #4195
closedsnoop(1m) should print NFS_ACL mask in hex
Start date:
2013-10-10
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Here is an example of the snoop(1m) output for NFS_ACL packets:
2416 4:43:7.23286 192.168.10.170 -> 192.168.10.233 NFS_ACL C GETACL3 FH=0D3B mask=10 2417 4:43:7.23293 192.168.10.233 -> 192.168.10.170 NFS_ACL R GETACL3 OK 2418 4:43:7.23336 192.168.10.170 -> 192.168.10.233 NFS_ACL C GETACL3 FH=0D3B mask=15 2419 4:43:7.23344 192.168.10.233 -> 192.168.10.170 NFS_ACL R GETACL3 OK 2420 4:43:7.23408 192.168.10.170 -> 192.168.10.233 NFS_ACL C GETACL3 FH=0C3B mask=10 2421 4:43:7.23414 192.168.10.233 -> 192.168.10.170 NFS_ACL R GETACL3 OK 2422 4:43:7.23440 192.168.10.170 -> 192.168.10.233 NFS_ACL C GETACL3 FH=0C3B mask=15 2423 4:43:7.23447 192.168.10.233 -> 192.168.10.170 NFS_ACL R GETACL3 OK 2424 4:43:7.23477 192.168.10.170 -> 192.168.10.233 NFS_ACL C GETACL3 FH=0F3B mask=15 2425 4:43:7.23481 192.168.10.233 -> 192.168.10.170 NFS_ACL R GETACL3 OK
The mask printed is in decimal which is confusing. The mask=10 in the output above means 00001010 (binary) or 0xa (hex).
Fortunately, when -v option is used for snoop the mask is printed in hex:
NFS_ACL: ----- Sun NFS_ACL ----- NFS_ACL: NFS_ACL: Proc = 1 (Get file access control list) NFS_ACL: File handle = [0C3B] NFS_ACL: 53AB8723081F9BA10A000D4502000000DF9608000A0004000000000091DE0600 NFS_ACL: Mask = 0xa NFS_ACL: .... ...0 = (no aclent) NFS_ACL: .... ..1. = aclcnt NFS_ACL: .... .0.. = (no dfaclent) NFS_ACL: .... 1... = dfaclcnt NFS_ACL:
Updated by Marcel Telka about 9 years ago
- Status changed from New to In Progress
- Assignee set to Marcel Telka
Updated by Marcel Telka about 9 years ago
- Status changed from In Progress to Pending RTI
Updated by Marcel Telka about 9 years ago
- Status changed from Pending RTI to Resolved
commit 023efabbe28d70d797973d99bf36d5552c2a8cb8 Author: Marcel Telka <marcel.telka@nexenta.com> Date: Sat Jan 11 01:46:24 2014 +0100 4195 snoop(1m) should print NFS_ACL mask in hex Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com>
Actions