The mount command is what allows devices to be tied in to directories. Thus to access each partition we would mount as /dev/hda1, /dev/hda2, or /dev/hda3. Additionally, the hard drive has multiple partitions (1, 2, and 3). Hdc: SONY CDU4811, ATAPI CD/DVD-ROM driveĪttached scsi tape st0 at scsi0, channel 0, id 5, lun 0Īs you can see there's a hard drive under /dev/hda, a CD-ROM drive under /dev/hdc, and a tape drive under /dev/st0. Here is a sample output from typing "dmesg" as root: This can be done using the "dmesg" program. To see a list of your devices, it's best to call up your kernel boot messages. You cannot access these directories directly to access your files. Therefore a tape drive might be /dev/st0, and a SCSI hard drive might be /dev/sda. Each device under UNIX is listed under the /dev/ directory. This includes CD-ROM, floppy, and hard drives.īefore you can mount drives, you need to know how to reference them. This document covers how to mount, partition, and format drives.
0 Comments
Leave a Reply. |