-wassup-
03-25-2005, 11:55 AM
I think I lost my /dev/hdd in a udev update and now Ii need to recreate it. So far I know I need to use mknod /dev/hdd b but what do I put for major and minor numbers?
|
Click to See Complete Forum and Search --> : recreating /dev/hdd -wassup- 03-25-2005, 11:55 AM I think I lost my /dev/hdd in a udev update and now Ii need to recreate it. So far I know I need to use mknod /dev/hdd b but what do I put for major and minor numbers? ph34r 03-25-2005, 12:14 PM Is there a /dev/MAKEDEV script ? On my Debian system I had to use that to make a ttyS? device for some modems to use... no major/minor numbers required. -wassup- 03-25-2005, 02:09 PM oddly enough, i have the man page for it but i don't have the actual script root@foo:/dev# locate MAKEDEV /usr/man/man8/MAKEDEV.8.gz /usr/src/linux-2.6.11/Documentation/video4linux/bttv/MAKEDEV /usr/src/linux-2.6.11.5/Documentation/video4linux/bttv/MAKEDEV Gogeta_44 03-25-2005, 06:29 PM First of all, it's best to use udev to make devices when using udev instead of doing mknod on every boot. I recently upgraded udev to 054 on my slackware install and it caused all sorts of problems, a simple downgrade fixed this. EDIT: I found this looking at the change log on the slackware ftp site: -------------------------- Wed Mar 9 21:15:23 PST 2005 a/udev-054-i486-3.tgz: Fixed make_extra_nodes.sh to not require expr, which is under /usr and might not be available. (thanks to Daniel de Kok) ---------- Mon Mar 7 22:16:12 PST 2005 a/udev-054-i486-2.tgz: Removed udev.permissions file and merged the permissions configuration into the udev.rules file. Also, added support for numbering multiple cdrom and dvd devices at boot time (thanks to Michal Kosmulski for sending in the starting diff). Let me know if any permissions bugs remain... sorry about that last batch 'o bugs -- my fault for not reading the instructions carefully. --------- Mon Feb 28 20:56:58 PST 2005 a/udev-054-i486-1.tgz: Upgraded to udev-054. ---------------------------- So, make sure you have udev-054-i486-3.tgz and if that doesn't work, try udev-053. -wassup- 03-25-2005, 06:33 PM yep worked, thanks Gogeta_44 03-25-2005, 06:38 PM udev-050-i486-1.tgz (ftp://ftp.slackware.com/pub/slackware/slackware-10.1/slackware/a/udev-050-i486-1.tgz) Downgrade to that and see if it works. And I'm pretty sure you would have to recreate it, that's what I remember from setting up dazuko security modules. EDIT: Oops, looks like you edited you last post while I posted this. -wassup- 03-27-2005, 01:15 AM yeah, sorry about that. i realized it worked afterwards. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |