aboutsummaryrefslogtreecommitdiff
path: root/Documentation/mmc/mmc-dev-parts.txt
diff options
context:
space:
mode:
authorGravatar John W. Linville <linville@tuxdriver.com> 2012-02-15 16:24:37 -0500
committerGravatar John W. Linville <linville@tuxdriver.com> 2012-02-15 16:24:37 -0500
commitca994a36f585432458ead9133fcfe05440edbb7b (patch)
treebe05512153a9cd5cbe1f1234bc09fd9cd388ec58 /Documentation/mmc/mmc-dev-parts.txt
parentrtlwifi: Modify rtl_pci_init to return 0 on success (diff)
parentath9k: stop on rates with idx -1 in ath9k rate control's .tx_status (diff)
downloadlinux-ca994a36f585432458ead9133fcfe05440edbb7b.tar.gz
linux-ca994a36f585432458ead9133fcfe05440edbb7b.tar.bz2
linux-ca994a36f585432458ead9133fcfe05440edbb7b.zip
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
Conflicts: net/mac80211/debugfs_sta.c net/mac80211/sta_info.h
Diffstat (limited to 'Documentation/mmc/mmc-dev-parts.txt')
-rw-r--r--Documentation/mmc/mmc-dev-parts.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/mmc/mmc-dev-parts.txt b/Documentation/mmc/mmc-dev-parts.txt
index 2db28b8e662f..f08d078d43cf 100644
--- a/Documentation/mmc/mmc-dev-parts.txt
+++ b/Documentation/mmc/mmc-dev-parts.txt
@@ -25,3 +25,16 @@ echo 0 > /sys/block/mmcblkXbootY/force_ro
To re-enable read-only access:
echo 1 > /sys/block/mmcblkXbootY/force_ro
+
+The boot partitions can also be locked read only until the next power on,
+with:
+
+echo 1 > /sys/block/mmcblkXbootY/ro_lock_until_next_power_on
+
+This is a feature of the card and not of the kernel. If the card does
+not support boot partition locking, the file will not exist. If the
+feature has been disabled on the card, the file will be read-only.
+
+The boot partitions can also be locked permanently, but this feature is
+not accessible through sysfs in order to avoid accidental or malicious
+bricking.