LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-21-2015, 08:56 AM   #1
hortageno
Member
 
Registered: Aug 2015
Distribution: Ubuntu 22.04 LTS
Posts: 240

Rep: Reputation: 67
fslint/findup and handling of existing hardlinks


Hi,

I want to use findup to create hardlink between duplicate files in a directory. But what will happen to existing hardlinks to files outside of that directory. Which inode will be used by findup for the hardlink? The one with the highest link count, or at random, or with the lowest number, or ...?

simple example: I have two identical files /test1/a and test/b, which are not hardlinked. There is another identical file /test2/a1, which is hardlinked to /test1/a. Now I run findup -m /test2/. What is the result? Are all files hardlinked together or are only files a and b in folder /test1 linked together and /test2/a1 uses a differnt inode in the filesystem?

I searched the Internet, but couldn't find an answer to this question.
 
  


Reply


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
[SOLVED] FSlint Fails to remove duplicate files from Trash r00ster Linux - Desktop 1 04-14-2012 12:52 PM
Rsync not copying hardlinks as hardlinks OralDeckard Linux - General 14 09-15-2011 01:48 PM
LXer: Clean up your filesystems with fslint LXer Syndicated Linux News 0 10-06-2008 09:50 AM
LXer: Tidy up your filesystem with FSlint LXer Syndicated Linux News 0 10-30-2007 06:20 PM
LXer: FSlint: annoyingly vague, but useful LXer Syndicated Linux News 0 03-18-2007 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 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