Set btrfs fstab passno to zero, as there is no btrfs fsck scripts.
This commit is contained in:
parent
1ea15769d6
commit
c2d2b5e64f
3 changed files with 9 additions and 7 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
|
@ -1,3 +1,9 @@
|
|||
partman-btrfs (19) unstable; urgency=medium
|
||||
|
||||
* Set btrfs fstab passno to zero, as there is no btrfs fsck scripts.
|
||||
|
||||
-- Dimitri John Ledkov <xnox@debian.org> Sun, 08 Nov 2015 15:01:42 +0000
|
||||
|
||||
partman-btrfs (18) unstable; urgency=medium
|
||||
|
||||
[ Updated translations ]
|
||||
|
|
|
|||
2
debian/control
vendored
2
debian/control
vendored
|
|
@ -2,7 +2,7 @@ Source: partman-btrfs
|
|||
Section: debian-installer
|
||||
Priority: standard
|
||||
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
|
||||
Uploaders: Anton Zinoviev <zinoviev@debian.org>, Christian Perrier <bubulle@debian.org>
|
||||
Uploaders: Anton Zinoviev <zinoviev@debian.org>, Christian Perrier <bubulle@debian.org>, Dimitri John Ledkov <xnox@debian.org>
|
||||
Build-Depends: debhelper (>= 9), dh-di, po-debconf (>= 0.5.0)
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=d-i/partman-btrfs.git
|
||||
Vcs-Git: git://anonscm.debian.org/d-i/partman-btrfs.git
|
||||
|
|
|
|||
|
|
@ -21,12 +21,8 @@ for dev in $DEVICES/*; do
|
|||
rm -f $id/options/noexec
|
||||
fi
|
||||
options=$(get_mountoptions $dev $id)
|
||||
if [ "$mountpoint" = / ]; then
|
||||
pass=1
|
||||
else
|
||||
pass=2
|
||||
fi
|
||||
echo "$path" "$mountpoint" btrfs $options 0 $pass
|
||||
# There is no btrfs fsck
|
||||
echo "$path" "$mountpoint" btrfs $options 0 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue