Feedback

type to search

btrfs+fsck

Asked by [ Editor ]

Debian Squeeze has support btrfs. In the my hard disk – / and /home.

Boot system:
warning: fsck.btrfs is not found.

I can manually run command btrfsck /dev/sda*
Brtfs in Debian is wrong?
NN comments
or Cancel

4 answers

0

paulcarroty [ Editor ]

/sbin/fsck.btrfs

#!/bin/sh

btrfsck “echo "$@" | sed -e 's/ /\n/g' | grep "/"”;
exit 0;





Variant 2:
file /sbin/fsck.btrfs

#!/bin/sh
/sbin/btrfsck \$(echo \$@ | sed -e “s/(\$1)\|(-a)//g”)

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.