转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 数据库 >> MySql >> 正文
mount问答之一 linux 挂装         ★★★★

mount问答之一 linux 挂装

作者:闵涛 文章来源:闵涛的学习笔记 点击数:657 更新时间:2009/4/22 20:47:23

mount问答之一

本站 null

〖返回〗〖转发〗

Q:为什么我的软驱MOUNT不上? 

A:在LINUX中MOUNT命令是将某个文件系统挂在主目录中,所以不是将软驱MOUNT上
去,而是将软盘MOUNT上去,也就是说在MOUNT时软驱中必须有软盘!

A:请试试: 
mount -t msdos /dev/fd0 /mnt/floppy 
mount -t ext2 -r /dev/fd0 /mnt/floppy 

A:其实放进软盘后,直接mount /mnt/floppy就可以了!

A:In fact I''''d like to modify the poor fants in my Netscape (Chinese, 
of cause). I found a small software(the name is XFont Generator) 
which can convert the fonts in M$ Windows to X Window, so I converted 
some fonts and saved in floppy disk, so that led to the problem that 
RedHat could not get the resource of *.bdf file. But now this problem 
has been solved. I used mtools to solve this problem: 
# mdir a: --check the files in my floppy 
# mcopy a:/song12.bdf /usr/games/song12.bdf 
# bdftopcf /usr/games/song12.bdf | gzip -c > song12.pcf.gz 
# cp song12.pcf.gz /usr/X11R6/lib/X11/fonts/misc 
# mkfontdir /usr/X11R6/lib/X11/fonts/misc 
song12.bdf is the font I converted through XFont Generator. Forgive 
me I am really a beginner I stored the song12.bdf to /usr/games! I 
really do not know where to put it is better. 
Now the Chinese in my NetScape is much better than before. I should 
thank you all for your kindly help. I really have learnt a lot from 
all of you. 
==============================================================
Q:敲入“mount/dev/fd0/ /mnt/floppy后显示出“you must specify the filesystem type”,为什么?

A:作为可移动介质, 它的文件系统是多样的, 所以如果 
您不指定文件系统, mount如今是还没有办法判断的. 
mount还没有智能化到那种程度. 一般来讲大家都是 
使用M$的fat格式为多, 所以这种情况下的语法命令 
应该是`mount -t vfat /etc/fd0 /mnt/floppy 
一劳永逸的做法是修改/etc/fstab文件. 你自己看 
一下就会很容易理解的. 就是这么一句话: 
/dev/fd0 /mnt/floppy vfat noauto 0 0 
以后使用来自MicroSoft平台格式化的软盘, 直接敲入 
mount /mnt/floppy就可以挂载vfat的软盘啦. 
==============================================================
我试图将一个普通档案 mount 成 filesystem 。我看了 man mount 及 
man losetup 。於是我照了上面所说的步骤来做,结果如下: 
man losetup 说,我可以: 
dd if=/dev/zero of=/file bs=1k count=100 
losetup -e des /dev/loop0 /file 
Password: 
Init (up to 16 hex digits): 
mkfs -t ext2 /dev/loop0 100 
mount -t ext2 /dev/loop0 /mnt 
...               
umount /dev/loop0 
losetup -d /dev/loop0 
我照做了,结果却是: 
dd if=/dev/zero of=/file bs=1k count=100 
losetup -e des /dev/loop0 xx 
Password: 
Init (up to 16 hex digits): 
ioctl: LOOP_SET_STATUS: Invalid argument 
看样子,似乎是我的 kernel 少了些什麽东东 (ps 我的 kernel 中已将 
loopback device 做成 module 了) 。我想请问的是, losetup 
的 -e option 中, des 及 xor 到底是什麽意思? 而在使用 -e des 
时, losetup 又问我 Init: ,那又是什麽意思? 
以上的办法不成,所以我只好这样试: 
dd if=/dev/zero of=/file bs=1k count=100 
losetup /dev/loop0 xx          ===> 似乎成功了 
mkfs -t ext2 /dev/loop0 100 
mount -t ext2 /dev/loop0 /mnt 
结果就 mount 成功了==========================================================
Q:文章说:mount/dev/had1/mnt命令就可以把win98分区挂到/mnt文件夹中,我却不
成功,why? 
thanks
 
A:你说的文件没将概念说明白, 所以, 你不知道如何正确mount 
是这样子的: 
首先你必须知道泥win98所在的分区, 例如是/dev/hda1之类的, 
然后建一个目录,例如 mkdir /mnt/win98 
然后使用mount命令: mount /dev/hda1 /mnt/win98 
有必要的话, 你还必须指明文件系统类型. 另外, 你必 
===========================================================
Q:
Linux如何mount NetWare分区?如何访问NOVELL服务器?谢谢 

A:
At 03/22/00 10:41 PM, zhang wrote: 
>Linux如何mount NetWare分区? 
>如何访问NOVELL服务器?谢谢 
you should installed ncpfs ( a software package that include IPX/SPX 
protocol) 
then you can use some commands like ncpmount to mount the NetWare 
partition( sorry, i forget the exact command, so you should read the 
help document yourself) 
but there is something unhappy for us, the owner of this package has 
just builded this software from NetWare 3.1, and hasn''''t tested it in 
NetWare 4.11, I have tried to ncpmount a NetWare partition in my 
office which use 4.11, and it happens that i am visiting the right 
server but it could not let me in although i give the correct 
password.:-( 
=====================================================

整理:iamafan


[C语言系列]C# 和 Linux 时间戳转换  [Web开发]PHP flock文件锁介绍
[Web开发]flock() Linux下的文件锁  [电脑应用]Linux下的六个免费的虚拟主机管理系统介绍
[电脑应用]Linux数据库大比拚  [操作系统]在Windows中玩转Linux操作系统
[办公软件]在RedHat Linux 9里安装gaim0.80  [办公软件]掌握 Linux 调试技术
[办公软件]理解 Linux 配置文件  [聊天工具]Real10 & Xpdf installation on Linux Box
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · Sql Server  · MySql
    · Access  · ORACLE
    · SyBase  · 其他
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台