Q: 1. What is a raw device? A:raw device, also known as a rawpartition is a disk partition that is not mounted and written by linuxfilesystem (ext2/ext3, reiserfs) or by Oracle Cluster File System(OCFS), but is accessed by a character device driver. It is theresponsibility of the application to organize how the data is writtento the disk partition. [top] Q: 2. How can a raw device be re...
by gunguymadman - Oracle - 2008-10-21 16:04:02 阅读(2593) 回复(0)
int main() { int rawfd=socket(AF_INET,SOCK_raw,0); printf("rawfd file id is %d\n",rawfd); if(rawfd==-1) printf("error init a raw fd, errno is %d\n",errno); } rawfd返回-1.而且errno值是94 ESOCKTNOSUPPORT 不支持原始套接字?
svrbuild提示 unable to access /dev/raw/raw1,问题是raw1和rawctl我都改成是sybase 的了,还有什么地方需要调整吗? rhel 3u5 + sybase12.5.3 多谢!
操作系统:redhat 8。 磁盘阵列(raid5)上有260G左右的数据,文件的格式是ext3。 小弟不小心误操作,删除了磁盘阵列上的分区并进行了格式化,而且写了大概17G的文件,现在想恢复没有格式化前的文件。能恢复多少就多少。 请问各位大虾,有没有人做过如此的恢复。请给些建议。 在线等。否则真的要死人了。大虾们,救救小弟啊。555555
操作系统:redhat 8。 磁盘阵列(raid5)上有260G左右的数据,文件的格式是ext3。 小弟不小心误操作,删除了磁盘阵列上的分区并进行了格式化,而且写了大概17G的文件,现在想恢复没有格式化前的文件。能恢复多少就多少。 请问各位大虾,有没有人做过如此的恢复。请给些建议。 在线等。否则真的要死人了。大虾们,救救小弟啊。555555
操作系统:redhat 8。 磁盘阵列(raid5)上有260G左右的数据,文件的格式是ext3。 小弟不小心误操作,删除了磁盘阵列上的分区并进行了格式化,而且写了大概17G的文件,现在想恢复没有格式化前的文件。能恢复多少就多少。 请问各位大虾,有没有人做过如此的恢复。请给些建议。 在线等。否则真的要死人了。大虾们,救救小弟啊。555555
我想写一通用的屏幕输入SHELL函数,因此每次通过raw下判断是否为回车符号。 同时解决了汉字输入的问题 但不能解决空格、TAB的问题? 代码如下: getchar() { savestty=`stty -g` stty raw -echo eval $1=`dd if=/dev/tty bs=1 count=1 2>/dev/null` stty echo stty $savestty } clear tput cup 15 10 echo -e "请输入: \c" while true do getchar char1 if [ "${char1}" != " " -a "${char1}" != " " ];th...