Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Apr 2012 15:35:57 +0800
From:      dave jones <s.dave.jones@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   A question about msdosfs code
Message-ID:  <CANf5e8Y9oLp0v_J6RNpspjVgyXCziVX4qXz8ZdQDxZv_Y7_0_w@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

I have a question about the MSDOSFSROOT_OFS definition in denode.h:

/*
 * Internal pseudo-offset for (nonexistent) directory entry for the root
 * dir in the root dir
 */
#define MSDOSFSROOT_OFS 0x1fffffff

I'm wondering why setting the root directory offset is 0x1fffffff?
Is there any formula to calculate root dir offset instead? Thank you.

Regards,
Dave.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANf5e8Y9oLp0v_J6RNpspjVgyXCziVX4qXz8ZdQDxZv_Y7_0_w>