亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2591 | 回復: 0
打印 上一主題 下一主題

ldd3的short的讀寫都是255,問題在哪里? [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-02-26 13:28 |只看該作者 |倒序瀏覽
無論往/dev/short0中寫入什么,讀出的都是255,不知道問題出在哪里了?
[root@MagicLinux short]# ./short_load
[root@MagicLinux short]# tail /var/log/messages
Feb 26 13:00:48 MagicLinux pppoe[2540]: PPP session is 2089 (0x829)
Feb 26 13:00:51 MagicLinux pppd[2537]: Remote message: 0;User(z1367055) Authenticate OK, Request
Accept by hb.cn
Feb 26 13:00:51 MagicLinux pppd[2537]: PAP authentication succeeded
Feb 26 13:00:51 MagicLinux pppd[2537]: local  IP address 59.174.146.232
Feb 26 13:00:51 MagicLinux pppd[2537]: remote IP address 59.174.144.1
Feb 26 13:00:51 MagicLinux pppd[2537]: primary   DNS address 202.110.190.6
Feb 26 13:00:51 MagicLinux pppd[2537]: secondary DNS address 202.103.44.150
Feb 26 13:04:23 MagicLinux su(pam_unix)[2653]: session opened for user root by (uid=500)
Feb 26 13:24:22 MagicLinux kernel: Trying to free nonexistent resource <dc808fc0-dc808fc7>
Feb 26 13:25:27 MagicLinux kernel: short: can't get assigned irq 7
[root@MagicLinux short]# ls  /dev/short*
/dev/short0   /dev/short1   /dev/short2   /dev/short3   /dev/short4   /dev/short5   /dev/short6   /dev/short7   /dev/shortint
/dev/short0p  /dev/short1p  /dev/short2p  /dev/short3p  /dev/short4p  /dev/short5p  /dev/short6p  /dev/short7p  /dev/shortprint
/dev/short0s  /dev/short1s  /dev/short2s  /dev/short3s  /dev/short4s  /dev/short5s  /dev/short6s  /dev/short7s
[root@MagicLinux short]#


[root@MagicLinux short]# echo -n "2" > /dev/short0
[root@MagicLinux short]# dd if=/dev/short0 bs=1 count=1 |od -t u1
1+0 records in
1+0 records out
1 byte (1 B) copied, 3.4e-05 seconds, 29.4 kB/s
0000000 255
0000001
[root@MagicLinux short]# echo -n "ertg" > /dev/short0
[root@MagicLinux short]# dd if=/dev/short0 bs=1 count=1 |od -t u1
1+0 records in
1+0 records out
1 byte (1 B) copied, 3.5e-05 seconds, 28.6 kB/s
0000000 255
0000001
[root@MagicLinux short]#
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP