Re: Flames over -- Re: Which is simpler?

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

 



Hi!


> >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".
				Pavel
-- 
64 bytes from 195.113.31.123: 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux