Do you need makedev on a MD-254

MD-253 & MD-500 Discussion
Post Reply
erjee
Posts: 5
Joined: Wed Jan 11, 2012 8:21 pm

Do you need makedev on a MD-254

Post by erjee » Thu Jan 12, 2012 6:01 pm

I have inserted a disk into my MD-254 which still contains data from an old windows workstation. I'd like to review/copy the data before I completely re-format the harddisk. It's currently formatted as FAT32 and in multiple partitions.

I've succeed to mount the original C: drive on the MD-254, but I'd really like to view the data on the original D: drive.

When I view fdisk -l i can see the following partitions
/dev/SDB1 Win95 FAT32
/dev/SDB2 Win95 Ext'd
/dev/SDB5 Win95 FAT32

Partition SDB1 is drive C:, which was no problem to mount.
Partition SDB5 is drive D:. But here comes the tricky part, when I try to mount this drive I get an error. File not found.

The error refers to the unavailability of SDB5 in the /dev/ directory. It goes up to SDB4, but no. 5 isn't configured yet.
With the MAKEDEV command I'd be able to add another device, but the BusyBox linux configuration on the MD-254 doesn't include makedev in the commands list.

Is there another way to add the SDB5 device without makedev?
Or how can I install makedev on the MD-254?

Mijzelf
Posts: 6224
Joined: Mon Jun 16, 2008 10:45 am

Re: Do you need makedev on a MD-254

Post by Mijzelf » Thu Jan 12, 2012 6:09 pm

You can just use mknod:

mknod /dev/sdb5 b 8 21

Maybe the minor has to be something else. Have a look:

ls -l /dev/sdb*

erjee
Posts: 5
Joined: Wed Jan 11, 2012 8:21 pm

Re: Do you need makedev on a MD-254

Post by erjee » Thu Jan 12, 2012 6:32 pm

Thanks, this worked.
21 was the correct minor.

Post Reply