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

[plamo:02180] Re: autofs



On Fri, 2 Apr 1999, Jun Kuwamura wrote:

>   でもまだ、autofs ができません。/var/adm/messages に:
> --
> Apr  2 23:40:18 ylix automount[536]: attempting to mount entry /auto/zip
> Apr  2 23:40:18 ylix automount[675]: >> /bin/mount: illegal option -- s

これは、mount コマンドが古くて -s オプションがなかったためでした。
# Plamo-1.3 ベースで使ってました(^^;
Plamo-1.4.1 の mount コマンドを持ってくるとうまくできるようにな
りました。

  ところで、

# insmod autofs 

を手動でしなければならない件ですが、ロックファイルが残っているた
めに automount コマンドの起動がされていないようですね。

/etc/rc.d/rc.local に
--
# Auto-Mounter
if [ -x /etc/rc.d/rc.autofs ]; then
    rm -f /var/lock/subsys/automount
    /etc/rc.d/rc.autofs start
fi
--

を入れると起動でき、ls /cdrom とかも使えるようになります。

あと、

rmdir /cdrom
ln -sf /auto/cdrom /cdrom

とかしておくとこれまでの /etc/fstab の cdrom の記載の変わりに
なります。

--
 Jun Kuwamura
rC Cm
  ^
  ~

References
[plamo:02176] Re: autofs, Jun Kuwamura

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