[OpenIndiana-discuss] Recreate /dev/null

Richard Jones openindiana-discuss at jonze.com
Thu Apr 25 12:03:45 UTC 2013


On Thu, Apr 25, 2013 at 01:30:35PM +0200, Jim Klimov wrote:
> How about removing both /devices/pseudo/mm at null* and /dev/null and
> then trying devfsadm?

# rm /dev/null
rm: cannot remove `/dev/null': No such file or directory
# rm /devices/pseudo/mm at 0:null
rm: cannot remove `/devices/pseudo/mm at 0:null': Operation not applicable
# devfsadm
devfsadm: cannot create link: /dev/null -> ../devices/pseudo/mm at 0:null.
max attempts exceeded

> Maybe also try to rsync (or tar/cpio/...) the device nodes from some
> other device tree, such as live media or an alternate BE, or via LAN
> with manually enabled networking?

I tried a few things, they didn't work either with no such file or
directory errors :(

-- 
Richard Jones                                      +44 7843 588 599
              "Quod gratis asseritur, gratis negatur"              
Privacy notice:                   http://www.jonze.com/privacy.html



More information about the OpenIndiana-discuss mailing list