Force formatting as btrfs filesystem, to bypass mkfs.btrfs safety-check that target (possibly) contains existing filesystem when formatting partitions with btrfs. (LP: #1276356) (Closes: #721847)
This commit is contained in:
parent
d6d58ccc81
commit
4180958bdb
2 changed files with 9 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ for dev in $DEVICES/*; do
|
||||||
code=0
|
code=0
|
||||||
# Ensure label is quoted correctly
|
# Ensure label is quoted correctly
|
||||||
log-output -t partman --pass-stdout \
|
log-output -t partman --pass-stdout \
|
||||||
mkfs.btrfs ${label:+-L "$label"} \
|
mkfs.btrfs -f ${label:+-L "$label"} \
|
||||||
$device >/dev/null || code=$?
|
$device >/dev/null || code=$?
|
||||||
sync
|
sync
|
||||||
db_progress STOP
|
db_progress STOP
|
||||||
|
|
|
||||||
8
debian/changelog
vendored
8
debian/changelog
vendored
|
|
@ -1,3 +1,11 @@
|
||||||
|
partman-btrfs (15) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Force formatting as btrfs filesystem, to bypass mkfs.btrfs
|
||||||
|
safety-check that target (possibly) contains existing filesystem when
|
||||||
|
formatting partitions with btrfs. (LP: #1276356) (Closes: #721847)
|
||||||
|
|
||||||
|
-- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 19 Mar 2014 00:06:00 +0000
|
||||||
|
|
||||||
partman-btrfs (14) unstable; urgency=low
|
partman-btrfs (14) unstable; urgency=low
|
||||||
|
|
||||||
* Add nodiratime and discard mount options (see #722598; LP: #978032).
|
* Add nodiratime and discard mount options (see #722598; LP: #978032).
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue