On Thu, Nov 07, 2013 at 03:18:05PM +0900, Kazuya Mio wrote: > When /etc/mtab is a symlink of /proc/mounts, mke2fs without -FF option > can create a filesystem on the image file that is mounted. > According to mke2fs man page, we should specify -FF option in this case. > > This patch protects filesystem from unintended mke2fs caused by human error. > > How to reproduce: > # mke2fs -t ext4 -Fq fs.img > # mount -o loop fs.img /mnt/mp1 > # mke2fs -t ext4 -Fq fs.img && echo "mke2fs success" > mke2fs success > > Signed-off-by: Kazuya Mio <k-mio@xxxxxxxxxxxxx> Thanks, applied. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html