Yes, btrfs provides a good feature for us to make snapshot, which is useful for backup and restore.
But if the size of the data that need to be snapshot is too larger, it will occupy too much space (thanks to btrfs, the time can be ignored.). For example, a typical MID root file system will have about 1G data. If we want to backup the whole system, we need 1G for each snapshot. I think it is terrible for a handheld device. While if we use UnionFS with btrfs for user data and squashFS for root file system. The data in btrfs will only contain user data, application and configuration. The size will be much smaller. Correct me if I am wrong. Thanks James -----Original Message----- From: Arjan van de Ven [mailto:[email protected]] Sent: 2009年9月26日 15:02 To: Wei, James Cc: Olsen, Alan R; [email protected] Subject: Re: [Moblin Dev] will moblin ever be able to use ext4? Wei, James wrote: > As mentioned in Alan's mail, with UnionFS, we can easily reset the device to > factory default. And also, it can make backup/restore to work with little > byte transferring. > > We can make the factory default system with SquashFS as read only. And any > changes and user data are stored with btrfs which is writable. For backup and > restore, we only need to handle the data in btrfs partition. the idea with btrfs is that the factory default gets snapshotted, and restoring to factory default is then just wiping the snapshot... _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
