[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question about /etc/fstab



gid and uid is to identifly what the "root" of the mount point belonged
to... for example.
mount /dev/hda7 /mnt/rootofvar -o gid=502,uid=502
when you ls your /mnt directory will like this
drwxr-xr-x 1 502 502 (linksize) (date) /mnt/rootofvar
something like that.
when your the 4'th option in fstab is the -o option in command line...
read man page for detail.
who can mount or not is base of -o user not -o uid, if you put defaults
in the 4'th it will
auto mount on boot up. man page should solve most of your problem here
(I think).
Good Luck
Alex

wen@japan.email.ne.jp wrote:

>wzl> gid是group id的简写,还有uid(user id),看一下/etc/passwd和/etc/group就明白
>wzl> 了,能不能给上更详细的出错信息?
> 
>我看过/etc/passwd,里面没有一个gid是502的. 在/etc/fstab中
>/dev/hda7 /var  ext2 exec,dev,suid,rw,gid=502 1 2 
>设定gid=502是什么意思呢? 只有属于502 group的用户才能mount /dev/hda7吗?
>
>错误信息好象是:
>mount: wrong fs type, bad option, bad superblockon /dev/hda7, or too many mounted file systems 
>
>谢谢指教!
>
>Regards,
>
>--Wen
>
>  
>

-- 
To UNSUBSCRIBE, email to debian-chinese-big5-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
| This message was re-posted from debian-chinese-big5@lists.debian.org
| and converted from big5 to gb2312 by an automatic gateway.


-- 
To UNSUBSCRIBE, email to debian-chinese-gb-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: