Linux-man Archive on lore.kernel.org
 help / color / 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, back to index

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)

Linux-man Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-man/0 linux-man/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-man linux-man/ https://lore.kernel.org/linux-man \
		linux-man@vger.kernel.org
	public-inbox-index linux-man

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-man


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git