Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How to check hard drive for a specific file with an inode?
New Posts  All Forums:Forum Nav:

How to check hard drive for a specific file with an inode?

post #1 of 3
Thread Starter 
Hi. I am wondering, how can I go about finding the specific command line to check the entire hard disk for a file, that has an inode (lets say inode 1342)

Edit: Is this correct? (Find / -inum 1342) ?
Edited by Mr.Mid??ange - 7/21/11 at 4:28am
My PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD X6 1055T @ Stock ATM ASUS M4A79T Deluxe Crossfire Mobo ASUS 6970 Direct Cu II 2x4GB Patriot Extreme 1333 
Hard DriveOptical DriveOSKeyboard
1xWD Black 1TB 1xWD Green 1TB Pioneer D-180 Windows 7 Pro Saitek cyborg .5 
PowerCaseMouse
Antect True Power New 650W Mod Zalman GS1000 HP Voodoo DNA Mouse 
  hide details  
Reply
My PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD X6 1055T @ Stock ATM ASUS M4A79T Deluxe Crossfire Mobo ASUS 6970 Direct Cu II 2x4GB Patriot Extreme 1333 
Hard DriveOptical DriveOSKeyboard
1xWD Black 1TB 1xWD Green 1TB Pioneer D-180 Windows 7 Pro Saitek cyborg .5 
PowerCaseMouse
Antect True Power New 650W Mod Zalman GS1000 HP Voodoo DNA Mouse 
  hide details  
Reply
post #2 of 3
That will indeed find a file with a given inode. Why are you doing this? If you are looking for hard links, the -samefile flag is more useful.
my baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @ 4.0 EVGA 780i 2x GTS 512 SLi 770/linked/1050 2x 2gb G.Skill PQ DDR2-1000 
Hard DriveOSMonitorKeyboard
2x 250Gb 7200.10 (raid 0) Arch Linux 64 Samsung T240 Saitek eclipse 
PowerCaseMouse
OCZ GameXStream 700 watt Cooler Master 690 Razer Deathadder 
  hide details  
Reply
my baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @ 4.0 EVGA 780i 2x GTS 512 SLi 770/linked/1050 2x 2gb G.Skill PQ DDR2-1000 
Hard DriveOSMonitorKeyboard
2x 250Gb 7200.10 (raid 0) Arch Linux 64 Samsung T240 Saitek eclipse 
PowerCaseMouse
OCZ GameXStream 700 watt Cooler Master 690 Razer Deathadder 
  hide details  
Reply
post #3 of 3
Thread Starter 
I was helping my co-worker with her homework regarding using linux. My knowledge of linux is from 8 years ago, using Fedora Core 3.
My PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD X6 1055T @ Stock ATM ASUS M4A79T Deluxe Crossfire Mobo ASUS 6970 Direct Cu II 2x4GB Patriot Extreme 1333 
Hard DriveOptical DriveOSKeyboard
1xWD Black 1TB 1xWD Green 1TB Pioneer D-180 Windows 7 Pro Saitek cyborg .5 
PowerCaseMouse
Antect True Power New 650W Mod Zalman GS1000 HP Voodoo DNA Mouse 
  hide details  
Reply
My PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD X6 1055T @ Stock ATM ASUS M4A79T Deluxe Crossfire Mobo ASUS 6970 Direct Cu II 2x4GB Patriot Extreme 1333 
Hard DriveOptical DriveOSKeyboard
1xWD Black 1TB 1xWD Green 1TB Pioneer D-180 Windows 7 Pro Saitek cyborg .5 
PowerCaseMouse
Antect True Power New 650W Mod Zalman GS1000 HP Voodoo DNA Mouse 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › How to check hard drive for a specific file with an inode?