I assume you still need /var/log/squid that resides on /dev/hdc but you need to remove the hard drive. Unless you have a raid array I don't know how you can do both. I guess you could do a
Code:
#umount /var/log/sqid
Partition and format another drive, make a /var/log/sqid on it and put it in the machine.
I think that you will have to unmount the whole file sys to do that though. I don't know if you can just unmount /var/log/squid, put another drive in and remount it. You may just have to get another drive ready, shut the machine off for 3 min, put the drive in, and power back up. I don't know if you can unmount /var with the file sys mounted, never tried.
Some Sys Admin may know better. If you can then use the mount and umount commands.