On Wed, 2003-12-31 at 19:15, Andries Brouwer wrote: > My plan has been to essentially use a hashed disk serial number > for this "any old unique value". The problem is that "any old" > is easy enough, but "unique" is more difficult. > Naming devices is very difficult, but in some important cases, > like SCSI or IDE disks, that would work and give a stable name. Yup. > The kernel must not invent consecutive numbers - that does not > lead to stable names. Setting this up correctly is nontrivial. This is definitely an interesting problem space. I agree wrt just inventing consecutive numbers. If there was a nice way to trivially generate a random and unique number from some device-inherent information, that would be nice. Rob Love - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups: References:
- Re: udev and devfs - The final wordGreg KH
- Re: udev and devfs - The final wordRob Love
- Re: udev and devfs - The final wordAndries Brouwer
- Prev by Date: Re: udev and devfs - The final word
- Next by Date: Re: [PATCH][2.6] Remove warning in ftape
- Previous by thread: Re: udev and devfs - The final word
- Next by thread: Re: udev and devfs - The final word
- Indexes:[Main][Thread]