Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mknod /dev/null already exists, how to remove while running
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jeffk
Guru
Guru


Joined: 13 Sep 2003
Posts: 568

PostPosted: Sun May 06, 2012 6:13 pm    Post subject: mknod /dev/null already exists, how to remove while running Reply with quote

How do I remove the /dev/null node without booting to a rescue cd?
Code:
mknod:
/dev/null already exists

FWIW, I am waiting till the dust settles on udev-18x, had many cycles of non-bootable updates:
Code:
$ sudo emerge world -Du --newuse --with-bdeps=y -pv
[ebuild  N     ] sys-apps/hwids-20120416  272 kB
[uninstall     ] sys-apps/usbutils-005  USE="python zlib -network-cron"
[blocks b      ] <sys-apps/usbutils-005-r1 ("<sys-apps/usbutils-005-r1" is blocking sys-apps/hwids-20120416)
[ebuild     U  ] sys-apps/lshw-02.16b-r1 [02.16b] USE="gtk sqlite -static" 0 kB
[ebuild     U  ] sys-apps/pciutils-3.1.9-r2 [3.1.9-r1] USE="zlib* -static-libs (-compress-db%) (-network-cron%)" 0 kB
[blocks b      ] <sys-apps/pciutils-3.1.9-r2 ("<sys-apps/pciutils-3.1.9-r2" is blocking sys-apps/hwids-20120416)
[ebuild  N     ] sys-fs/udev-init-scripts-10  16 kB
[ebuild     U  ] sys-fs/udev-182-r3 [171-r5] USE="hwdb openrc%* rule_generator -build -debug -doc% -floppy -gudev* -introspection -keymap (-selinux) -static-libs% (-acl%*) (-action_modeswitch%) (-edd%) (-extras%*) (-test%)" 774 kB
[blocks b      ] <sys-fs/udev-182 ("<sys-fs/udev-182" is blocking sys-fs/udev-init-scripts-10)

Thanks for any suggestions.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 29983
Location: 56N 3W

PostPosted: Sun May 06, 2012 6:21 pm    Post subject: Reply with quote

jeffk,

Why would you want to remove /dev/null ?
Its one of two or three /dev entries that are required to boot - before udev starts.
If its not there your system won't boot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
jeffk
Guru
Guru


Joined: 13 Sep 2003
Posts: 568

PostPosted: Sun May 06, 2012 7:29 pm    Post subject: Reply with quote

Thanks for the advice. I was only thinking the error message was telling me that my filesystem had a node /dev/null that was in the way of something udev-175-r1 wanted to do at boot time.

It hasn't affected my system, so I'll disregard the mknod warning until after I cross the udev-18x and related dependencies bridge.

Thanks,
Jeff
Back to top
View user's profile Send private message
VoidMage
Advocate
Advocate


Joined: 14 Oct 2006
Posts: 4810

PostPosted: Sun May 06, 2012 7:43 pm    Post subject: Reply with quote

If it's the message I think it is, you don't really want to delete the one present, just bind-mount /dev and clean it.
Well, the other possible option is that you've misread the message and it actualy tells you the opposite (that /dev/null is not present).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum