You have to search the mount and find both inode entries in 2 directories and unlink (remove) them. But perhaps you mean hw to clean cache of 1 link files? You can:
Last edited by radoulov; 04-12-2011 at 04:34 PM..
Reason: Fixed code tags.
Hi All,
Please explain me the concept of link counts when you try to view the contents of any file or directory using ls command.
-sh-3.00$ ls -lrt
total 194
drwxr-xr-x 2 root root 4096 Aug 12 2004 srv
drwxr-xr-x 2 root root 4096 Aug 12 2004 mnt
drwxr-xr-x 2 root root ... (1 Reply)
Hi there,
I'm trying to make a script that downloads something, but then strips the URL for later processing.
A user would input the following: ./text -install <link>
Lets say the <link> is:
Later on, the script would have to; unpack the file with the command: tar xvf... (6 Replies)
Greetings
I want to confirm about HUGE and old files with linkcount 0 in proc file system.
what is their impact on size of root File system? (3 Replies)
Greetings,
I need some help performing a system admin function that I have been tasked with. The request seems simple enough, but my feeling is that it might be more complicated than it seems.
Here is what i've been tasked with:
SunOS 5.10 Generic_142900-15 sun4u sparc SUNW,SPARC-Enterprise... (3 Replies)
Hello all,
I am on hpux itanium 11.31...and we run a oracle DB on it. I am testing some backup and restore situation.... first i select some data from the DB.....now i remove some files from the DB where my data is being selected from.....now i select the same data from the DB but i still get... (5 Replies)
hi
i have create a soft link using below command.
ln -s <filename> <dirmane>where file name i use is t1 and dir name was t2.
i deleted the dir t2 using command rm -rf to remove the soft link .
however again i create a file a using the name t2 and when i just try to link t1 to t2 ... (1 Reply)
I run a find command to search from root directory.
find / -inum 344334
The output gives the below warning:
find: WARNING: Hard link count is wrong for /proc/1. This may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to... (2 Replies)
I have lots of space on my system.
linux-e30c:~ # df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 41G 3.4G 35G 9% /
/dev/sda3 91G 36G 51G 42% /home
/dev/sda2 99G 3.4G 91G 4% /usr
But still somehow the inode count has almost finished... (3 Replies)
Hi Experts,
I had encountered an issue where the zero link process was holding too much amount of data on a Solaris server. I was able to terminate the process after which the space of the file system was released.
40G /proc/8567/fd/2
Can you please let me know if there are any... (11 Replies)