Comments (2)
libsgutils2 is intended to be public library but was not designed as such. Initially it was to save me duplicating code in each sg_* utility. I try not to change the interface of existing functions but sometimes T10 makes that difficult so I might add a <function_name>_v2 variant. I think more about multi OS support, C and POSIX compliance than ABI stability. Plus I check it builds cleanly in C++ .
I have noticed that runtime linking with shared objects can fail if a utility from version 1.45 say (e.g. sg_vpd) is run with the libsgutils2 from version 1.44 .
I'm no expert on SONAME and libtools but will take some guidance from the downstream RedHat and Suse maintainers if it can be improved. To date I don't remember getting any feedback from them on this issue.
from sg3_utils.
I have noticed that runtime linking with shared objects can fail if a utility from version 1.45 say (e.g. sg_vpd) is run with the libsgutils2 from version 1.44 .
That would be expected, I think.
Debian wants to ship libsgutils2 (and currently does), because other software uses it. With the current SONAME format, everytime there is a new sg3_utils release, the SONAME changes. This causes a lot of work on the Debian side (new binary packages have to be introduced, all software using them has to be rebuilt, etc). Which is not ideal. BUT: if you are saying you do not have strong ABI stability checks in place, then maybe this is correct (for now)!
It really depends on what you want to do. If you can commit to ABI stability (and: if the ABI changes, changing the SONAME), then a manually managed, "stable" SONAME is a good thing. On the other hand, if the ABI can change maybe unexpectedly, then its better to keep the version number in the SONAME.
from sg3_utils.
Related Issues (13)
- The sorting order of the output numeric part is out of order HOT 3
- 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
- Regression in sgp_dd command HOT 4
- 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
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.