faqts : Computers : Operating Systems : Linux

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

17 of 24 people (71%) answered Yes
Recently 6 of 10 people (60%) answered Yes

Entry

Linux: Red Hat v9.0: Hardware: Detect: How to detect new hardware from the command line? [etc/fstab]

Sep 18th, 2003 11:52
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 17 September 2003 - 19:51 pm ------------------

Linux: Red Hat v9.0: Hardware: Detect: How to detect new hardware from 
the command line? [etc/fstab]

Steps: Overview:

 1. -Open a console

     (e.g. right click on desktop, and select 'New Terminal')

 2. -Type the command:

      /usr/sbin/kudzu

 3. -This will configure the file:

      /etc/fstab

---
---

[kn, ni, we, 17-09-2003 12:00:36]

You can also manually edit this file 'etc/fstab', by using your
favorite text editor (for example 'vi')

---

Steps: Overview:

 1. -Start your text editor

      e.g. on a console command line, type:

       vi /etc/fstab

 2. -That will show you the content of this hardware
     configuration file 'fstab':

      1. e.g. what it showed on my computer with Red Hat v9

----------------------------------------------------------------------
       LABEL=/     /           ext3     defaults        1      1

       LABEL=/boot /boot       ext3     defaults        1      2

       none        /dev/pts    devpts   gid=5,mode=620  0      0

       none        /proc       proc     defaults        0      0

       none        /dev/shm    tmpfs    defaults        0      0

       /dev/sda3   swap        swap     defaults        0      0

       /dev/cdrom  /mnt/cdrom  udf,iso9660 noauto, owner, kudzu, ro 0 0

       /dev/fd0    /mnt/floppy auto        noauto, owner, kudzu     0 0
----------------------------------------------------------------------


---

      2. this is what it showed on another computer with Red Hat v9

----------------------------------------------------------------------
       LABEL=/     /           ext3     defaults        1      1

       LABEL=/boot /boot       ext3     defaults        1      2

       none        /dev/pts    devpts   gid=5,mode=620  0      0

       /dev/md0    /home       ext3     defaults        1      2

       none        /proc       proc     defaults        0      0

       none        /dev/shm    tmpfs    defaults        0      0

       /dev/md1    /software   ext3     defaults        1      2

       /dev/hda5   swap        swap     defaults        0      0

       /dev/cdrom  /mnt/cdrom  udf,iso9660 noauto, owner, kudzu, ro 0 0

       /dev/fd0    /mnt/floppy auto        noauto, owner, kudzu     0 0
----------------------------------------------------------------------

---

Internet: see also:

http://www.faqts.com/knowledge_base/view.phtml/aid/24391/fid/107

http://www.faqts.com/knowledge_base/view.phtml/aid/24505/fid/107

----------------------------------------------------------------------