Is it by using 'mknod'? What would be the MAJOR and MINOR
be? I think the type is 8.
Thanks in advance!
Roger
email: rs...@bigmailbox.net
> Hi, there,
> I accidentally deleted /dev/sdc.
> Would someone please tell me how to create it back.
>
> Is it by using 'mknod'? What would be the MAJOR and MINOR
> be? I think the type is 8.
>
Two ways:
1) cd /dev; ./MAKEDEV sdc
man MAKEDEV for more info. For instance "./MAKEDEV -S sdc", will show you
what it will do without actually doing it.
2) mknod -m 0660 /dev/sdc b 8 32
chown root.root /dev/sdc
(I actually got the above from running MAKEDEV with the -S option).