Chinaunix首页 | 论坛 | 博客
  • 博客访问: 77556
  • 博文数量: 34
  • 博客积分: 1166
  • 博客等级: 少尉
  • 技术积分: 340
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-15 13:01
文章分类
文章存档

2013年(2)

2011年(15)

2010年(3)

2009年(2)

2008年(3)

2007年(9)

我的朋友

分类: LINUX

2011-05-17 13:06:11

FreeBSD and Linux: 

# /usr/sbin/mknod /dev/null c 2 2 
# chmod 666 /dev/null 

Solaris: 

# mknod /devices/pseudo/mm@0:null c 13 2 
# chown root:sys /devices/pseudo/mm@0:null 
# chmod 666 /devices/pseudo/mm@0:null 
# ln -s /devices/pseudo/mm@0:null /dev/null 
阅读(390) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~