Re: ybin on powerpc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 21 Aug 2006 07:54:17 +1000
Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> wrote:

> 
> > Well ... OK, we shouldn't break things gratuitously.  However,
> > the /proc/scsi interface is deprecated and has been for a while now.
> > 
> > Secondly, as Matthew pointed out, the SCSI standards actually keep
> > changing their minds about the names of these things ...
> > 
> > But, thirdly, in order to get around the issue, we provided the
> > 
> > /sys/class/scsi_disk/<x:y:z:i>/device/type
> > 
> > interface which supplies the numeric field value precisely so people
> > shouldn't parse the translated strings.
> > 
> > So, it sounds like yaboot is also in need of modification.
> 
> CC'ed Paul Nasrat who is the current yaboot maintainer
> 
> (Paul, the problem is about a /proc/scsi change breaking ofpath. The
> change will probably be reverted, but still, ofpath should be changed to
> not rely on that crap anymore)
> 

yup.

James, I think the best (only) way in which we can communicate with all
users of the kernel is via the kernel.  So we add a once-per-boot printk on
first access to /proc/scsi/scsi (it should include current->comm).

That should get people migrating off /proc/scsi/scsi as quickly as we can
reasonably expect.  Then in a year or four we can perhaps remove it.
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux