Vitalij Satanivskij wrote: VS> Jaakko Heinonen wrote: VS> JH> On 2013-01-19, Jaakko Heinonen wrote: VS> JH> > On 2013-01-18, Alexander Motin wrote: VS> JH> > > At cam/scsi/ses_set_physpath.c ses_set_physpath(). Duplicate names are VS> JH> > > impossible there, as previous name components are unique. Special VS> JH> > > characters haven't yet seen, but I think theoretically possible. VS> JH> > VS> JH> > I see two possible solutions for the problem. VS> JH> > VS> JH> > 1) Replace non-printable, space and '/' characters for example with '_'. VS> JH> > '/' should be replaced anyway. VS> JH> > VS> JH> > 2) Apply the patches in VS> JH> > http://lists.freebsd.org/pipermail/svn-src-all/2013-January/063661.html VS> JH> > to allow spaces again. I haven't committed the patches because I VS> JH> > think that there isn't full consensus that it's right thing to do and VS> JH> > also I personally prefer not to have spaces in device names. VS> JH> VS> JH> Here's a patch to implement 1: VS> JH> VS> JH> http://people.freebsd.org/~jh/patches/scsi_enc_ses-si_name.diff VS> VS> Ok that patch work's too. VS> VS> ses1: da0,pass5,probe8: Element descriptor: 'Slot 08' VS> ses1: da0,pass5,probe8: SAS Device Slot Element: 1 Phys at Slot 7 VS> ses1: phy 0: SATA device VS> ses1: phy 0: parent 5003048000baa87f addr 5003048000baa853 VS> da0 at mps0 bus 0 scbus7 target 8 lun 0 VS> da0: <ATA ST3500630NS G> Fixed Direct Access SCSI-6 device VS> da0: 300.000MB/s transfers VS> da0: Command Queueing enabled VS> da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C) Is there any chance, that one of this patches will be merged to head?Received on Wed Jan 23 2013 - 06:13:55 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC