- Map the given partition device name (/dev/sda3, /dev/hda7, /dev/mtdblock0p1, /dev/anythingIwant) to the major:minor device number
- Use those to create a temporary root device for major:0
- Perform actions on the temporary root device, and
- Delete the temporary root device.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED] How to extract HDD block device from partition dev
Re: [SOLVED] How to extract HDD block device from partition
Since mapping between device names and device major:minor numbers is a convention not inherent to the kernel (e.g. mknod /dev/anythingIwant b 8 2), a general solution would simply ignore the string value.
Re: [SOLVED] How to extract HDD block device from partition
Thanks cpoakes. That sheds some more light on the process. And what steps are needed to be performed. Which work for both conventional device nodes and mtb block naming schemes.