1. file size to use in installp packages
hi everyone,
first, thanks to everyone who helped me with all my previous questions
on packaging software. i've got our product packaged and the install
works... now i'm just ironing out details...
my question is this... in many of the configuration files required in
a software package, there is a place that asks for "size" (mainly the
lpp_name file, the .size file, and the .inventory file). well, i
figured that was a no brainer, but i was wrong. i'm having some
issues...
at first, i was going to use the size provided by ls, but i found it
easier to script it using the du command (when i say 'script' i mean i
built a script to automate the creation of these files...). well, we
have two versions of aix here. if i create a file (let's call it
testFile) on both systems, and put one character in it, the following
happens:
ls -l testFile
on both systems tells me the size is 1 byte (makes sense)...
du testFile
on aix 4.3.1.0 tells me that the usage is one block (512k i assume)
on aix 4.3.3.0 tells me that the usage is 8 blocks
the second one makes sense to me because i was told that the minimum
file size for AIX is 4k (is this true?). if that's the case, what's
the explanation for the first one?
and, most importantly, which numbers are best to use in my installable
packages when it asks for size (regardless of units). should i use the
exact size of the file (ls) or the actual space the file will take up
on disk (du). i kind of sway towards the second one (cuz i imagine
installp uses this info to determine if there will be enough space to
hold the package)... but the packages i downloaded and took apart all
seemed to use the actual file size.
thanks!
ed
p.s. i was looking at the archives trying to find an answer and i came
across a couple of posts mentioning an ibm fax addressing
"inconsistencies" between df and du output, but failed to find the
actual fax both in the newsgroup and on ibm's site. is this fax still
current info (the post was dated in 2000). if so, can someone give me
a url or send it to me? thanks :)
2. Larger than 2TB SCSI LUNs?
3. installp package creation?
4. sound card too loud :(
5. installp versus packages
6. pb linux avec 3 disk ide
7. Installp Packaging Tools
8. Using LDAP in place of NIS services
9. making package for installp
10. installp dangerous - installs broken packages...
11. Making an installp package
12. Creating installp Images
13. Create a bundle and installp