* Martin Michlmayr <[EMAIL PROTECTED]> [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/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to