[csw-maintainers] File type of '?' in /var/sadm/install/contents
Maciej (Matchek) Blizinski
maciej at opencsw.org
Sun Nov 28 19:30:46 CET 2010
While working on file collision detection in checkpkg, I found the
following line in /var/sadm/install/contents on current9s:
'/opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.6/include ? none
CSWgcc3g77 CSWgcc3core\n'
Looking at the filesystem, it's a directory. Therefore, the file type
should be 'd'. But in install/contents, it's '?'.
According to Sun docs[1], the syntax is:
path d class mode owner group package(s)
So, the line in /var/sadm/install/contents does not follow the spec.
I looked at both packages (CSWgcc3g77 and CSWgcc3core), and their
pkgmap looks sane, the corresponding lines are identical in both
packages, and looking sane:
1 d none /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.6/include 0755 root bin
1 d none /opt/csw/gcc3/lib/gcc/sparc-sun-solaris2.8/3.4.6/include 0755 root bin
Does anyone know how is it possible that /var/sadm/install/contents
contains a line that does not follow the spec?
Maciej
http://docs.sun.com/app/docs/doc/816-5174/contents-4?l=en&a=view
More information about the maintainers
mailing list