Hints for LPI Exam 101

/proc/pci file

For those who stumbled upon a reference to the (obsolete) "/proc/pci" file while preparing for the LPI 101 exam, here's an example on how it used to look like:

PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 82441FX Natoma (rev 2).
      Fast devsel.  Master Capable.  No bursts.
  Bus  0, device   1, function  0:
    ISA bridge: Intel 82371SB PIIX3 ISA (rev 0).
      Medium devsel.  Master Capable.  No bursts.
  Bus  0, device   1, function  1:
    IDE interface: Intel 82371SB PIIX3 IDE (rev 0).
      Fast devsel.  Master Capable.  No bursts.
      I/O at 0xc000 [0xc001].
  Bus  0, device   1, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 0).
      Fast devsel.  IRQ 11.  Master Capable.  No bursts.
  Bus  0, device   2, function  0:
    VGA compatible controller: Cirrus Logic GD 5446 (rev 0).
      Fast devsel.  Master Capable.  No bursts.
      Prefetchable 32 bit memory at 0xe0000000 [0xe0000008].
      Non-prefetchable 32 bit memory at 0xe2000000 [0xe2000000].
  Bus  0, device   3, function  0:
    Ethernet controller: Realtek 8029 (rev 0).
      Fast devsel.  IRQ 10.  Master Capable.  No bursts.
      I/O at 0xc100 [0xc101].

Nowadays, lspci(8) is used instead.

List of common partition types

Handy if you have no access to a Linux-box while learning: the list of partition types as reported by fdisk(8) ("l").

 0  Empty           1e  Hidden W95 FAT1 80  Old Minix       be  Solaris boot
 1  FAT12           24  NEC DOS         81  Minix / old Lin bf  Solaris
 2  XENIX root      39  Plan 9          82  Linux swap / So c1  DRDOS/sec (FAT-
 3  XENIX usr       3c  PartitionMagic  83  Linux           c4  DRDOS/sec (FAT-
 4  FAT16 <32M      40  Venix 80286     84  OS/2 hidden C:  c6  DRDOS/sec (FAT-
 5  Extended        41  PPC PReP Boot   85  Linux extended  c7  Syrinx
 6  FAT16           42  SFS             86  NTFS volume set da  Non-FS data
 7  HPFS/NTFS       4d  QNX4.x          87  NTFS volume set db  CP/M / CTOS / .
 8  AIX             4e  QNX4.x 2nd part 88  Linux plaintext de  Dell Utility
 9  AIX bootable    4f  QNX4.x 3rd part 8e  Linux LVM       df  BootIt
 a  OS/2 Boot Manag 50  OnTrack DM      93  Amoeba          e1  DOS access
 b  W95 FAT32       51  OnTrack DM6 Aux 94  Amoeba BBT      e3  DOS R/O
 c  W95 FAT32 (LBA) 52  CP/M            9f  BSD/OS          e4  SpeedStor
 e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a0  IBM Thinkpad hi eb  BeOS fs
 f  W95 Ext'd (LBA) 54  OnTrackDM6      a5  FreeBSD         ee  EFI GPT
10  OPUS            55  EZ-Drive        a6  OpenBSD         ef  EFI (FAT-12/16/
11  Hidden FAT12    56  Golden Bow      a7  NeXTSTEP        f0  Linux/PA-RISC b
12  Compaq diagnost 5c  Priam Edisk     a8  Darwin UFS      f1  SpeedStor
14  Hidden FAT16 <3 61  SpeedStor       a9  NetBSD          f4  SpeedStor
16  Hidden FAT16    63  GNU HURD or Sys ab  Darwin boot     f2  DOS secondary
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fd  Linux raid auto
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fe  LANstep
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid ff  BBT
1c  Hidden W95 FAT3 75  PC/IX