On Wed, Dec 16, 2015 at 09:36:23AM +0800, Qu Wenruo wrote: > > > > mount -o ro,nowr /dev/sdx /mnt > > > > would work when switching kernels. > > > That would be nice. > > I'd like to forward the idea/discussion to filesystem ml, not only btrfs > maillist.
Good idea. > Such behavior should better be coordinated between all(at least xfs and > ext4 and btrfs) filesystems. > > One sad example is, we can't use 'norecovery' mount option to disable > log replay in btrfs, as there is 'recovery' mount option already. I think we should pick a name that's not tied to the implementation how the potential writes could happen under a RO mount. Recovery/replay/whatever, the expected use is "avoid any writes". > So I hope we can have a unified mount option between mainline filesystems. That would be a good thing indeed. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html