[OpenIndiana-discuss] Recreate /dev/null

Richard Jones openindiana-discuss at jonze.com
Thu Apr 25 10:55:40 UTC 2013


On Thu, Apr 25, 2013 at 01:00:52PM +0400, Alexander Eremin wrote:
> mknod /devices/pseudo/mm at 0:null c 13 2 
mknod: `/devices/pseudo/mm at 0:null': File exists

> chown root:sys /devices/pseudo/mm at 0:null 
chown: changing ownership of `/devices/pseudo/mm at 0:null': Not owner

> chmod 666 /devices/pseudo/mm at 0:null 
chmod: changing permissions of `/devices/pseudo/mm at 0:null': No owner

> cd /dev ln -s ../devices/pseudo/mm at 0:null null
ln: creating symbolic link `null': No such file or directory

It seems the file does not exist but resists being created...

R

-- 
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