mount 命令
1 查看分区
ls /dev/sda*
或者 fdisk -l
2 挂载操作
mount /dev/sda1 /mnt/ #将sda1挂载到 /mnt目录下#
3查看挂载情况
mount 或者 ls /mnt/
4 取消挂载
umount /dev/sda1
5 如果sda1正在使用中无法卸载可以使用
duser -m /mnt...
分类:
系统相关 时间:
2014-06-10 18:31:24
阅读次数:
283
环境:rhel5.4 x64位虚拟机,过程:1、将OS
系统安装光盘iso上传到虚拟机中,挂载iso光盘:mount -t iso9660 -o loop /tmp/RHEL-5.4_x86_64_DVD.iso
/mnt2、找到安装光盘中repodata文件夹位置,例如rhel在/mnt/Serv...
分类:
其他好文 时间:
2014-06-10 16:07:33
阅读次数:
235
There are three DMVs you can use to track
tempdb
usage:sys.dm_db_task_space_usagesys.dm_db_session_space_usagesys.dm_db_file_space_usageThe
first two ...
分类:
数据库 时间:
2014-06-10 11:27:07
阅读次数:
307
This post introduces the classis callback usage
in JavaScript.
分类:
编程语言 时间:
2014-06-09 21:10:47
阅读次数:
301
服务器:192.168.20.204客户端:192.168.20.2031.
在服务器配置/etc/export 添加可以共享的文件夹和允许的客户端地址/home/dir
192.168.20.203(rw,no_root_squash,async)要加上no_root_squash,async,不...
分类:
其他好文 时间:
2014-06-09 19:39:09
阅读次数:
358
挂在的信息一般通过
nfs_parse_mount_option。可以直接打印。会有很多信息。1.修改的地方在super.c该文件涉及到获取超级快等操作。修改enum{};在里面添加
Opt_username, Opt_passwd,2.修改另一个枚举类型,添加:Opt_username,"user...
分类:
其他好文 时间:
2014-06-09 19:20:42
阅读次数:
8232
zTree实现地市县三级级联报错(三)1、详细报错例如以下usage: java
org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] {
-help | start | stop }2014-5-11 ....
分类:
其他好文 时间:
2014-06-08 19:35:36
阅读次数:
262
查看帮助命令
bixiaopeng@bixiaopeng ~$ adb shell screencap -v
screencap: invalid option -- v
usage: screencap [-hp] [-d display-id] [FILENAME]
-h: this message
-p: save the file as a png.
-d: speci...
分类:
移动开发 时间:
2014-06-08 05:06:26
阅读次数:
353
开发提出需要从Greenplum同步到Oracle的解决方案,写了个脚本用于定时调度处理。
#!/bin/sh
#copy_gp_2_ora.sh
if [ $# -ne 1 ]; then
echo "Usage: sh $0 tablename"
exit 1
fi
TABLENAME=$1
psql -h -U
\timing off
...
分类:
数据库 时间:
2014-06-08 03:15:15
阅读次数:
279
The usage of bind is to define a specified
scope for called function. Because the key this is easy to refer another objet,
experically window, instead...
分类:
其他好文 时间:
2014-06-07 21:28:07
阅读次数:
307