Bug#249755: doesn't detect ext2 revision 0 file system
* Martin Michlmayr <tbm@cyrius.com> [2005-11-03 20:02]:
> --- partman-base/update.d/detected_filesystem (revision 31824)
> +++ partman-base/update.d/detected_filesystem (working copy)
> @@ -28,6 +28,11 @@
> rm -f $id/detected_filesystem
> else
> [ -d $id ] || mkdir $id
> + if [ "$filesystem" = "ext2" -a -f /lib/partman/parted_names/ext2r0 ]; then
> + if $(tune2fs -l $dev | grep -q "^Filesystem revision #: \+0 (original)$"); then
^^^^
This should be $path rather than $dev, but apart from that, the patch
works.
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: