LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
To lock inode structure


Hi
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.
Thanks....
 
Old 03-02-2010, 11:04 PM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

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


Reply



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 04:33 AM
Symbolic linking and inode structure tintintin Linux - General 0 01-21-2008 04:32 PM
Inode file_lock structure sid18 Linux - Kernel 0 09-09-2007 12:13 AM
adding flag in inode structure vishalbutte Programming 6 01-25-2006 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:50 PM.

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