[OpenIndiana-discuss] Recreate /dev/null
Richard Jones
openindiana-discuss at jonze.com
Thu Apr 25 08:51:38 UTC 2013
Hi,
I've overwritten /dev/null and can't seem to recreate it, can anyone
help?
Booting to milestone "milestone/single-user:default".
hostname: wilson
Requesting System Maintenance Mode
SINGLE USER MODE
Enter username for system maintenance (control-d to bypass): root
Enter root password (control-d to bypass):
single-user privileges assigned too root on /dev/console.
Entering System Maintenance Mode
Apr 25:1043:39 su: 'root' succeeded for root on /dev/console
# devlinks
^C # times out
# devfsadm
devfsadm: cannot create link: /dev/null -> ../devices/pseudo/mm at 0:null.
max attempts exceeded
# ls /dev/null
ls: cannot access /dev/null: No suh file or directory
# ln -s /devices/pseudo/mm at null /dev/null
ln: creating symbolic link `/dev/null': No such file or directory.
#
Currently a *lot* of system services won't run as a result of this. This
box is a fairly recent install so it's not too bad an option to
reinstall though it is work I'd rather avoid if possible.
Thanks,
Richard
--
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