[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5199AB80.3010301@sx.jp.nec.com>
Date: Mon, 20 May 2013 13:50:08 +0900
From: Kazuya Mio <k-mio@...jp.nec.com>
To: Andreas Dilger <adilger@...ger.ca>
CC: tytso@....edu, linux-ext4@...r.kernel.org
Subject: Re: [PATCH 1/2] mke2fs: fix force option to create filesystem on
mounted device
2013/05/07 17:14, Kazuya Mio wrote:
>>> http://patchwork.ozlabs.org/patch/217839/
>>
>> I don't understand the second patch. If the user tries to format
>> the /dev/loop device, then it is a "block device" and not really
>> a "regular file" (i.e. the user probably knows what is going on).
>> I don't think it is necessary to include the extra code and checking
>> in this case. Do I misunderstand what your patch is doing?
>
> /dev/loop device is a block device as you know, but an image file is
> a regular file and you can format it.
> I think we have to prevent mke2fs to in-use image file by mistake.
Does that answer your question?
Regards,
Kazuya Mio
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists