You didn't say what distro you are running but unless its really old, mknod is depreciated in favour of udev.
Has the system been rebooted? If not, hot swap often requires a refresh of the devices. This is often proprietary to the controller. Google hp_rescan for example.
Also you may want to look at 'kpartx' .
John
On 2011-05-03 1:27 PM, "Robert Keizer" robert@keizer.ca wrote:
I would figure out the major and minor numbers of that device, based on what the other ones are, then use mknod to create it.
Unless there's something really crazy going on, those devices should be in order, meaning you can just increment the numbers.
A "ls -alh /dev | grep sda" gives the following: brw-rw---- 1 root disk 8, 0 May 3 13:18 sda brw-rw---- 1 root disk 8, 1 May 3 13:19 sda1 brw-rw---- 1 root disk 8, 2 May 3 13:18 sda2 brw-rw---- 1 root disk 8, 5 May 3 13:18 sda5
Where 8 is the major number, and 0 is the minor number for sda. Be sure to specify a block device rather than a character one when using mknod.. I made that mistake and got something crazy at one point.
Hope this helps, Rob
On Tue, May 3, 2011 at 11:32 AM, Kevin McGregor kevin.a.mcgregor@gmail.com wrote:
I have a HP P... _______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable
_______________________________________________ Roundtable mailing list Roundtable@muug.mb.ca http://www.muug.mb.ca/mailman/listinfo/roundtable