GNU bug report logs - #13582
[PATCH] stat: add ext4 to the ext2/ext3 list

Previous Next

Package: coreutils;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Tue, 29 Jan 2013 06:15:01 UTC

Severity: wishlist

Tags: patch

Merged with 18264

Full log


Message #32 received at 13582 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Bob Proulx <bob <at> proulx.com>
Cc: 13582 <at> debbugs.gnu.org
Subject: Re: bug#13582: [PATCH] stat: add ext4 to the ext2/ext3 list
Date: Wed, 30 Jan 2013 23:09:11 +0100
On 01/30/2013 10:27 PM, Bob Proulx wrote:
> I am just adding references here to tie in the previous discussions.

Thanks for that excellent summary.

Reading (again) through it, it seems to me that we have 2 arguments:

a) basically, it would be good to be able to distinguish ext2/ext3
from ext4 while it is problematic in the real world due to EXT4's
nature - or at least would bring a lot of code into stat.

b) just adding "ext4" to "ext2/ext3" as it has already been proposed
by several people could break existing scripts that use code like this:

>       test "$(stat -f -c %T .)" = ext2/ext3 && ...

I'm wondering how often users check for the hard coded string
"ext2/ext3"? Do we have any numbers?

Have a nice day,
Berny




This bug report was last modified 10 years and 308 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.