Re: devfs persistence

From: Richard Gooch (rgooch@ras.ucalgary.ca)
Date: Sat Apr 29 2000 - 13:49:26 EST


Matthew Jacob writes:
> > > This is why I stand by what I said- the driver (or some midlayer)
> > > has got to either assure a address constant to the app or fs layer
> > > while the system is running or send back an I/O error if it can't.
> >
> > But will the disc *I* plug in have the same host,bus,target,lun?
> > And if not, how on earth do I find out what the unique identifier is?
> > I've just walked downstairs and plugged in 5 new discs, meantime
> > someone in another building has plugged in another 5 new discs.
> >
> > Which are mine?
>
> The ones with the WWNs you've written down :-).. Seagate && other
> folks should be putting WWNs on the disks themselves- I haven't seen
> them there, but maybe they're starting to do this- some HBA vendors
> do this for their cards' WWNs.

*IF* the WWNs are written on the discs, then we're fine. All (ha!)
that is needed is that the SCSI subsystem detects insert and remove
events and can probe the WWN. Then it's trivial to expose in
/dev/scsi/wwn/

                                Regards,

                                        Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
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/



This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:17 EST