Newsgroups: comp.unix.programmer, comp.os.linux.development.system
From: Alex Vinokur <alex.vino...@gmail.com>
Date: Thu, 15 Dec 2011 10:34:00 -0800 (PST)
Subject: Re: ftok() on Linux generated different keys for the same inode and the same file name
On Dec 15, 8:16 pm, Huibert Bol <huibert....@quicknet.nl> wrote:
> Alex Vinokur wrote:
I am not sure that it was after reboot: difference between asscess
> > It seems that ftok() on Linux generated different keys for the same > > inode and the same file name. > > Linux 2.6.18-238.12.1.el5 #1 SMP Sat May 7 20:18:50 EDT 2011 x86_64
> > AccessTime = 20111020-153001 Inode = 6914144 ShmKeyDec =
> After a reboot, right? From the source:
> key = ((st.st_ino & 0xffff) | ((st.st_dev & 0xff) << 16)
> The parts that differ are set to the device number, perhaps your disks
> --
times is about 4 min. I don't know. AccessTime = 20111020-153001 Inode = 6914144 ShmKeyDec =
Where can I see ftok()-source for Linux?
Thanks
Alex
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||