Bug 179877
Summary: | RFE: support multiple commands on command line | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tom "spot" Callaway <tcallawa> | ||||
Component: | ethtool | Assignee: | Jeff Garzik <jgarzik> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | james.brown, notting, peterm | ||||
Target Milestone: | --- | Keywords: | FutureFeature | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Enhancement | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-08-21 19:35:29 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Tom "spot" Callaway
2006-02-03 16:10:23 UTC
Created attachment 124108 [details]
add ETHTOOL_PAUSE_OPTS handing
Hm, but what if someone then wants to change the -G settings, etc - another commandline option and invocation? Perhaps we can... convince... the ethtool upstream to allow multiple commands on the command line. That would also be an acceptable approach. Pushing to ethtool for the moment - allowing multiple commands on the command line would make this much simpler. Adding FutureFeature keyword to RFE's. To repeat the answer that has been repeated since 2002: ethtool utility is a small, lightweight utility that has a 1-1 correspondence between ethtool commands and the ethtool ioctls it issues to the kernel. (some of 'list' commands excepted) A single ethtool invocation performs a single ethtool ioctl. Inside the kernel, a single ethtool ioctl is the smallest unit of atomicity available. The userspace utility matches that interface. If you want to issue multiple ioctls, fix your infrastructure to perform multiple ethtool(1) invocations. A simple, looping shell script will easily solve this bug. If it makes people happy, call this script "ethtool-multi". |