tailieunhanh - UNIX System Administration A Beginner’s Guide PHẦN 5

Hệ thống câu hỏi? Tại sao bạn chỉ nên sử dụng fsck để quét tập tin chưa lắp ráp Trả lời Bởi vì nếu hệ thống tập tin là thay đổi trong quá trình quét, nó sẽ phát hiện mâu thuẫn với cấu trúc hệ thống tập tin, mà sẽ thúc đẩy đau đầu nhiều hơn. Kể từ khi fsck cả hai có thể phát hiện và sửa chữa các vấn đề, | 260 UNIX System Administration A Beginner s Guide Action Keyword Entry ID s3 3 wait sbin rc3 Run Level Process Figure 9-3 The etc init ab entry format Process This field contains the actual program that will be invoked when the run level is entered. Typically this invokes the startup scripts that are associated with each run level. 1-Minute Drill Explain how the etc inittab files for Solaris HP-UX and Linux are similar and how they are different. v What s the difference between run levels 2 and 3 Keyword respawn wait once boot bootwait powerfail off initdefault Meaning Start the process and don t wait for it to terminate. Restart the process when the run level is entered. Star the process but wait until it terminates. When the run level is entered invoke the process and don t wait for the process to finish. If the process terminates don t restart it. Process this entry only when the boot phase is started Process this entry when the system enters multi-user mode from single-user mode after the system has booted. Invoke this entry when the process associated with this entry is sent a powerfail signal. If the process of this entry is currently running shut down. Otherwise do nothing. Specifies the default run level. Table 9-5 Common etc inittab Action Keywords They all use the same general syntax but the services each one starts are different. Run level 2 and 3 are both multi-user mode run levels but 2 doesn t include networking services. Module 9 System Operations 261 The Default Run Level The default run level is defined within the etc inittab file. When the system is rebooted or started when the power is applied to the system the system is restored to the default run level which for most systems is multi-user mode run level 2 . If a Linux system is configured to sppport 111 on the console device the default run level is 5. It is at this level that X11 support is active and users can access the console using a standard X11 login application. Without X11 support .

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.