A question about the /dev/ide

2 messages, 2 authors, 2005-09-15 · open the first message on its own page

A question about the /dev/ide

From: FCG WANG Baohua <hidden>
Date: 2005-09-15 01:57:32

Dear all:
  I had use the UPM of MPC8270 to create the device driver of my pcmcia =
CF card.=20
  How to create the "/dev/hda" device nodes? I had only "/dev/ide" =
device nodes, I want to use command like  "mkswap /dev/hda4".
  When I use "mkswap /dev/ide/host0/bus0/target0/lun0/part1p4", it shows =
the "No such file or directory" message. How can I create=20
  the right device nodes? thanks!


 When it booted, it showed the following message:

 Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 66MHz system bus speed for PIO modes
ide0: MPC82xx IDE interface
Probing IDE interface ide0...
hda: STI Flash 7.2.0, CFA DISK drive
ide0 at 0xc900d800-0xc900d807,0xc900d80e on irq 24
hda: attached ide-disk driver.
hda: 250880 sectors (128 MB), CHS=3D980/8/32
Partition check:
Partition check:


 When using "fdisk -l" it shows the following message:

       Disk /dev/ide/host0/bus0/target0/lun0/disc: 128 MB, 128450560 =
bytes
       8 heads, 32 sectors/track, 980 cylinders
      Units =3D cylinders of 256 * 512 =3D 131072 bytes

       Device Boot                                      Start      End   =
 Blocks  Id  System
       /dev/ide/host0/bus0/target0/lun0/part1   *         1       972    =
124400    6  FAT16

 When use "p" option of "fdisk", it shows the following message:
      Disk /dev/ide/host0/bus0/target0/lun0/part1: 127 MB, 127385600 =
bytes
      8 heads, 32 sectors/track, 971 cylinders
      Units =3D cylinders of 256 * 512 =3D 131072 bytes

                            Device Boot                                 =
Start       End    Blocks   Id   System
/dev/ide/host0/bus0/target0/lun0/part1p1             1        16      =
2032   83    Linux
/dev/ide/host0/bus0/target0/lun0/part1p2            17        32      =
2048   83    Linux=20
/dev/ide/host0/bus0/target0/lun0/part1p3            33       788     =
96768   83    Linux=20
/dev/ide/host0/bus0/target0/lun0/part1p4           789       971     =
23424   83    Linux
   =20

Re: A question about the /dev/ide

From: Clemens Koller <hidden>
Date: 2005-09-15 10:41:29

Hello, Wang Baohua!

FCG WANG Baohua wrote:
Dear all:
  I had use the UPM of MPC8270 to create the device driver of my pcmcia CF card. 
Just an idea: There are IDE-to-CF adapters and PCI-IDE adapters with working drivers.
(for evaluation)
How to create the "/dev/hda" device nodes? I had only "/dev/ide" device nodes,
I want to use command like  "mkswap /dev/hda4".
When I use "mkswap /dev/ide/host0/bus0/target0/lun0/part1p4",
it shows the "No such file or directory" message. How can I create 
the right device nodes? thanks!
man mknod?

But maybe you want to read some more things about devfs, udev, ... /etc/devfsd.conf
before you know what you are doing there?
Well... all that depends on your kernel/system config a bit...

Best greets,

-- 
Clemens Koller
_______________________________
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Str. 45/1
81379 Muenchen
Germany

http://www.anagramm.de
Phone: +49-89-741518-50
Fax: +49-89-741518-19
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help