Comments (4)
This seems like a corner case. Reading /dev/null yields EOF so its length is 0 bytes. So the only misreporting above is "remaining blocks=-3". Overall, is it an error? Probably because it was asked to copy one 512 byte block (to stdout). Thoughts?
from sg3_utils.
I called it a regression because this works fine in v1.46
so, the behavior should be preserved right?
from sg3_utils.
In v1.46 it reports the request count was not copied but returns an exit status of 0. That was changed in v1.47 to considering that as an error. v1.47 has been out for 18 months and I will shortly release v1.48 . I believe that it is an error and shouldn't be quietly ignored. So I plan to keep the v1.47 action. Just put up a new version that fixes the "remaining blocks=-3" part and that should be now remaining blocks=1 . Thanks for reporting this.
from sg3_utils.
Thanks for the inputs. Yes, what you said makes sense. Closing this.
from sg3_utils.
Related Issues (15)
- The sorting order of the output numeric part is out of order HOT 3
- shared library SONAME HOT 2
- rescan_scsi_bus.sh: Why it's pointless to do a target scan on FC ? HOT 3
- rescan-scsi-bus.sh: function "findremapped" is too slow when there is 1K luns on server,is there any way to solve it? HOT 5
- rescan-scsi-bus.sh: when there is a logical lun-0, testonline will spend 30s to retry-check it HOT 6
- Identify device output for SATA on big endian HOT 11
- Strange behavior of sg_inq -HH option HOT 2
- invalid VPD response; probably a STANDARD INQUIRY response HOT 2
- Input parameter handling for sg_wr_mode fails... HOT 3
- sg_logs: output for Device Statistics page (14h), serial numbers should be strings? HOT 5
- rescan-scsi-bus.sh: -r flag unmounts active root disk HOT 3
- Something weird happened in windows... please help me understand. HOT 3
- interaction between sg_start and systemd-udevd may spin-up disk immediately after spin-down HOT 4
- sg_ses: order of low_crit and low_warn thresholds is mixed for `--get` command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sg3_utils.