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

[debian-users:21801] Re: /home のりマウント



井上です。

原因を考えて見ました。
おそらく、mount optionのエラーのため、fstabの指定が無効になったのではない
かと思われます。全くの自分の設定ミスでした。

On Sun, 9 Apr 2000 22:21:18 +0900
"Kikutani, Makoto" <kikutani@xxxxxxxxxx> wrote:
> > >  で 原因は?
> > 最後のパラメータが0 0だったためです。
> 
> そんなことはないと思うけどなぁ。
> rootなんて余計なオプションがあったからだと思うが。

man fstab の4番目のfieldがmountのためのoptionでした。
       The fourth field, (fs_mntops), describes the mount options
       associated with the filesystem.

       It  is formatted as a comma separated list of options.  It
       contains at least the type of mount  plus  any  additional
       n on the available options for non-nfs file  systems,
       see  mount(8).   For  documentation  on  all  nfs-specific
       options have a look at nfs(5).  Common for  all  types  of
       file  system are the options ``noauto'' (do not mount when
       "mount -a" is given, e.g., at  boot  time),  and  ``user''
       (allow a user to mount). For more details, see mount(8).

となっていましたのでmountの方を見て見ました。
下記のとおりですが、rootオプションはありません。
私は何か勘違いしてroot指定したのだろうと思いますが、
おそらく、そのためにエラーとみなされて処理されなかったのではないか
と思います。


MOUNT(8)            Linux Programmer's Manual            MOUNT(8)


              comma separated string of options.  Some  of  these
              options  are  only  useful  when they appear in the
              /etc/fstab file.  The following  options  apply  to
              any file system that is being mounted:

              async  All  I/O  to  the file system should be done
                     asynchronously.

              atime  Update inode access time  for  each  access.
                     This is the default.

              auto   Can be mounted with the -a option.

              defaults
                     Use  default  options:  rw, suid, dev, exec,
                     auto, nouser, and async.

              dev    Interpret character or block special devices
                     on the file system.

              exec   Permit execution of binaries.

              noatime
                     Do  not  update  inode  access times on this
                     file system (e.g, for faster access  on  the
                     news spool to speed up news servers).

              noauto Can only be mounted explicitly (i.e., the -a
                     option will not cause the file system to  be
                     mounted).

              nodev  Do  not interpret character or block special
                     devices on the file system.

              noexec Do not allow execution of  any  binaries  on
                     the  mounted file system.  This option might
                     be useful for a server that has file systems
                     containing  binaries for architectures other
                     than its own.

              nosuid Do not  allow  set-user-identifier  or  set-
                     group-identifier  bits to take effect. (This
                     seems safe, but is in fact rather unsafe  if
                     you have suidperl(1) installed.)

              nouser Forbid  an ordinary (i.e., non-root) user to
                     mount the file system.  This is the default.

              remount
                     Attempt  to  remount an already-mounted file
                     system.  This is commonly used to change the
                     mount flags for a file system, especially to
                     make a readonly file system writeable.