This is untested and unlikely to work without parted support. Committing what I have since I don't trust btrfs to preserve the data. ;-) Note to translators: Probably not worth wasting your time with this yet. Have not run debconf-updatepo. r62090
20 lines
213 B
Bash
Executable file
20 lines
213 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -- $1
|
|
|
|
fs=$1
|
|
mp=$2
|
|
type=$3
|
|
options=$4
|
|
dump=$5
|
|
pass=$6
|
|
|
|
case $type in
|
|
btrfs)
|
|
mount -t btrfs ${options:+-o "$options"} $fs /target$mp || exit 1
|
|
echo "umount /target$mp"
|
|
exit 0
|
|
;;
|
|
esac
|
|
|
|
exit 1
|