moving ld.config

From: Ben Kim (bkim@coe.tamu.edu)
Date: Sat Oct 23 2004 - 11:11:00 EDT


Dear list,

I'm running Solaris 8/SPARC.

I plan to move /var to another disk since it's too small now, but am not
sure about /var/ld/ld.config. It seemed all processes are using the file
by memory mapping (fuser shows m flags for all).

Assuming all other files are safely moved already, could someone tell me
if it'd be safe to

1. mv /var/ld /new/disk
2. ln -s /new/disk/ld /var

without going into single user mode, without rebooting, and without
restarting all processes.

What is the minimum disruption it takes to change the ld.config?

I know inodes do not change with mv but I'm not sure if it will create a
problem. (Will the file descriptor remain the same after the file is moved
and linked? If it's changed, will it cause problem with memory mapped
contents?)

I'd also appreciate any tips about whether crle can do anything regarding
this problem.

Thanks.

Ben Kim
Database Developer/Systems Administrator
College of Education
Texas A&M University
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:36 EDT