Dear Managers,
I mount a CDROM say, on /cdrom (directory)
How can I know what are the processes( or users ) accessing
this device(filesystem) actively or passively( i.e. cd to this
directory /cdrom and keep idle) ?
How can I unmount a Filesystem diregarding the message "Device Busy" ?
I understand that the kernel(OS) keeps in a table all the
information pertaining to each and every file opened by
some user or the other. In some cases more than one process
may simultaneously use a particular file. If I get this info,
I may kill all these processes and then unmount. There may be
idle processes also.
But how to use this knowledge and practically solve my
problems mentioned above?
Any ready_to_use utilities(like iostat to get drive usage info)
or tips which can be converted to utilities in short time.
Thanks for any help in this matter,
Bye
Brahmaji
------------------------------------------------------------------
Merry Christmas
NV Brahmaji Rao
IIT Kanpur
email: nvbr_at_iitk.ernet.in
------------------------------------------------------------------
Received on Mon Dec 16 1996 - 10:39:37 NZDT