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

[plamo:30570] Re: NASのマシン起動時の自動mountについて



荒木田です.

> とりあえず、ifの中身を mount -anifv -t smbfs にしてみると如何ですか?
> (flags iを追加、cifs -> smbfs)

本多さんありがとうございます,きました!

こんな感じ

# Mount smbfs filesystems in fstab
if [ -n "` mount -anifv -t smbfs 2> /dev/null`" ] ; then
  echo "Mounting smbfs file systems..."
  mount -a -t smbfs
fi

に /etc/rc.d/rc.M を書き換えたら起動時にちゃんと NAS が
マウントされました.

dmesg には

smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs

が出ていますが,とりあえず結果オーライという事で.

大変満足です.

 
--
荒木田 英禎


Follow-Ups
[plamo:30572] Re: NASのマシン起動時の自動mountについて, Hideyoshi ARAKIDA
References
[plamo:30566] Re: NAS のマシン起動時の自動mount について, KATOH Yasufumi
[plamo:30567] Re: NASのマシン起動時の自動mountについて, Hideyoshi ARAKIDA
[plamo:30568] Re: NAS のマシン起動時の自動mount について, Naofumi Honda

[検索ページ] [メール一覧]
Plamo ML 公開システム