tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* gcc creating non-existant links
@ 2001-07-09 18:54 Kirkland, Mike # IHTUL
  0 siblings, 0 replies; only message in thread
From: Kirkland, Mike # IHTUL @ 2001-07-09 18:54 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4629 bytes --]

Hi Everyone,

I installed gcc-2.95.3 on my server tru64 v4.0f. It looks like everything
installed fine and things are working, compile etc.

I want to move the local directory under /usr to another partition /disk2,
since installing gcc under /usr/local filled up my /usr to 93% full.

I will make a softlink to /disk2/local under /usr to make things workout,
but when I copied   local to /disk2 I came up with these errors.

# df -k
Filesystem       1024-blocks        Used   Available Capacity  Mounted on
root_domain#root      131072       73904       45704    62%    /
/proc                      0           0           0   100%    /proc
usr_domain#usr        716800      663292       53508    93%    /usr
/dev/rz8c            6094820     3486837     1998501    64%    /disk0
/dev/rzb8c           6094820      915534     4569804    17%    /disk1
/dev/rzc8c           6094820     2641724     2843614    49%    /disk2
/dev/rzd8c           6094820     2179887     3305451    40%    /raid0
/dev/rze8c          10062812     3924509     5132021    44%    /raid1
# cd /usr
# ls
.smdb.       ccs          examples     lib          opt          sbin
spool        ucb
.tags        dict         field        local        preserve     share
sys          users
adm          doc          include      man          quota.group  shlib
tcb          var
bin          dt           lbin         news         quota.user   skel
tmp
# cp -rp local /disk2
cp: dli: No such file or directory
cp: lat: No such file or directory
cp: lvm: No such file or directory
cp: nfs: No such file or directory
cp: s5fs: No such file or directory
cp: ufs: No such file or directory
cp: dvdfs: No such file or directory
cp: mach_debug: No such file or directory
cp: machine: No such file or directory
cp: machine: No such file or directory
cp: local/share/egd/egd-0.8/test.socket: Operation not supported on socket
#

so when I did an find on these files this is what I found.

# cd /usr/local
# find . -name lat -ls
   24967    0 lrwxrwxrwx  1 root     4030           24 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/lat -> root/usr/sys/include/lat
# find . -name lvm -ls
   24966    0 lrwxrwxrwx  1 root     4030           24 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/lvm -> root/usr/sys/include/lvm
# find . -name nfs -ls
   24960    0 lrwxrwxrwx  1 root     4030           24 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/nfs -> root/usr/sys/include/nfs
# find . -name s5fs -ls
   24959    0 lrwxrwxrwx  1 root     4030           25 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/s5fs -> root/usr/sys/include/s5fs
# find . -name ufs -ls
   24957    0 lrwxrwxrwx  1 root     4030           24 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/ufs -> root/usr/sys/include/ufs
# find . -name dvdfs -ls
   24954    0 lrwxrwxrwx  1 root     4030           26 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/dvdfs -> root/usr/sys/include/dvdfs
# find . -name mach_debug -ls
   24949    0 lrwxrwxrwx  1 root     4030           31 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/mach_debug -> root/usr/sys/include/mach_debug
# find . -name machine -ls
   24964    0 lrwxrwxrwx  1 root     4030           31 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/machine -> root/usr/sys/include/arch/alpha
   25464    0 lrwxrwxrwx  1 root     4030           46 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/root/usr/sys/include/mach/machine ->
../../../../../root/usr/sys/include/mach/alpha
   25452    0 lrwxrwxrwx  1 root     4030           46 Jul  6 10:00
./lib/gcc-lib/alphaev56-dec-osf4.0f/2.95.3/inc
lude/root/usr/sys/include/sys/machine ->
../../../../../root/usr/sys/include/arch/alpha
# find . -name "test.socket" -ls
   25187    0 srwxr-xr-x  1 root     1000            0 Jun 13 11:58
./share/egd/egd-0.8/test.socket
#
#

several of these files look like have links to
root/usr/sys/include/somefilename

but since there is not a   root    partition its causing errors. There are
files in the physical local of  the /usr/somedirectory under but no
root/usr/etc.., so does anyone have any ideas of how to resolve this issue.
I have a couple myself but I wanted to hear from others, to see if you have
run into this sitution and what you did about it.

Thanks,

Mike Kirkland
Unix System Administrator
National Data Corporation
Phone:  (918) 481-2817
Fax:      (918) 481-4275
mike.kirkland@ndchealth.com <mailto:mike.kirkland@ndchealth.com>
NDC�| HEALTH
6100 South Yale Avenue
Suite 1900
Tulsa, OK 74136

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-09 18:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-09 18:54 gcc creating non-existant links Kirkland, Mike # IHTUL

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox