*リモートファイルシステムの起動時のマウント [#x8b9b448]

-ページ: [[不具合報告/4.5β]]
-投稿者: [[KATOH Yasufumi]]
-優先順位: 低
-状態: 完了(要確認)
-カテゴリー: 機能要望
-投稿日: 2008-10-02 (木) 15:08:08
-バージョン: 

**メッセージ [#t94b2947]
現状 rc.S,rc.M を見ると,リモートファイルシステムについて NFS のみ考慮されているような気がしますが,cifs も入れませんか?

こんな感じ?

 --- rc.S.old	2008-10-02 14:46:14.000000000 +0900
 +++ rc.S	2008-10-02 14:49:10.000000000 +0900
 @@ -258,7 +258,7 @@
  # Mount local filesystems in fstab.
  # But not NFS because TCP/IP is not yet configured.
  echo "Mounting local filesystems..."
 -/sbin/mount -avt nonfs,proc,sysfs,tmpfs
 +/sbin/mount -avt nonfs,proc,sysfs,tmpfs,nocifs
  if grep -q usbfs /proc/filesystems && ! grep -q usbfs /etc/mtab; then
      mount -t usbfs usbfs /proc/bus/usb
      sleep 3

 --- rc.M.old	2008-10-02 14:49:17.000000000 +0900
 +++ rc.M	2008-10-02 14:49:48.000000000 +0900
 @@ -141,9 +141,13 @@
  
  # Mount remote filesystems in fstab.
  if [ -n "`/sbin/mount -anfv -t nfs 2> /dev/null`" ]; then
 -    echo "Mounting remote file systems..."
 +    echo "Mounting nfs file systems..."
      /sbin/mount -a -t nfs
  fi
 +if [ -n "`/sbin/mount -anfv -t cifs 2> /dev/null`" ]; then
 +    echo "Mounting cifs file systems..."
 +    /sbin/mount -a -t cifs,smbfs
 +fi
  
  # Start automounter.
  if [ -x /etc/rc.d/rc.autofs ]; then

----
-GNOMEやKDEの世界だと smb はユーザレベル(というか、デスクトップ環境の仮想ファイルシステムレベル)で扱うようになっているので、システムレベルでマウントすべきは微妙な印象 -- [[kojima]] &new{2008-10-03 (金) 00:14:32};
-なるほど.^^; -- [[KATOH Yasufumi]] &new{2008-10-06 (月) 17:21:36};
-rc1 では取り込まれています。 fstab に記述しなければ問題ないと思いますし。 fstab を編集する人ならその辺り気が付くと思います。 … 昨今では疑問か? -- [[M.Tomi]] &new{2008-10-06 (月) 17:40:53};

#comment

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS