plfs / plfs-core

LANL no longer develops PLFS. Feel free to fork and develop as you wish.
41 stars 36 forks source link

Magic Number #336

Closed hadimontakhabi closed 10 years ago

hadimontakhabi commented 10 years ago

Is there any magic number for plfs?

johnbent commented 10 years ago

You mean that special value in staffs?

On Dec 13, 2013, at 9:53 AM, hadimontakhabi notifications@github.com wrote:

Is there any magic number for plfs?

— Reply to this email directly or view it on GitHub.

hadimontakhabi commented 10 years ago

Yes.

johnbent commented 10 years ago

Then, the answer is no. PLFS does not have a magic number. FUSE doesn’t allow a FUSE filesystem to set that value. When you query it, you’ll see the FUSE magic number.

John

On Dec 13, 2013, at 10:39 AM, hadimontakhabi notifications@github.com<mailto:notifications@github.com> wrote:

Yes.

— Reply to this email directly or view it on GitHubhttps://github.com/plfs/plfs-core/issues/336#issuecomment-30527970.

hadimontakhabi commented 10 years ago

I tried to get the magic number for a file under plfs, with the hope to figure out the magic number of fuse. Apparently, there is no magic number for fuse either. It just returns the magic number of underlying filesystem. Does that sound right or I am missing something?

johnbent commented 10 years ago

Do you have PLFS mounted?

On Mon, Dec 16, 2013 at 10:01 AM, hadimontakhabi notifications@github.comwrote:

I tried to get the magic number for a file under plfs, with the hope to figure out the magic number of fuse. Apparently, there is no magic number for fuse either. It just returns the magic number of underlying filesystem. Does that sound right or I am missing something?

— Reply to this email directly or view it on GitHubhttps://github.com/plfs/plfs-core/issues/336#issuecomment-30678056 .

hadimontakhabi commented 10 years ago

I do, and I create the file using plfs. Then, I query the same file and get the magic number for it.