麻烦谁给贴一下fstab的参数说明……

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

麻烦谁给贴一下fstab的参数说明……

#1

帖子 lyreopera » 2005-07-21 11:11

RT


这是cedega中关于error = 21的说明,
Exec (error = 21)
The version of mount that comes with some distributions now run with the noexec option unless otherwise specified. Running games from a partition mounted with noexec can cause an error = 21 message.

To fix this issue, edit the /etc/fstab and modify the partition line by removing the noexec option and adding the exec switch to the mount options.

For example:

change

/dev/hda1 / ext3 errors=remount-ro,no-exec,defaults 0 1

to

/dev/hda1 / ext3 errors=remount-ro,exec,defaults 0 1

If neither exec nor no-exec appears in the line it is recommended that you add exec to ensure that the partition can be used by Cedega.

To remount the partition run:

mount -o remount /
但是我不会改,

代码: 全选

sda5  /etc/sda5   /windows/sda5  vfat  auto,user,iocharacter=utf8 0 0
怎么加exec?
上次由 lyreopera 在 2005-07-21 11:20,总共编辑 1 次。
……
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#2

帖子 yongyi » 2005-07-21 11:17

代码: 全选

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hda11      /               xfs     defaults        0       1
/dev/hda10      /boot           ext3    defaults        0       2
/dev/hda9       none            swap    sw              0       0
/dev/hdd        /media/cdrom0   udf,iso9660 ro,user,uft8,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

/dev/hda1      /mnt/winc        vfat    rw,user,utf8   0       0
/dev/hda5      /mnt/wine        vfat    rw,user,utf8,umask=000  0   0
add in options:
/dev/hda5 /mnt/wine vfat rw,user,utf8,exec,umask=000 0 0
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#3

帖子 lyreopera » 2005-07-21 11:22

跟位置有关系吗?

我改成

sda5 /etc/sda5 /windows/sda5 vfat exec,auto,user,iocharacter=utf8 0 0

发现没起作用,
怀疑是参数冲突了……
……
yongyi
帖子: 3025
注册时间: 2005-05-07 23:57
联系:

#4

帖子 yongyi » 2005-07-21 12:34

我想:
怎么你的fstab不是按这格式写的:
# <file system> <mount point> <type> <options> <dump> <pass>
我不清楚不按这顺序写是否可行 :wink:

还有,这个参数:iocharacter是指什么?
独自看一看大海
总想起身边走在路上的朋友
Lenovo E290-420[Celeron-M420/256M/60G/Intel GMA950]
头像
lyreopera
帖子: 771
注册时间: 2005-05-23 13:38
来自: gdsz

#5

帖子 lyreopera » 2005-07-21 13:27

因为我全是凭印象打的,漏了不少东西……

iocharacter显然是打错了……

现在没有error21了……
上次由 lyreopera 在 2005-07-22 2:25,总共编辑 1 次。
……
头像
DarkEyes
帖子: 549
注册时间: 2005-07-01 13:09
来自: 广西南宁

意识流派的经典~

#6

帖子 DarkEyes » 2005-07-21 14:06

嘿嘿
最新座驾:帕萨特1.8T御尊版
road
帖子: 148
注册时间: 2005-04-01 15:10
来自: 浙江

#7

帖子 road » 2005-07-21 19:22

iocharset
回复