[lkml]   [2006]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Flames over -- Re: Which is simpler?

> >You are ignoring the question of how the kernel can tell whether two
> >devices are in fact the same. There is no safe way to do this,
> >other than having the hardware verify that the device was connected
> >the whole time.
> >
> >
> If there is no better way to tell for sure that the device that is
> now there is not the same as the one that was there, then the kernel
> must assume the user did not do something stupid and continue to use

Must?! Are you Linus or what?

> the device as if it was not disconnected ( because odds are, it in
> fact, was not ). In other words, which is more safe? ALLWAYS
> loosing data because you can't be absolutely sure that the device is
> the same, or only loosing data if the user does something as foolish
> as swapping drives while suspended, and you can't tell they did?

You are missing this. In 1st case, no data is actually lost, because of
sync in suspend code;
while second case is "goodbye, filesystem".
64 bytes from icmp_seq=28 ttl=51 time=448769.1 ms

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-02-18 13:59    [W:0.079 / U:9.724 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site