We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your counters is exactly what i need. Works perfectly on CentOS.
But i try to use in FreeBSD and get a error.
Is possible make this avaliable to FreeBSD?
Or can tell me how can'i do it?
The text was updated successfully, but these errors were encountered:
Using version without python, in the following line ...
UserParameter=custom.vfs.dev.discovery,DEVS=grep -E -v 'fd|loop|ram|sr|major|^$|dm-' /proc/partitions | awk '{if($2==0||($2%8==0))print $4}'|sed 's/\//\!/g';POSITION=1;echo "{";echo " "data":[";for DEV in $DEVS;do if [ $POSITION -gt 1 ];then echo -n ",";fi;echo -n " { "{#DEVICENAME}": "$DEV"}";POSITION=expr $POSITION + 1;done;echo "";echo " ]";echo "}"
grep -E -v 'fd|loop|ram|sr|major|^$|dm-' /proc/partitions | awk '{if($2==0||($2%8==0))print $4}'|sed 's/\//\!/g'
expr $POSITION + 1
... i try to change '/proc/partitions' with 'gpart show -p' but is much complex to me make it work ;(
Sorry, something went wrong.
No branches or pull requests
Your counters is exactly what i need. Works perfectly on CentOS.
But i try to use in FreeBSD and get a error.
Is possible make this avaliable to FreeBSD?
Or can tell me how can'i do it?
The text was updated successfully, but these errors were encountered: