[OpenIndiana-discuss] Recreate /dev/null
Colin Ellis
panamayacht at gmail.com
Thu Apr 25 12:15:04 UTC 2013
Boot using a live cd, mount your original /dev and /devices somewhere and
then copy from the live cd using rsync.
On Thu, Apr 25, 2013 at 6:03 AM, Richard Jones <
openindiana-discuss at jonze.com> wrote:
> 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
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list