Re: Reg:magic number of the filesystem

From: Alexander Viro (viro@math.psu.edu)
Date: Sun Jun 17 2001 - 03:26:03 EST


On Sun, 17 Jun 2001, SATHISH.J wrote:

> Hi,
>
> Every file system has a magic number. Can you please tell me what for this
> magic number is used. When do we really use this unique magic number of
> the file system and why?

find . -name *.[chS] >/tmp/list
xargs </tmp/list grep -nw s_magic
xargs </tmp/list grep -nw statfs
man 2 statfs
man 2 fstatfs
man 2 ustat

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:17 EST