On Wed, Oct 26, 2005 at 10:39:08PM +0000, Bob Hepple wrote: > I need to export an ext2fs file system mounted@/mnt/guest - it's a > removable IDE disc that I carry to & from my linux [EMAIL PROTECTED] > > "mount" shows: > > /dev/ad2s1 on /mnt/guest (ext2fs, local) > > So, I put an entry into /etc/exports: > > /mnt/guest -alldirs -network 192.168.254.0 -mask 255.255.255.0 > > and then: > > kill -s HUP `cat /var/run/mountd.pid` > > "showmount localhost" shows nothing and in /var/log/messages I have: > > Oct 27 11:36:01 raita kernel: ext2fs doesn't support the old mount syscall > Oct 27 11:36:01 raita mountd: can't export /mnt/guest > Oct 27 11:36:01 raita mountd: bad exports list line /mnt/guest -network > 192.168.254.0 -mask 255.255.255.0 > > ... so there's really no way to NFS export an ext2fs file system???
Hi, The mountd program in FreeBSD previously had some hard-coded restrictions on which filesystems it could export (ufs, msdosfs, cd9660, and ntfs). I converted the mountd program to use the nmount() syscall, and removed the hardcoded restrictions on what filesystems can be NFS exported. As long as the underlying filesystem supports NFS exporting, it should work. It should now work for ext2fs. If you cvsup to RELENG_6 or HEAD, you can get my changes, and if you can try them out and let me know if you have any problems, I would appreciate it. -- Craig Rodrigues [EMAIL PROTECTED] _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"