Home   |   Login   |   Search:  
FireBoard
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Inode based solution (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 2
TOPIC: Re:Inode based solution
#6
Marenz (User)
Fresh Boarder
Posts: 4
graph
User Offline Click here to see the profile of this user
Re:Inode based solution 1 Year, 1 Month ago Karma: -1  
The hard link solution has indeed advantages, but its limit is really a bad one. I have my files spread on about 3 Harddisks, all in my home dir.
Could the filesystem interface not treat cp's as symbolic links, not copying the file, but just creating a symlink? Additionally, instead of creating a simlink you could save the full path in the database and create the sym..or hardlinks on the fly. As in, when the user types ls, it creates the content from the database.

The problem here is of course, the moving and deletion of files. But there is a nice library for that out there: inotify see http://inotify.aiken.cz/?section=incron&page=about&lang=en . You can watch whole directory structures for changes of any kind with that. You could even attach certain tags to certain directories and auto tag any file that gets created or moved inside thad directory.


--Marenz
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Inode based solution
tx0 2009/02/15 18:54
    thread link
thread linkthread link Re:Inode based solution
Marenz 2009/07/26 05:53
    thread link
thread linkthread linkthread link Re:Inode based solution
ticso 2010/03/24 20:01
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Valid HTML 4.01 Transitional   Valid CSS!   hosted by gna!
Creative Commons License   This site is licensed under a
  Creative Commons Attribution-Share Alike 2.5 Italy License.