RE: Why are spaces removed from the disk serial number?
"Cetnerowski, Adam" <[email protected]> Tue, 1 Jul 2008 15:26:31 +0100
| Newsgroups | gmane.linux.ataraid |
|---|---|
| Message-ID | <708F8794D464F346B28DF53E5CDD805F03F5A780@swsmsx412.ger.corp.intel.com> |
Cetnerowski, Adam wrote: > The serial number for sdb does look fishy and it could be interacting > strangely with the library isspace() function used to strip out the > whitespace (if some of the strange characters are control characters). > This may be the reason why the raid set is recognized under Windows. The question is, should the whitespace even be stripped? If the disk has a space in its serial number, then shouldn't it be recorded in the metadata with the space? If the space is supposed to be stripped then I can see the isspace() behaving incorrectly on control characters, but it seems to me that if the disk reports a space, the metadata should have a space in it as well. We will need a reply from Heinz on this. Adam Cetnerowski Intel Technology Poland