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
|