Command for removing file attributes on linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. Chattr-ais/bin/netstat
When you modify A file with the 'A' attribute, its atime record will not change.
This prevents some disk I/O processing in the laptop system. files with the 'A' attribute set can only be opened for writing in add mode.
Only Super Users can set or clear this attribute. files with the 'C' attribute are automatically compressed by the kernel on the disk.
Uncompressed data is returned when the file is read.
A write operation on this file will compress the data before saving them to the disk. files with the 'D' attribute set cannot be backed up by running the dump (8) program. objects with the 'I' attribute cannot be modified: You cannot delete or rename the object. You cannot create a link to the object, and cannot write any data to the file. only Super Users can set or clear this attribute. when deleting a file with the 's' attribute set, the data block is cleared and written back to the disk.
When you modify a file with the 's' attribute, the modification is synchronized to the disk. This is the same as the 'sync' Mount Option Applied to the file subsystem. when you delete a file with the 'U' attribute set, the content is saved. this allows you to request the restoration of deleted files.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service