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

Re: Howto implement device detection without thrashing



Previously Torsten Landschoff wrote:
> I think it is well worth it. But the way they write the info is simple and
> bad.

Indeed. I would *much* rather have a system that does only save
detection (ie PCI and PnP scan) and simple skip everything else. That
way I can be sure that my system doesn't crash during the detection. If
people want non-safe detection it could be an option, but I really don't
want to support that since we can never get that right anyway.

> 1. we know how many tests we are running. This way we could just fill the file
> with this much of null bytes. Then we can start writing at the beginning and
> sync after each test but ONLY the file contents.

Doesn't work, you can't only sync everything with Linux, not a single
device or a single file.

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@cs.leidenuniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpLdI3ybuQ4t.pgp
Description: PGP signature


Reply to: