New: ext4 does not honour chattr +s attribute
https://bugzilla.kernel.org/show_bug.cgi?id=17872
Summary: ext4 does not honour chattr +s attribute
Product: File System
Version: 2.5
Kernel Version: 2.6.34
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: enhancement
Priority: P1
Component: ext4
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: No
According to the man page setting this attribute will cause the files blocks to be zero'd if it is deleted. It says it does this for ext2 and ext3 and does not mention ext4, so I've marked it as "enhancement" though I think this is really a bug.
Because it doesn't zero the blocks.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 17872] ext4 does not honour chattr +s attribute
https://bugzilla.kernel.org/show_bug.cgi?id=17872
Andreas Dilger <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adilger.kernelbugzilla@dilg
| |er.ca--- Comment #1 from Andreas Dilger <[email protected]> 2010-09-06 02:55:05 --- Please read the man page carefully:
When a file with the ‘s’ attribute set is deleted, its blocks are zeroed and written back to the disk. Note: please make sure to read the bugs and limitations section at the end of this document. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:
:
BUGS AND LIMITATIONS
The ‘c’, ’s’, and ‘u’ attributes are not honored by the ext2 and ext3
^^^
filesystems as implemented in the current mainline Linux kernels. These attributes may be implemented in future versions of the ext2 and ext3 filesystems.
I agree it is a bug that the _man_page_ doesn't also mention ext4 as NOT zeroing out blocks when "+s" is used.
It makes me wonder why these "features" are mentioned in the man page at all, since it never worked and there is no plan to make it work. Since this question comes up on a regular basis, it makes me wonder if it would be better to just remove mention of these options until they are actually implemented. When they ARE implemented, they should list explicitly which filesystems DO support those features, rather than redirecting to the end of the document.
Signature · 6 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.-- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bug 17872] ext4 does not honour chattr +s attribute
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=17872
--- Comment #2 from Rob Fortune <[email protected]> 2010-09-06 03:12:10 --- My bad for missing the not. Your comment is spot on, mentioning non-existent features is pointless. It should be done the way you suggested.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 17872] ext4 does not honour chattr +s attribute
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=17872
--- Comment #3 from Rob Fortune <[email protected]> 2010-09-06 03:12:30 --- Pointless and confusing.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 17872] ext4 does not honour chattr +s attribute
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=17872
--- Comment #4 from Rob Fortune <[email protected]> 2010-09-06 03:16:43 --- And apologies for the spammy third reply but a three to five pass random wipe before zeroing them would be a much better feature than just zeroing them anyway.
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
[Bug 17872] ext4 does not honour chattr +s attribute
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=17872
Alan <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution| |WILL_NOT_FIXSignature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.