Chapter 4 - Managing Files - Seat6 Flashcards
You can modify a file’s permissions using what command.
pg. 206
chmod command
A ___ ___ is a set of codes related to the string representation of the permissions.
pg. 206
symbolic mode
What command allows you to adjust attributes?
pg. 212
chattr command
What attribute when set, will not update the access time stamp when you access a file, and can reduce disk input/output? Which is helpful for saving battery life on laptops.
pg. 212
No Access Time update “A”
Which attribute disables write access to the file except for appending data?
pg. 213
append only “a”
What attribute causes the kernel to compress data written to the file automatically and uncompress it when it’s read back?
pg. 213
compress “c”
What makes a file immutable, which goes a step beyond simply disabling write access to the file. The file can’t be detected, links to it can’t be created, and the file can’t be renamed.
pg. 213
Immutable: i flag
What tells the kernel to journal all data written to the file. This improves recoverability of data written to the file after system crashes but can slow performance.
pg. 213
j flag - data journaling
What flag when deleting a file can cause the kernel to zeros its data blocks, which may be desirable for files that contain sensitive data.
pg. 213
s flag - Secure Deletion
What is Tail-merging?
pg. 213
is a process in which small data pieces at a file’s end that don’t fill a complete block are merged with similar pieces of data from other files.
What does the t flag do?
pg. 213
it disables tail-merging.
What are disk quotas in Linux?
pg. 213
Limits forced by the OS on how many files or how much disk space a single user may consume.
The Linux quota system supports quotas for whom?
pg. 214
individual users
Linux groups
What quota support system uses the 2.4.x kernel?
pg. 214
quota v1 support system
What quota support system uses the 2.6.x kernel series?
pg. 214
quota v2 support system