linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Missing magic number in statfs(2) et al
@ 2020-04-29 15:19 David Adam
  2020-04-29 19:49 ` Michael Kerrisk (man-pages)
  0 siblings, 1 reply; 2+ messages in thread
From: David Adam @ 2020-04-29 15:19 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-man

Hi,

The statfs(2) page is missing the magic number for SMB2:

SMB2_MAGIC_NUMBER 0xFE534D42

This is defined in fs/cifs/smb2glob.h .

Perhaps it could be added. It being so numerically close to 
CIFS_MAGIC_NUMBER, coupled with `mount.cifs` producing an SMB2 mount (even 
though `mount` still reports a CIFS type), has sent me a little wild over 
the last few weeks.

David Adam
zanchey@ucc.gu.uwa.edu.au

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

* Re: Missing magic number in statfs(2) et al
  2020-04-29 15:19 Missing magic number in statfs(2) et al David Adam
@ 2020-04-29 19:49 ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2020-04-29 19:49 UTC (permalink / raw)
  To: David Adam; +Cc: mtk.manpages, linux-man

Gidday David,

On 4/29/20 5:19 PM, David Adam wrote:
> Hi,
> 
> The statfs(2) page is missing the magic number for SMB2:
> 
> SMB2_MAGIC_NUMBER 0xFE534D42
> 
> This is defined in fs/cifs/smb2glob.h .
> 
> Perhaps it could be added. It being so numerically close to 
> CIFS_MAGIC_NUMBER, coupled with `mount.cifs` producing an SMB2 mount (even 
> though `mount` still reports a CIFS type), has sent me a little wild over 
> the last few weeks.

Added!

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

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

end of thread, other threads:[~2020-04-29 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-29 15:19 Missing magic number in statfs(2) et al David Adam
2020-04-29 19:49 ` Michael Kerrisk (man-pages)

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