跳至主要内容

mount all

IBM AIX:

mount:
$su - root
#/usr/sbin/mount -rv cdrfs /dev/dc0 /cdrom

/dev/cd0是光驱的位置,/cdrom是mount点

umount:
#/usr/sbin/umount /cdrom

HP-UX:

mount:
首先确定操作系统的版本
$su - root
#uname -a
如果是HP-UX B.11.11以下的版本
#nohup /usr/sbin/pfs_mountd &
#nohup /usr/sbin/pfsd &
#/usr/sbin/pfs_mount -t rrip -x unix \
/dev/dsk/c0t1d1 /SD_CDROM

/dev/dsk/c0t1t1是光驱的位置,/SD_CDROM是mount点

如果是HP-UX B.11.22以上的版本
#/usr/sbin/mount -F cdfs -o rr \
/dev/dsk/c0t1d1 /SD_CDROM

umount:
HP-UX B.11.11以下的版本
#/usr/sbin/pfs_umount /SD_CDROM
HP-UX B.11.22以上的版本
#/usr/sbin/umount /SD_CDROM

Linux
mount:
一般大多数的linux系统会自动mount插入的光盘
可以通过下面的命令确认
Red Hat:
#ls /mnt/cdrom
SuSE or UnitedLinux:
#ls /cdrom
如果没有显示出文件列表,则手动挂载
Red Hat
$su - root
#mount -t iso9660 /dev/cdrom /mnt/cdrom
SuSE
#mount -t iso9660 /dev/cdrom /cdrom

/dev/cdrom 是光驱的位置,/cdrom是mount点

umount:
Red Hat:
#eject /mnt/cdrom
SuSE or UnitedLinux:
#eject /cdrom

Linux/390
此系统上不能直接mount,要通过NFS或者FTP的方式从其他服务器上抓取

hp OpenVMS
mount:
1.插入光盘
2.以系统用户登入(SYSTEM)
3.$MOUNT /OVERRIDE=IDENTIFICATION ddcn
ddcn是光驱位置

umount:
$DISMOUNT ddcn


SUN Solaris
mount:
一般系统会自动mount光盘
手动mount如下
1. $su - root
2. #/usr/sbin/mount -r -F hsfs /dev/dsk/c0t2d0s2 \
/cdrom
/dev/dsk/c0t2d0s2是光驱的位置,/cdrom是mount点

umount:
#eject

HP Tru64 Unix
mount:
#/usr/sbin/mount -t cdfs -o nodefperm,noversion \
/dev/disk/cdrom0c /cdrom

/dev/disk/cdrom0c 是光驱位置,/cdrom是mount点

umount:
#/usr/sbin/umount /cdrom

评论

此博客中的热门博文

Python学习笔记20100117

映射list   Dictionary 是用{}. list 是一那个[]. turple是用() 当你定义过dictionary后,你可以使用d.keys(), d.values(),d.items()将定义后的时候分别显示出来 当然可以将list里的值加减乘除,也可以如一般的定义直接重新复制这个list. 链接与分割字符串的 li=";", join(li) 则显示的就是 分隔符为;的数 如果使用li=li.split(";")则将刚刚;的分隔符删除,而split里也可定义域,如li.split(";",1)   自省 <---这是啥 之前在使用的时候发觉有些书本上的模块不能调用,很多是py脚本定义过的函数。 下载该脚本s,然后上传至指定位置。 >>>import sys >>>sys.path >>>sys.path.append("绝对位置")然后就能调用这些脚本和参数了。 删除 >>>sys.path.pop() 定义一个参数是 def info(test, test1=10.test2=12): info是函数名,test是必备参数,因为没有定义值,test1和test2是可选参数,定义了初始值   以上是外部函数的调用,下面转到内部函数 内部函数有type,str,dir及其他   ---type 返回任意字符的类型,模块也可以。types模块 >>> type(1) <type 'int'> >>> li=[] >>> type(li) <type 'list'> >>> import odbchelper >>> type(odbchelper) <type 'module'> >>> type(sys) <type 'module'> >>> import types ...

Setagaya park

  We visited Setagaya Park (世田谷区) yesterday. This park reminds us when we in Europe, which has a fancy fountain in the middle, and free entrance. People just laid down on the grass, enjoy the day time they can waste. people who have kids together,  play all different kinds of sports. you really can't image whether you are in Europe or  Japan. I would prefer to use a Bus instead of the metro, the metro is fast, but you only can see the dark, light, people sit or stand as Sardine, without any emotion. but on the bus, you can see the traffic, the shop, everything on the road. When we on our way to the park, we stop by a good chocolate shop named " craft chocolate works ",  this is a very good place to have ice cream, you probably can choose half & half, you can enjoy the feeling when you smell the chocolate smell and eat with it.  or you can enjoy beer or cake in "globe antiques (ザ グローブアン ティ ークス) .   also, we checked the Blue Bottle Coffee Sangenjaya ...