How to limit the user's disk space Longmen Inn NULL
〖
Back to〗 Forward〗
How to limit the user's disk space sending station: Longmen Inn (SAT SEP 19 16:57:16 1998), transfer 1) Restrict the user's disk space (quotas) due to the difference in UNIX version, The following method is feasible in Sunos / Solaris, and Sinix (Siemens RM600 parallel to System V-compatible Unix). (1) Generate a name under the root of the restricted file system, (such as /, / home, etc.) For Quotas's empty files. Such as: $ cd / home; echo "> quotas (2) For Quotacheck. $ Quotacheck -v / home (3) Edit User's quota amount $ Edquota Any_user format as follows: fs / Home Blocks (Soft = 0, HARD = 0) Inodes (Soft = 0, HARD = 0) generally only need to modify the blocks limit, one block may be 1K, or the standard of 512b, BSD, and SYSTEM V is different. Such as Can be changed to FS / Home Blocks (Soft = 10000, HARD = 10000) Inodes (Soft = 0, HARD = 0) If block =