Messages in this thread | | | Subject | Re: sg.h | From | Andreas Jaeger <> | Date | 20 Nov 1999 12:08:20 +0100 |
| |
>>>>> Douglas Gilbert writes:
>> Hello, >> >> I suppose this has been asked before, but what I should use >> /usr/include/scsi/ (the one that comes with glibc-2.1.x) or I should make >> a link >> >> /usr/include/scsi -> /usr/src/linux/include/scsi >> >> it seems that the SG_BIG_BUF macro is defined in /usr/include/scsi/sg.h >> but also in /usr/src/linux/include/scsi/sg.h and it appears that they are >> not synced. So if I change /usr/include/scsi/sg.h (for cdrecord & co) >> should I change the sg.h in the kernel tree?
Douglas> The directory /usr/include/scsi belongs to the GNU library Douglas> while /usr/src/linux/include/scsi belongs to kernel source Douglas> tree. "Logically" they should contain the same files. What Douglas> actually seems to happen is that the former lags the latter.
Douglas> Now if you replaced the word "scsi" with "linux" in the Douglas> 2 directories in the above paragraph then this is no problem Douglas> because /usr/src/linux is a symbolic link to the other. Douglas> Andreas Jaeger <aj@suse.de> and others have suggested that Douglas> it is wrong-headed of me to suggest the same solution Douglas> should apply to /usr/include/scsi. So that's where we stand at Douglas> the moment. RH 6.0 and RH 6.1 have out of sync sg.h headers. Douglas> Andreas has indicated that he will get them into sync. This Douglas> will be quiet difficult to do because sg.h is different in Douglas> the 2.2 and 2.3 series of kernels (only marginally at the moment).
I synched them now as good as possible - the changes will be in glibc 2.1.3.
What problems do you see? Please tell me privatly - I can provide you the current versions if you like.
Douglas> At least 3 Linux kernel header files (for user space usage) are Douglas> effected by this: Douglas> sg.h [ as noted above ] Douglas> scsi.h [ currently in sync ] Douglas> scsi_ioctl.h [ not present in /usr/include/scsi ] Will be in glibc 2.1.3.
Douglas> I have yet to check but the multiple queue work on the SCSI Douglas> sub-system by Eric Youngdale may well open up a difference Douglas> in the 2.2 and the 2.3 versions of scsi.h . :-(
Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.rhein-neckar.de
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |