Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mount question



To expand on what Chris said. 
First.
Before you fined the situation, you had /dev/sdb mounted on /var/log 
where /var was a directory under root.
You then covered that up by mounting the /var partition. 

There is no easy way to do this because the log files are in use by the 
daemon processes. 

Here is how I would approach the situation:
1. shut down to single user. 
2. mount the /var partition that contains the old log files. Rename the log 
directory to oldlog, and create a new empty directory. 
3. unmount the /var partition and transition back to multi-user. 

Your current /var/log will exist on sda as you desire. You old logs will be 
on sdb under /var/oldlog.

Once a file system is mounted on a directory, there is virtually no easy 
way to can get to any of the members of that directory. 
--
Jerry Feldman
Contractor, eInfrastructure Partner Engineering   
508-467-4315 http://www.testdrive.compaq.com/linux/

Compaq Computer Corp.
200 Forest Street MRO1-3/F1
Marlboro, Ma. 01752
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org