Skip to content

Add support for AIX - #16

Open
daltenty wants to merge 1 commit into
denisbrodbeck:masterfrom
daltenty:daltenty/aix-support
Open

Add support for AIX#16
daltenty wants to merge 1 commit into
denisbrodbeck:masterfrom
daltenty:daltenty/aix-support

Conversation

@daltenty

Copy link
Copy Markdown

Add a basic implementation for AIX using os_uuid attribute.

@sideeffect42

Copy link
Copy Markdown

Small improvement: add -F value to the lsattr command to print only the UUID instead of cutting the 2nd field of the output.

e.g.

$ lsattr -E -l sys0 -a os_uuid -F value
027ac63b-afff-492f-8e1c-bda6ab0f9ff6

Im not a Go person, but if calling a C function is possible, there would be getosuuid().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants