On 12/2/06, Jacob Yocom-Piatt <[EMAIL PROTECTED]> wrote:
i have a mailserver running 4.0-release and its mailboxes are on an NFS mounted
directory. when the machine boots, it does not successfully mount the mail
directory with the entry

172.16.16.6:/Volumes/Xserve\ RAID/mail /var/mail/virtual nfs rw,nodev,nosuid 0 0

giving several

fstab: /etc/fstab: Inappropriate file type or format

Backslash has no special meaning in /etc/fstab; the line you show is
parsed as having a specifier of "172.16.16.6:/Volumes/Xserve\", a
mount point of "RAID/mail", a type of "/var/mail/virtual", etc.


...
additionally, the directory mounts fine when issuing

mount_nfs -o rw,nodev,nosuid /Volumes/Xserve\ RAID/mail /var/mail/virtual

Right, because there the shell is doing the parsing instead of getfsent().


A quick check of the code for getfsent() shows absolutely no way to
include a space in the specifier.  As far as I can tell, if changing
the mount point on the server to not include a space (or tab) isn't an
option, then you'll have to mount it manually from /etc/rc.local.


Philip Guenther

Reply via email to