Hi, my current exports(5) file looks something like this : I copied the last line and replaced the path with /usr/ports, when I try to reload mountd(8), I get an error in /var/log/messages :
Look at this small session. The initial exports(5) file works fine. The second one generate an error. %%% propane:tataz# cat /etc/exports /usr/home/ncvs -ro -network 172.16.0.0 -mask 255.255.0.0 /usr/home/tataz -maproot=tataz -network 172.16.80.0 -mask 255.255.255.0 propane:tataz# sed -i '' '${ p; s%home/tataz%ports%; s/tataz/root/; }' /etc/exports propane:tataz# cat /etc/exports /usr/home/ncvs -ro -network 172.16.0.0 -mask 255.255.0.0 /usr/home/tataz -maproot=tataz -network 172.16.80.0 -mask 255.255.255.0 /usr/ports -maproot=root -network 172.16.80.0 -mask 255.255.255.0 propane:tataz# /etc/rc.d/mountd reload Reloading mountd config files. propane:tataz# tail -n 2 /var/log/messages May 17 15:33:03 propane mountd[367]: can't change attributes for /usr/ports May 17 15:33:03 propane mountd[367]: bad exports list line /usr/ports -maproot %%% I checked mountd(8) sources, and this error messages appears when the mount(2) syscall fails (I assume this is the way mountd(8) informs the kernel about a directory to be exported). I'm sure this is a foolish error from me, but I can't figure one. Thanks. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org > _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"