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

Re: Howto implement device detection without thrashing



-----BEGIN PGP SIGNED MESSAGE-----

What if the if the device test is done while the install is going, but before
the file system is created. If the system hangs, and trashes the disk so what
we format it to ext2 on the reboot anyways. You can do lowlevel filewrites
directly to the drive. and either way, itll be their when you restart.

Stephen Przepiora

On Wed, 17 Mar 1999, Wichert Akkerman wrote:
> >%_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/
> 

- ----------------------------------------
Content-Type: application/pgp-signature; name="unnamed"
Content-Transfer-Encoding: 7bit
Content-Description: 
- ----------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBNvDwfOmHzGy9kqTJAQHZCQP9E9K8JcyRMfxOK+rUloiCKGm0i5MbeTaM
bie44nkEVKrOuotNy/BvVGYidwMzgvhrA9JDd/5tbXlC+S/3ttT7ryF6RvDkpCRG
1DuPQJ6lJlaRPrdWTraMJZWs2mrj/2O4dCrvz7928wBTztd3aviAxZbGLeeTbaH7
Zd/9onzw/r0=
=uYl+
-----END PGP SIGNATURE-----


Reply to: