All of lore.kernel.org
 help / color / mirror / Atom feed
* Better error/warning message while exporting ramfs
@ 2007-12-13 12:52 Suresh Jayaraman
  0 siblings, 0 replies; only message in thread
From: Suresh Jayaraman @ 2007-12-13 12:52 UTC (permalink / raw)
  To: linux-nfs

While trying to export non-device filesystems like tmpfs and ramfs,
nfs-utils version < 1.1.0 didn't report any error or warning message. So
the users were left clueless by the "Permission denied" message on the
Client, though it was possible to export tmpfs by setting
'fsid=<somenum>' option.

nfs-utils 1.1.0 and greater reported a much better warning:

"exportfs: Warning: /mnt/js requires fsid= for NFS export"

However, this warning message is reported only while exporting tmpfs and
not while exporting ramfs.

#mount -t ramfs ramfs /mnt/js
#exportfs -v -o rw,sync,no_subtree_check localhost:/mnt/js
exporting localhost:/mnt/js
exportfs: Warning: /mnt/js does not support NFS export.."

I think this is because trail export '-test-client-' with fsid 1 fails
in case of ramfs. Iam not sure about the differences between ramfs and
tmpfs but, "df -h" lists the tmpfs mounts while listing ramfs one. Not
sure whether this has something to do with this behaviour.

It would help if we report the same warning message while exporting
ramfs also.

Also, http://nfs.sourceforge.net/#faq_c6 needs an update?

Thanks,

-- 
Suresh Jayaraman

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-13 12:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-13 12:52 Better error/warning message while exporting ramfs Suresh Jayaraman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.