partman-btrfs/mount.d/btrfs
Joey Hess 0eb02adc27 initial commit of partman-btrfs
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
2010-01-27 20:14:29 +00:00

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