Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-02-2010, 11:51 PM   #1
LQ Newbie
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
To lock inode structure

I want to lock the inode entry in the inode table from the access of any process giving inode number as the input. Again in the reverse i need to unlock the inode entry by giving inode number as input.

This i need to do because i'm securing the file,with concept that if the inode entry is locked the file cannot be accessed.

So Am i correct in the concept?
If yes give me a solution.
Old 03-03-2010, 12:04 AM   #2
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
If your requirement is to lock the file then a good place to start reading up is here.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add new attribute to the inode structure ramyayella Ubuntu 5 02-04-2010 05:33 AM
Symbolic linking and inode structure tintintin Linux - General 0 01-21-2008 05:32 PM
Inode file_lock structure sid18 Linux - Kernel 0 09-09-2007 01:13 AM
adding flag in inode structure vishalbutte Programming 6 01-25-2006 02:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration