无法弄清楚远程共享如何自动安装


1

我有一个存储iTunes音乐文件的NAS。iTunes上有一个自动挂载的共享,用于检索音乐文件。对于我的生活,我无法弄清楚automount是如何定义的。我需要更改NAS单元,因此需要更改共享安装。

共享安装在/ Network / media上,其外观和行为类似于automount。(来吧,随需应变。)/ etc / auto_ *文件显得质朴,但......

sol:etc sjf$ sudo automount -vc
automount: /net updated
automount: /home updated
automount: /Network/media updated
automount: no unmounts

显示/网络/媒体由automount控制

在/ etc / auto_master中...

#
# Automounter master map
#
+auto_master        # Use directory service
/net            -hosts      -nobrowse,hidefromfinder,nosuid
/home           auto_home   -nobrowse,hidefromfinder
/Network/Servers    -fstab
/-          -static

和/ etc / auto_home ......

#
# Automounter map for /home
#
+auto_home  # Use directory service
#
# Get /home records synthesized from user records
#
+/usr/libexec/od_user_homes

没有/ etc / fstab,但是有一个/etc/fstab.hd。它只包含......

IGNORE THIS FILE.
This file does nothing, contains no useful data, and might go away in
future releases.  Do not depend on this file or its contents.

我要改变的山是......

nas2.controlsoftcorp.com:/media on /Network/media (nfs, nodev, nosuid, automounted, nobrowse)

我错过了什么?

(目前使用10.8,但也需要在10.9上解决这个问题。)

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.