[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Why do some ufs i-node fields have 2 copies?
- To: freebsd-fs_(_at_)_freebsd_(_dot_)_org
- Subject: Why do some ufs i-node fields have 2 copies?
- From: Rick Macklem <rmacklem_(_at_)_uoguelph_(_dot_)_ca>
- Date: Sun, 26 Apr 2009 16:56:03 -0400 (EDT)
I was just wondering if anyone conversant with ufs/ffs could tell me why
the following fields of the i-node have off-disk and on-disk copies?
(One thought I had was that these fields are sometimes set to values
that shouldn't get saved on-disk, but it was just a hunch.)
* Copies from the on-disk dinode itself.
u_int16_t i_mode; /* IFMT, permissions; see below. */
int16_t i_nlink; /* File link count. */
u_int64_t i_size; /* File byte count. */
u_int32_t i_flags; /* Status flags (chflags). */
int64_t i_gen; /* Generation number. */
u_int32_t i_uid; /* File owner. */
u_int32_t i_gid; /* File group. */
* The real copy of the on-disk inode.
Thanks in advance for any info, rick
freebsd-fs_(_at_)_freebsd_(_dot_)_org mailing list
To unsubscribe, send any mail to "freebsd-fs-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org