Gentoo Archives: gentoo-user

From: Tim <root@×××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] fd symlinks to pts?
Date: Tue, 03 Jun 2008 08:23:23
Message-Id: 4844F185.5050204@pneumaticsystem.com
In Reply to: Re: [gentoo-user] fd symlinks to pts? by Dirk Heinrichs
1 Dirk Heinrichs wrote:
2 > Am Dienstag, 3. Juni 2008 schrieb ext Tim:
3 >> I recently had occasion to need a floppy drive. Thankfully, there was
4 >> one in my Gentoo box, but no support in the kernel. I added
5 >> CONFIG_BLK_DEV_IDEFLOPPY=y to .config and already had support for my IDE
6 >> chipset included, rebuilt my kernel, and rebooted.
7 >>
8 >> Now I have a folder /dev/fd/, but every entry there (0, 1, 2, and 255)
9 >> are all symlinks to /dev/pts/0. Relevant command outputs:
10 >
11 > That's correct.
12 >
13 >> # dmesg|grep -i floppy
14 >> ide-floppy driver 0.99.newide
15 >
16 >> What do I need to do to get usable block access to my floppy from
17 >> something in /dev/fd?
18 >
19 > Nothing. It's IDE Floppy, not Floppy. You should have new hd* entries
20 > in /dev for your IDE Floppy device. Read some more lines in your dmesg
21 > output.
22 >
23 > HTH...
24 >
25 > Dirk
26 Nothing there either.
27
28 # dmesg|grep -i hd
29 Kernel command line: root=/dev/hda3
30 ide0: BM-DMA at 0xd000-0xd007, BIOS settings: hda:DMA, hdb:DMA
31 ide1: BM-DMA at 0xd008-0xd00f, BIOS settings: hdc:DMA, hdd:DMA
32 hda: WDC WD400BB-23DEA0, ATA DISK drive
33 hdb: IC35L060AVER07-0, ATA DISK drive
34 hdc: Hewlett-Packard DVD Writer 300, ATAPI CD/DVD-ROM drive
35 hdd: FX320S, ATAPI CD/DVD-ROM drive
36 hda: max request size: 128KiB
37 hda: Host Protected Area detected.
38 hda: Host Protected Area disabled.
39 hda: 78165360 sectors (40020 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(100)
40 hda: cache flushes not supported
41 hda: hda1 hda2 hda3
42 hdb: max request size: 128KiB
43 hdb: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63,
44 UDMA(100)
45 hdb: cache flushes not supported
46 hdb: hdb1
47 hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
48 hdd: ATAPI 32X CD-ROM drive, 256kB Cache, DMA
49 ReiserFS: hda3: found reiserfs format "3.6" with standard journal
50 ReiserFS: hda3: using ordered data mode
51 ReiserFS: hda3: journal params: device hda3, size 8192, journal first
52 block 18, max trans len 1024, max batch 900, max commit age 30, max
53 trans age 30
54 ReiserFS: hda3: checking transaction log (hda3)
55 ReiserFS: hda3: Using r5 hash to sort names
56 NTFS-fs warning (device hdb1): load_system_files(): $LogFile is not
57 clean. Will not be able to remount read-write. Mount in Windows.
58 Adding 506036k swap on /dev/hda2. Priority:-1 extents:1 across:506036k
59
60 My primary IDE is two hard drives, hda being Gentoo and relevant
61 partitions and hdb holding Windows XP in a single partition. My
62 secondary is two CD/DVD drives. Nothing in dmesg, either in this excerpt
63 or otherwise, indicates the presence of an IDE floppy at /dev/hd*.
64
65 # ls -al /dev/hd*
66 brw-rw---- 1 root disk 3, 0 Jun 2 20:35 /dev/hda
67 brw-rw---- 1 root disk 3, 1 Jun 2 20:35 /dev/hda1
68 brw-rw---- 1 root disk 3, 2 Jun 2 20:35 /dev/hda2
69 brw-rw---- 1 root disk 3, 3 Jun 2 20:35 /dev/hda3
70 brw-rw---- 1 root disk 3, 64 Jun 2 20:35 /dev/hdb
71 brw-rw---- 1 root disk 3, 65 Jun 2 20:35 /dev/hdb1
72 brw-rw---- 1 root cdrom 22, 0 Jun 2 20:35 /dev/hdc
73 brw-rw---- 1 root cdrom 22, 64 Jun 2 20:35 /dev/hdd
74
75 -Tim
76 --
77 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] fd symlinks to pts? Dirk Heinrichs <dirk.heinrichs.ext@×××.com>