Skip to content

Commit

Permalink
Minor change.
Browse files Browse the repository at this point in the history
  • Loading branch information
msuhanov committed Aug 22, 2015
1 parent a896a74 commit 398177b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ The patch successfully blocks flush requests going to a device. Some programs (e
If you experience any problems with mounting a file system using the *ntfs-3g* driver, make sure that you include the "ro" mount option (use *mount -t ntfs-3g -o ro /dev/sda1 /mnt/sda1/* instead of *mount -t ntfs-3g /dev/sda1 /mnt/sda1/*).

### Problems with disk partitioning
When a new partition appears in a system, the udev rule marks it and a corresponding parent block device as read-only. Hence creating a new partition on a disk will result in write blocking being immediately re-enabled for that disk.
When a new partition appears in a system, the udev rule (see below) marks it and a corresponding parent block device as read-only. Hence creating a new partition on a disk will result in write blocking being immediately re-enabled for that disk.

### In-memory modifications
Some changes to a mounted file system made by a file system driver can be cached in memory, although they won't reach a physical drive (with the patch enabled and a block device marked as read-only, of course). In this situation, reading a "modified" data block with a userspace program (e.g. *dd* or *md5sum*) will result in inconsistency between data received by a userspace program and data actually stored on a drive, i.e. a userspace program will get the bytes from cache (containing modifications from a driver), not from a drive (no modifications here). Unmounting a file system will bring things back to normal.
Expand Down

0 comments on commit 398177b

Please sign in to comment.