Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory

Keywords: Match:
Getting to know Windows XPe's new File Based Write Filter
by Milong Sabandith (Oct. 18, 2006)

Foreword: This whitepaper, third in our series leading up to the Nov. 1 official launch of Windows XP Embedded SP2 Feature Pack 2007, introduces XPe's new File Based Write Filter (FBWF). Basically, FBWF enables enhanced flash memory reliability through stateless operation, reduced wear, and improved servicing functions, writes Milong Sabandith, a member of the Windows Embedded team.



Getting to know Windows XPe's new File Based Write Filter

A new write filter with improved servicing

by Milong Sabandith


Windows XP Embedded Service Pack 2 Feature Pack 2007 introduces a new Embedded Enabling Feature (EEF) called File Based Write Filter (FBWF). This new EEF will provide stateless protection of solid state devices with improved servicing features. It is easily configured from Target Designer and can be dynamically configured using the provided command-line tool or API.

In the embedded world, FBWF will be enabled on devices to provide OS resiliency and reliability, stateless operation, and eliminate wear. It does this be redirecting writes to a cache. The cache can be thought of as an overlay on top of the media where the composite view is a combination of the contents on disk and the RAM overlay cache. On system reboots, the RAM overlay is discarded, so the operating system is left in a pristine state. See the diagram below, showing the composite view of modified files and new files in the cache.


(Click to enlarge)

EWF (Enhanced Write Filter), the other write filter provided by Windows XP Embedded, intercepts calls at the sector level. Protecting at the sector level gives EWF full file system compatibility, and will protect against filters attached to the file system. However, EWF blindly filters all sector reads and writes. Since FBWF hooks in at the file level, it can perform intelligent filtering based on files, folders, or any file system data structures. It can also do a much better job reclaiming memory.

Now, in order to protect at the file level, the developer needs the ability to tell FBWF which files/folders to protect and not protect. We do this via a "Write Through List." The write through list allows FBWF to ignore directories and files on the protected volume. In other words, writes to the media bypass FBWF and write directly to the disk.

Imagine a user who frequently downloads and saves video files frequently. The device's media directory can be configured to be "write through," allowing the files to persist across reboots. Other typical entries in the write through list are log files and system event files.

Another useful feature is the ability to commit files live. While the operating system is running, files can be committed to disk. Imagine IT managers requiring monthly updates to update a database for virus signatures. The database is in a protected location on the disk. After the database is updated, it can be committed live, without first disabling FBWF. This doesn't require reboots or pre-population in the write through list.

To summarize, the new FBWF function write-protects embedded devices at the file level, in contrast to the EWF, which has been protecting devices at the sector level. This allows FBWF to enable new device scenarios -- for instance, being able to service application files or system files without having to commit the entire disk.

There are numerous other features to help the embedded developers, including a command line tool, an FBWF API, live Restore, and three memory allocation types. When Feature Pack 2007 is released, be sure to try out FBWF.

Further details

You can find more information about Windows XPe at its homepage on MSDN. You can also download a Community Technology Preview version of FP 2007 from the Microsoft Connect Site -- sign up for the CTP using this Invitation ID: 123-BC7M-6GVK.


Copyright (c) 2006 Microsoft Corp. All rights reserved. Reproduced by WindowsForDevices.com with permission.




(Click to see cactus)
About the author: Milong Sabandith is a developer on the Microsoft's Windows Embedded team. He comes from the Windows Deployment Team and has intimate knowledge of OS internals. Sabandith hails from Canada and plays hockey during his spare time.



Read the Complete XPe SP2 FP2007 Whitepaper Series



Other Related Stories


(Click here for further information)


7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

4 Legal Reasons to Control Internet Access
The Internet is obviously a valuable resource for many organizations. However, many are exposed to legal liability concerns because they fail to control Internet access. Learn if you're safe in this white paper.

Rapidly Resolve J2EE Application Problems
Whether you are in the process of building J2EE applications or have J2EE applications already running in production, you must ensure that they deliver the expected ROI. Learn how in this white paper.

Load Testing 2.0 for Web 2.0
There are many unknowns in stress testing Web 2.0 applications. Find out how to test the performance of Web 2.0 in this white paper.

Build Better Games Online
For the game infrastructure providers, life is complex. Making money from games has become more complicated. Why? Find out in this white paper.

Building a Virtual Infrastructure from Servers to Storage
This white paper discusses the virtual storage solutions that reduce cost, increase storage utilization, and address the challenges of backing up and restoring Server environments.

Gaining Faster Wireless Connections with WiMAX
Welcome to what is quickly becoming the hyperconnected world where anything that would benefit from being connected to the network will be connected. Learn more in this white paper.

Is Your Desktop a Security Threat?
The new wave of sophisticated crimeware not only targets specific companies, but also targets desktops and laptops as backdoor entryways into those business’ operations and resources. Learn how to stay safe in this white paper.

Increasing SAN Reliability by 100 Percent
Storage area networks (SAN) are a strong part of storage plans. Learn how to increase your reliability and uptime by 100 percent in this case study.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)


Check out the latest Windows-powered...

mobile phones!

other cool
gadgets

HOT TOPICS
Microsoft targets PNDs with new embedded OS
Microsoft tips .NET MF 3.0 highlights
Microsoft previews Windows Embedded Standard
Microsoft offers free Windows CE 6.0 textbook
Microsoft renames embedded operating systems
Microsoft unveils Windows Mobile 6.1
New Atom models target low-cost PCs
REFERENCE GUIDES
Windows Device Showcase
Intro to Windows Embedded
Intro to Shared Source
Real-time Windows Embedded
Windows Embedded books
Join our Windows Embedded discussion forums:
Windows XP Embedded
Windows CE
Windows Mobile


Windows Embedded developer newsgroups
Windows CE
XP Embedded
PocketPC
Smartphone

Microsoft's Windows Embedded resources
Embedded dev center
Mobile dev center
Windows CE tutorials
XP Embedded tutorials
Windows Embedded seminars
Windows Embedded application categories
3rd-party partners


BREAKING NEWS

• Upated JVM supports Windows CE
• Windows Mobile 6.1 phone has GPS
• Windows CE thin client hides in wall sockets
• Portable spectrum analyzer runs Windows CE
• VoIP client gains add-ons, API
• Windows Mobile phone has dual active SIMs
• Access gives away Windows Mobile utilities
• Intel's Atom powers mini-ITX board
• Microsoft revamps Windows Mobile website
• Low-cost phone bundles IM client
• Pico-ITX board bears twins
• Microsoft details finalists in student competition
• Intrinsyc revs Windows CE-based software platform
• $300 mini-laptop runs Windows CE
• Microsoft releases server virtualization technology


MOST POPULAR (last 90 days)
Windows Mobile 6 SDKs available for download
Guide to HTC's Windows Mobile smartphone platforms
Microsoft unveils Windows Mobile 6.1
HTC announces unlocked Windows Mobile 6.1 phone
UMPC squeezes in optical drive
Running Windows Mobile 6.1 on your desktop computer
Microsoft releases Windows XP Service Pack 3
Mobile Firefox gets speedup, design tweaks
MOST POPULAR (Classics from the vault)
The Windows Mobile Phones Showcase
Windows XP Embedded USB boot
Troubleshooting Windows XPe's blue screen "Stop 0x0000007B" error
Asus reveals $190 mini notebook
HTC adds GPS to Windows Mobile Touch line
Windows Mobile VPN client plays with Cisco
Guide to HTC's Windows Mobile smartphone platforms
Customizing Windows XP Embedded thin clients
The Windows Mobile Pocket PCs Showcase

Also visit our sister sites:


Sign up for WindowsForDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  Directory  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Windows is a trademark or registered trademark of Microsoft Corporation in the United States and/or other countries and is used by WindowsForDevices under license from owner. All other marks are the property of their respective owners. WindowsForDevices is an independent publication not affiliated with Microsoft Corporation.