linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL
@ 2019-12-28 14:36 Pali Rohár
  2019-12-28 19:14 ` Andreas Dilger
  2019-12-31 22:54 ` Eric Sandeen
  0 siblings, 2 replies; 9+ messages in thread
From: Pali Rohár @ 2019-12-28 14:36 UTC (permalink / raw)
  To: Eric Sandeen, Andreas Dilger, David Sterba, Darrick J. Wong,
	linux-fsdevel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

Hello!

I see that you have introduced in commit 62750d0 two new IOCTLs for
filesyetems: FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL.

I would like to ask, are these two new ioctls mean to be generic way for
userspace to get or set fs label independently of which filesystem is
used? Or are they only for btrfs?

Because I was not able to find any documentation for it, what is format
of passed buffer... null-term string? fixed-length? and in which
encoding? utf-8? latin1? utf-16? or filesystem dependent?

-- 
Pali Rohár
pali.rohar@gmail.com

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

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

end of thread, other threads:[~2020-01-07 23:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-28 14:36 FS_IOC_GETFSLABEL and FS_IOC_SETFSLABEL Pali Rohár
2019-12-28 19:14 ` Andreas Dilger
2019-12-28 20:05   ` Pali Rohár
2019-12-31 22:54 ` Eric Sandeen
2020-01-01 18:10   ` Theodore Y. Ts'o
2020-01-01 18:39     ` Pali Rohár
2020-01-02 21:57       ` Darrick J. Wong
2020-01-02 22:08         ` Pali Rohár
2020-01-07 23:15           ` Darrick J. Wong

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).