06-13-2014
That won't be a hard link then!?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi i am nitin...
jus a new kid on the block... my query is...
does the concept of region invovle sharin of inodes wen the sticky it is set... eg... if two process share two text regions... wat actually happens
thank u (1 Reply)
Discussion started by: nitinsharma_ssn
1 Replies
2. AIX
I have to move a lpar from one 671 to another (aix 5.2 ML 07)
when I run mksysb, It alway hangs with "archieving file list"
I've tried to exlude every directory, but still not working
the only thing that can be a problem, is a hardlink directory
normally it should not be possible to... (4 Replies)
Discussion started by: funksen
4 Replies
3. Shell Programming and Scripting
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
2 Replies
4. Solaris
how can i see inode table information of a perticler inode.anybody knows pls tell me.
Than.Q (3 Replies)
Discussion started by: nag.mi2000
3 Replies
5. Solaris
I'm trying to relink a file someone tried to delete while a process (that we don't want to shutdown) also had a filehandle open to it.
Consequently, we've got an inode entry but no directory entry (aka 'file') for it.
I've tracked the inode number down via lsof, as well as the particular... (0 Replies)
Discussion started by: Smiling Dragon
0 Replies
6. Filesystems, Disks and Memory
At risk of twisting the rules to nearly the point of breaking (if you think this goes too far mods, I apologise and accept that this should be deleted), I'm hoping someone might be able to cast a little light on the following problem regarding hard links to files.
... (6 Replies)
Discussion started by: Smiling Dragon
6 Replies
7. Shell Programming and Scripting
Hi all,
I am struggling to change the content of a file without changing the inode number. The exact issue is as below.
I have a file name test.bak which has 100 lines of text.
I am trying to to delete the first 90 lines of the text in the file.
I know that using sed/awk/head/tail I can... (3 Replies)
Discussion started by: sathishkmrv
3 Replies
8. UNIX for Dummies Questions & Answers
i am new to UNIX environment
please tell me how to identify a link whether it is a Hardlink or Softlink ?
what is the command?
thank you all .......:o:o (2 Replies)
Discussion started by: sasith90
2 Replies
9. Shell Programming and Scripting
i have a requirement where i needed to change variable values in a properties file(first file) whenever there is change to Release details file(second file). My question is do i have to create a daemon process that always checks the modified time/inode change of the second file and then change the... (1 Reply)
Discussion started by: saikiran_1984
1 Replies
10. Debian
May somebody can give me a hint. I am still using my old squeeze and it works the way I want. But my recent post about changing the owners rights, e.g. 777 or 755 anyway, it could be 644 as well. While configuring a new pc, just by chance I discovered how to enter the BIOS. And here it comes. I... (11 Replies)
Discussion started by: 1in10
11 Replies
LEARN ABOUT SUSE
hardlink
hardlink(1) General Commands Manual hardlink(1)
NAME
hardlink - Link multiple copies of a file
SYNOPSIS
hardlink [option]... [directory|file]...
DESCRIPTION
hardlink is a tool which replaces copies of a file with hardlinks, therefore saving space.
OPTIONS
-h or --help
print quick usage details to the screen.
-v or --verbose
More verbose output. If specified once, every hardlinked file is displayed, if specified twice, it also shows every comparison.
-n or --dry-run
Do not act, just print what would happen
-f or --respect-name
Only try to link files with the same (basename).
-p or --ignore-mode
Link/compare files even if their mode is different. This may be a bit unpredictable.
-o or --ignore-owner
Link/compare files even if their owner (user and group) is different. It is not predictable
-t or --ignore-time
Link/compare files even if their time of modification is different. This will retain the newest timestamp, unless -m or -M is given.
-m or --maximize
Try to maximize the link count of the files.
-M or --minimize
Try to minimize the link count of the files.
-x or --exclude
A regular expression which excludes files from being compared and linked.
-i or --include
A regular expression to include files. If the option --exclude has been given, this option re-includes files which would otherwise
be excluded. If the option is used without --exclude, only files matched by the pattern are included.
ARGUMENTS
hardlink takes one or more directories which will be searched for files to be linked.
BUGS
hardlink assumes that the trees it operates on do not change during operation. If a tree does change, the result is undefined and poten-
tially dangerous. For example, if a regular file is replaced by a device, hardlink may start reading from the device. If a component of a
path is replaced by a symbolic link or file permissions change, security may be compromised. Do not run hardlink on a changing tree or on a
tree controlled by another user.
AUTHOR
The program hardlink and this manpage have been written by Julian Andres Klode, and are licensed under the MIT license. See the code of
hardlink for further information.
0.2.0 2012-02-28 hardlink(1)