LinuxQuestions.org
Visit Jeremy's Blog.
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 11-15-2010, 12:18 AM   #1
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Rep: Reputation: 49
2 hard links for file on ntfs partition


$cd /sumeet
$ls -il

1490 -rwxrwxrwx 2 root root 137 2009-08-29 14:59 zone alarm.txt
$find /sumeet -type f -inum 1490
/sumeet/software/zone alarm.txt
Then where is second hard link ?
 
Old 11-15-2010, 01:27 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Did you created hard link or concluding on the basis of 'ls -li' output ?
 
Old 11-15-2010, 01:31 AM   #3
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi sumeet inani,

I've tried it and mounted my NTFS partition in Linux. Seems that there is always at least a "1" for NTFS. Here the output for "ls -lh /mnt/tmp
Code:
drwx------ 1 root root    0 14. Jul 2009  Documents and Settings
-rw------- 1 root root 4,0G 14. Nov 09:14 hiberfil.sys
drwx------ 1 root root    0 14. Nov 01:15 Install
drwx------ 1 root root    0 13. Nov 14:46 MSOCache
-rw------- 1 root root 4,0G 14. Nov 09:14 pagefile.sys
drwx------ 1 root root    0 14. Jul 2009  PerfLogs
drwx------ 1 root root 8,0K 14. Nov 03:52 ProgramData
drwx------ 1 root root 8,0K 14. Nov 01:08 Program Files
drwx------ 1 root root  12K 14. Nov 10:35 Program Files (x86)
drwx------ 1 root root    0 13. Nov 14:36 Recovery
drwx------ 1 root root 4,0K 14. Nov 00:46 $Recycle.Bin
-rw------- 1 root root 2,2K  1. Apr 2010  RHDSetup.log
-rw------- 1 root root  191  1. Apr 2010  Setup.log
drwx------ 1 root root 8,0K 14. Nov 10:35 System Volume Information
drwx------ 1 root root 4,0K 14. Nov 00:45 Users
drwx------ 1 root root  40K 14. Nov 01:25 Windows
Markus
 
Old 11-15-2010, 02:47 AM   #4
sumeet inani
Member
 
Registered: Oct 2008
Posts: 902
Blog Entries: 26

Original Poster
Rep: Reputation: 49
I did not create a hard link .
Actually /dev/sda6 is mounted as /sumeet.
If there is another it should be on same partition .
Isn't it ?

Last edited by sumeet inani; 11-15-2010 at 02:49 AM.
 
  


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
LXer: File Linking in Linux: Hard vs. Soft Links LXer Syndicated Linux News 0 09-27-2010 01:40 AM
Listing hard and soft links to a file! muasif80 Linux - Newbie 1 10-04-2008 11:10 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 11:46 AM
reg Hard links across partition deep123 Linux - General 2 02-06-2008 11:12 AM
really need help moving ntfs partition files on the same hard drive Fb1985 Linux - Newbie 2 11-19-2007 12:06 PM

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

All times are GMT -5. The time now is 10:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration