Jan. 8th, 2008

fallenpegasus: (Default)
For the past twenty years, I've always assumed that, given knowledge of a file's inode number, there was some efficient way to open(2) that file by inode instead of name, and I've just never felt the need to use it.

Now I feel the desire to do that, and cannot find how. Searching google for "open by inode" just gives me references to stuff on how to implement Linux VFS, and/or how to open a file from inside kernel space, not from user space.

The openat(2) looks like a half-assed way to get some but not all of the same optimization.

So, is there a way to "open by inode" from user space, and how do I do it?
fallenpegasus: (Default)
Rochester Minnesota Airport does wifi right. It's free, fast, and doesn't have a captive portal page.

(Update: it's not as good as I thought. They block all XMPP IM sessions. This makes me start thinking "deep packet inspection" and/or "transparent proxy". I'm going to write them a nasty letter.)

Profile

fallenpegasus: (Default)
Mark Atwood

August 2012

S M T W T F S
   12 3 4
567891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 19th, 2013 05:07 am
Powered by Dreamwidth Studios