Re: Reg:magic number of the filesystem

Alexander Viro (viro@math.psu.edu)
Sun, 17 Jun 2001 04:26:03 -0400 (EDT)


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/