Gentoo Archives: gentoo-user

From: Thufir <hawat.thufir@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] how would I use device names in fstab?
Date: Thu, 27 Dec 2007 09:45:02
Message-Id: fkvrqc$kd6$5@ger.gmane.org
1 I think that the fstab needs to be changed to use device names, but I'm
2 not sure what that means:
3
4
5 arrakis ~ #
6 arrakis ~ # dmesg |grep hd
7 Kernel command line: root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/
8 dev/hdb3
9 ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
10 ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
11 hda: WDC WD800BB-22JHC0, ATA DISK drive
12 hdb: Maxtor 2F030L0, ATA DISK drive
13 hdc: SAMSUNG CD-ROM SC-148C, ATAPI CD/DVD-ROM drive
14 hdd: CD-RW CDR-6S52, ATAPI CD/DVD-ROM drive
15 hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
16 hda: max request size: 128KiB
17 hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA
18 (100)
19 hda: cache flushes supported
20 hda: hda1 hda2 hda3
21 hdb: max request size: 128KiB
22 hdb: 60058656 sectors (30750 MB) w/2048KiB Cache, CHS=59582/16/63, UDMA
23 (133)
24 hdb: cache flushes supported
25 hdb: hdb1 hdb2 hdb3
26 hdc: ATAPI 48X CD-ROM drive, 128kB Cache
27 hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
28 EXT3 FS on hdb3, internal journal
29 Adding 960616k swap on /dev/hdb2. Priority:-1 extents:1 across:960616k
30 hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
31 hdc: Disabling (U)DMA for SAMSUNG CD-ROM SC-148C (blacklisted)
32 arrakis ~ #
33 arrakis ~ # cat /etc/fstab
34 /dev/cdrom /mnt/cdrom auto noauto,user 0 0
35 /dev/cdrom1 /mnt/cdrom1 auto noauto,user 0 0
36 /dev/cdrw1 /mnt/cdrw1 auto noauto,user 0 0
37
38 /dev/hdb1 /boot ext2 defaults 1 2
39 /dev/hdb2 none swap sw 0 0
40 /dev/hdb3 / ext3 noatime 0 1
41 none /proc proc defaults 0 0
42 none /dev/shm tmpfs defaults 0 0
43 /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00 ext3
44 users,rw 0 0
45
46 arrakis ~ #
47
48
49
50
51 thanks,
52
53 Thufir
54
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] how would I use device names in fstab? Dirk Heinrichs <dirk.heinrichs@××××××.de>
Re: [gentoo-user] how would I use device names in fstab? Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] mount cdrom: No buffer space available Cocoy Dayao <cocoy.dayao@×××××.com>