COMP 266 Lecture Notes - Lecture 3: Grep, Red Hat Linux, Floppy Disk
1. Linux Startup
a. Run the dmesg command, and list which devices are assigned to each of CD-
ROM, HD, and floppy disk.
Ans: CD-ROM:
cd0 :at ata1 bus 0 scbus1 target 0 lun 0
cd0: <NECVMWar VMWare IDE CDR10 1.00> Removable CD-ROM SCSI
device
HD:
da0: <Vmware, Vmware Virtual S 1.0> Fixed Direct Access SCSI-2 device
Floppy: does not exist.
b. What do you think the following (or a similar line) in dmesg output means?
Linux version 2.6.5-1.358 ([email protected]dhat.com) (gcc version
3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Sat May 8 09:04:50 DT 2004
Ans: Displays the release information of the current kernel build. My output looked like
find more resources at oneclass.com
find more resources at oneclass.com