王朝网络
分享
 
 
 

mount问答之一 linux 挂装

王朝system·作者佚名  2006-12-17
宽屏版  字体: |||超大  

mount问答之一 linux 挂装

mount问答之一 linux 挂装 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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
>>返回首页<<
推荐阅读
 
 
频道精选
 
静静地坐在废墟上,四周的荒凉一望无际,忽然觉得,凄凉也很美
© 2005- 王朝网络 版权所有