errors=remount-ro doesn't work. Remove it.

r63493
This commit is contained in:
Colin Watson 2010-06-18 10:21:24 +00:00
parent cb4802ac2b
commit 88785a6d83
3 changed files with 6 additions and 6 deletions

1
TODO
View file

@ -1,7 +1,6 @@
* Support for multi-volume btrfs filesystems
* Support for other mkfs.btrfs options, if any are useful.
* Support for btrfs snapshots / using existing btrfs?
* Check if errors=remount-ro makes sense to use.
* mountoptions is missing a few options that may be worth supporting,
including degraded, and all optionds that require a parameter.
* mountoptions contains nobarrier, which is an unsafe option. Remove? Warn?

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
partman-btrfs (2) UNRELEASED; urgency=low
* errors=remount-ro doesn't work. Remove it.
-- Colin Watson <cjwatson@debian.org> Fri, 18 Jun 2010 11:20:14 +0100
partman-btrfs (1) unstable; urgency=low
[ Joey Hess ]

View file

@ -22,11 +22,6 @@ for dev in $DEVICES/*; do
fi
options=$(get_mountoptions $dev $id)
if [ "$mountpoint" = / ]; then
if [ "$options" = defaults ]; then
options="errors=remount-ro"
else
options="${options},errors=remount-ro"
fi
pass=1
else
pass=2