<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi,</span></div><div><span></span><span><br></span></div><div><span>Is the below calls not sufficient to sync</span><span class="tab"> and purge all the physical and logical disks?</span></div><div><span class="tab"><br></span></div><div>rtems_bdbuf_syncdev(dev)    //dev is created using the rtems_filesystem_make_dev_t(major, minor)<br>rtems_bdbuf_purge_dev(dev)</div><div><br><span></span></div><div><span>How do we purge all the logical drives? Is there a separate call for the same? or do we have change the argument of the above calls to something else?</span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Ali</span></div><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif;
 font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Sebastian Huber <sebastian.huber@embedded-brains.de><br> <b><span style="font-weight: bold;">To:</span></b> rtems-users@rtems.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, April 30, 2012 5:53 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: Stale cached data in bdbuf creates problems<br> </font> </div> <br>
Hi,<br><br>you have to sync and purge all disks (the physical and all logical) of a driver instance.   The MBR is read from the physical disk.<br><br>-- Sebastian Huber, embedded brains GmbH<br><br>Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany<br>Phone   : +49 89 18 90 80 79-6<br>Fax     : +49 89 18 90 80 79-9<br>E-Mail  : <a ymailto="mailto:sebastian.huber@embedded-brains.de" href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a><br>PGP     : Public key available on request.<br><br>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br><br>_______________________________________________<br>rtems-users mailing list<br><a ymailto="mailto:rtems-users@rtems.org" href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>http://www.rtems.org/mailman/listinfo/rtems-users<br><br><br> </div> </div>  </div></body></html>