2010-06-09 04:44:44     Populating /dev with mdev

Document created by Aaronwu Employee on Aug 22, 2013
Version 1Show Document
  • View in full screen mode

2010-06-09 04:44:44     Populating /dev with mdev

Vitaly Izbash (RUSSIAN FEDERATION)

Message: 90218   

 

Hi, friends...

 

I can see a SATA drive in /sys/block directory (sda, sda1, sda2).

 

Then I try to populate it into /dev with a command mdev -s.

 

As a result, I get needed devices (sda, sda1, sda2).

 

But, they are created as character devices.

 

crwxrwxrwx   ...  8, 0 ...   /dev/sda

 

 

 

crw-rw----      ...  8, 1 ...   /dev/sda1

 

crw-rw----      ...  8, 2 ...   /dev/sda2

 

 

 

My mdev.conf is very simple:

 

sd*   root:root    0777

 

 

 

Is it a wrong kernel configuration or may be I didn't do something important

 

with busybox?

 

Thank you in advance for any suggestion...

QuoteReplyEditDelete

 

 

2010-06-09 04:49:30     Re: Populating /dev with mdev

Mike Frysinger (UNITED STATES)

Message: 90219   

 

you didnt say what version of software you're using

 

make sure you've enabled the deprecated sysfs options in your kernel

QuoteReplyEditDelete

 

 

2010-06-09 05:24:11     Solved: Populating /dev with mdev

Vitaly Izbash (RUSSIAN FEDERATION)

Message: 90220   

 

The problem was with my current version of busybox (1.10.2). I didn't change it and just corrected the .config.

 

Switching off the option "Support /etc/mdev.conf" (MDEV_CONF) solves the problem.

 

This link explains the issue and solution clearly:

 

www.mail-archive.com/busybox@busybox.net/msg04471.html

 

Thank you for cooperation...

Attachments

    Outcomes