Stale cached data in bdbuf creates problems

ali nasir supremenasir at
Tue May 1 07:20:32 UTC 2012


Is the below calls not sufficient to syncand purge all the physical and logical disks?

rtems_bdbuf_syncdev(dev)    //dev is created using the rtems_filesystem_make_dev_t(major, minor)

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?


 From: Sebastian Huber <sebastian.huber at>
To: rtems-users at 
Sent: Monday, April 30, 2012 5:53 PM
Subject: Re: Stale cached data in bdbuf creates problems

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.

-- Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

rtems-users mailing list
rtems-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list