linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* name_to_handle_at() and persistent filesystem IDs
@ 2014-03-16  7:43 Michael Kerrisk
       [not found] ` <CAHO5Pa0Y8r1DxHTc0YN-4geoLJ3JYwHT99EcuaGL6k++ek+aEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Kerrisk @ 2014-03-16  7:43 UTC (permalink / raw)
  To: Aneesh Kumar K.V
  Cc: Linux-Fsdevel, Linux Kernel, Andreas Dilger, NeilBrown,
	Miklos Szeredi, Bruce Fields, linux-man, Christoph Hellwig

Hello Aneesh,

I'm currently working on a man page for name_to_handle_at() and
open_by_handle_at(), and I have a question relating to a point that
probably needs to be covered in the man page.

Back in July 2010, in this thread:
http://thread.gmane.org/gmane.linux.file-systems/41782/focus=43131
you said:

[[
mount id should not be looked at as a persistent identifier. It should
be used to derive a persistent identifier from /proc/self/mountinfo. The
persistent identifier could be the combination of device properties,
file system properties or the uuid which is going to be an optional
tag in /proc/self/mountinfo.
]]

In the man page, I'd like to briefly describe how one derives such a
persistent ID from mountinfo. AFAICS, the optional UUID tag in
/proc/self/mountinfo has not come to pass. So, what then is the
recommended practice for deriving the persistent ID?

Cheers,

Michael

-- 
Michael Kerrisk Linux man-pages maintainer;
http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface", http://blog.man7.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-17 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-16  7:43 name_to_handle_at() and persistent filesystem IDs Michael Kerrisk
     [not found] ` <CAHO5Pa0Y8r1DxHTc0YN-4geoLJ3JYwHT99EcuaGL6k++ek+aEQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-03-16 15:08   ` Aneesh Kumar K.V
2014-03-17 16:16     ` Michael Kerrisk (man-pages)
     [not found]     ` <8761netc3z.fsf-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-03-17 17:01       ` [Nfs-ganesha-devel] " Frank Filz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).