March 29, 2024, 07:54:57 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: editing in mounted hdd and shutting off umounted  (Read 3055 times)

Offline tomamodi

  • Linux Learner
  • ***
  • Posts: 78
editing in mounted hdd and shutting off umounted
« on: September 28, 2005, 08:18:02 PM »
dear

I have a Q

Two hard disk

I have one cache squid in linux redhat 8.0 ext2 (hdd1)

I have other linux box with fedora 1  /dev/hda (as usual first) (hdd2)

 
I  mount   that squid cache redhat 8.0 to fedora box (hdd2)

there is squid.conf in  /dev/hdb3

so i make dir /test

mount the /dev/hdb3 to /test

entered

$cd /test

from there i find squid.conf

and i already opened it in edetor  vi

is this ok can i edit squid.conf this way

=========
other Q every time when i mount the this squid cache  it is difficult to umount
device busy

so i restart it without unmounting did this effectthe orignal

thanks

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
editing in mounted hdd and shutting off umounted
« Reply #1 on: September 29, 2005, 06:27:25 PM »
For first one :
There is no problem in editing that way but you can also do same using some LIVECd .

For second one :

It probably because some process might be using it so when you shutdown the system it automatically get umounted, hence again nothing to worry.