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

Re: /etc/exports



_Never_ put spaces between the IP/system name and the options in parenthesis.
E.g., /export system(rw),
_not_ /export system (rw)

The former will give rw to only system.
The latter will give the default (ro) to system and rw to _all_ other systems.

-- 
Bryan J. Smith (currently mobile)
b.j.smith@ieee.org

-----Original Message-----
From:  bentley_rhodes 
Date:  05-1-31 9:47
To:  silug-discuss@silug.org
Subj:  /etc/exports

the dummies book says i should make the following entries into the 
/etc/exports file:

    * /portney/backup    192.168.0.0/24 (rw,sync)
      /portney/linux     192.168.0.0/24 (rw,sync)
      /portney/mp3    192.168.0.0/24 (rw,sync)
      /portney/pix    192.168.0.0/24 (rw,sync)
    *

          o i do not know if it matters if i put spaces or tabs between
            the entries, so if anyone can clear that up i would be happier.

this is what i got when i tried to export the file

[root@localhost ~]# exportfs -a
exportfs: No options for /portney/backup 192.168.0.0/24: suggest 
192.168.0.0/24(sync) to avoid warning
exportfs: No host name given with /portney/backup (rw,sync), suggest 
*(rw,sync) to avoid warning
exportfs: No options for /portney/linux 192.168.0.0/24: suggest 
192.168.0.0/24(sync) to avoid warning
exportfs: No host name given with /portney/linux (rw,sync), suggest 
*(rw,sync) to avoid warning
exportfs: No options for /portney/mp3 192.168.0.0/24: suggest 
192.168.0.0/24(sync) to avoid warning
exportfs: No host name given with /portney/mp3 (rw,sync), suggest 
*(rw,sync) to avoid warning
exportfs: No options for /portney/pix 192.168.0.0/24: suggest 
192.168.0.0/24(sync) to avoid warning
exportfs: No host name given with /portney/pix (rw,sync), suggest 
*(rw,sync) to avoid warning
exportfs: No options for /media/TYEBLEN 192.168.0.0/24: suggest 
192.168.0.0/24(sync) to avoid warning
exportfs: No host name given with /media/TYEBLEN (rw,sync), suggest 
*(rw,sync) to avoid warning
exportfs: No host name given with /portney/backup 
(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_ccheck,secure_locks,mapping=identity,anonuid=-2,anongid=-2), 
suggest 
*(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtreee_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) 
to avoid warning
exportfs: No host name given with /media/TYEBLEN 
(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_ccheck,secure_locks,mapping=identity,anonuid=-2,anongid=-2), 
suggest 
*(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtreee_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) 
to avoid warning
exportfs: No host name given with /portney/linux 
(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_ccheck,secure_locks,mapping=identity,anonuid=-2,anongid=-2), 
suggest 
*(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtreee_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) 
to avoid warning
exportfs: No host name given with /portney/pix 
(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_ccheck,secure_locks,mapping=identity,anonuid=-2,anongid=-2), 
suggest 
*(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtreee_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) 
to avoid warning
exportfs: No host name given with /portney/mp3 
(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtree_ccheck,secure_locks,mapping=identity,anonuid=-2,anongid=-2), 
suggest 
*(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,subtreee_check,secure_locks,mapping=identity,anonuid=-2,anongid=-2) 
to avoid warning


-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.

-
To unsubscribe, send email to majordomo@silug.org with
"unsubscribe silug-discuss" in the body.