[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



Reply to: