hard-linked files handling by rpm

2014-01-21 Thread Rajul Bhavsar
Hi, In my build root directory, I have created a file (say temp.txt) and then I created a hard-link to it (say temp1.txt). After this, I created rpm out of build root directory. On installing this rpm I see that i-node numbers of both files are same; that means rpm is aware of this hard-link and

Re: functionality opposite to --excludepath

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 2:21 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, Does rpm5 provides selective installation of files that begins with a certain path? e.g. I want to install files beginning with /usr/lib. I am not able to find option for this functionality. RPM doesn’t

Re: hard-linked files handling by rpm

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 3:03 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, In my build root directory, I have created a file (say temp.txt) and then I created a hard-link to it (say temp1.txt). After this, I created rpm out of build root directory. On installing this rpm I see that

Re: functionality opposite to --excludepath

2014-01-21 Thread Rajul Bhavsar
On Tue, Jan 21, 2014 at 10:10 PM, Jeffrey Johnson n3...@me.com wrote: On Jan 21, 2014, at 2:21 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, Does rpm5 provides selective installation of files that begins with a certain path? e.g. I want to install files beginning with /usr/lib.

Re: hard-linked files handling by rpm

2014-01-21 Thread Rajul Bhavsar
On Tue, Jan 21, 2014 at 10:23 PM, Jeffrey Johnson n3...@me.com wrote: On Jan 21, 2014, at 3:03 AM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Hi, In my build root directory, I have created a file (say temp.txt) and then I created a hard-link to it (say temp1.txt). After this, I created

Re: functionality opposite to --excludepath

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 9:42 PM, Rajul Bhavsar rajulbhav...@gmail.com wrote: Easiest way to extract some files is likely to use cpio(1) options. E.g. rpm2cpio somepackage.rpm | cpio -dim will extract all files. Is this extraction can be specified as part of rpm installation? If it

Re: hard-linked files handling by rpm

2014-01-21 Thread Jeffrey Johnson
On Jan 21, 2014, at 9:49 PM, Rajul Bhavsar rajulbhav...@gmail.com wrote: On Tue, Jan 21, 2014 at 10:23 PM, Jeffrey Johnson n3...@me.com wrote: If hard-links are treated as just another files (for inclusion in .rpm) then why difference in size of payload - when same file is