Re: umount: /cdrom: devide is busy.
Philippe Troin wrote: On Sat, 04 Oct 1997 18:08:19 +1000 Alan Eugene Davis ([EMAIL PROTECTED]) wrote: This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? Fuser in package procps can do this: fuser -muv /cdrom/ Lsof, in lsof package can do more things, but is more complex too... Phil. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . I have had this problem when attempting to mount the /cdrom directory while I, or one of my shells, or someone else's cursor was in the directory I was trying to mount. Usually I was the one in the directory that I was attempting to mount. Hope this helps :-) -- 0 0 http://www.netaxs.com/~ldc/ ___ooO ~ Ooo___ LeRoy D. Cressy /\_/\ [EMAIL PROTECTED] Computer Consulting ( o.o ) (215) 389-5870 ^ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
RE: Re.: Re: umount: /cdrom: devide is busy.
On 04-Oct-97 Alan Eugene Davis wrote: Thank you for the response. Perhaps I should clarify. Open a new xterm and enter ps -ef | grep cdrom and if than returns a line (or more) let us know what they are; if not, enter df | grep cdrom and if that doesn't returm anything kill a white chicken by the light of a full moon and after the feast, place its dried wish- bone above your cdrom and say the magic words Dennis M. Richie (or was that Linus Torvalds) I can never remenber... I am using X. I have several xterms/rxvts open, and I am running several emacs frames. None of these, as far as I can tell, is connected in any way with /cdrom, neither sitting on it, nor accessing any file on the cd. I need to fing a way to find out which processes or xterms is/are causing this association to be made? This happens once in a while, that I am NOT in that directory, but I get this message, so something is going on that is not seen by me. Alan Dan Hugo writes: This will always happen if, for example, pwd /cdrom/* In other words, if you are IN the directory in question, it is busy. Happens to me all the time as well. Same with any mounts, or if you try to rmdir a directory you are in. cd /;umount /cdrom should work -dh Alan Eugene Davis wrote: This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? Thank you to all who have made my computing journey smoother. Alan -- Alan E. Davis Marianas High School AAA196, Box 10001 Saipan, MP 96950 Northern Mariana Islands [EMAIL PROTECTED] So that I can continue to use computers without dishonor, I have decided to put together a sufficient body of free software so that I will be able to get along without any software that is not free. ---Richard Stallman -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . - Ralph Winslow [EMAIL PROTECTED] The IQ of the group is that of the member whose IQ is lowest divided by the number of members. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
umount: /cdrom: devide is busy.
This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? Thank you to all who have made my computing journey smoother. Alan -- Alan E. Davis Marianas High School AAA196, Box 10001 Saipan, MP 96950 Northern Mariana Islands [EMAIL PROTECTED] So that I can continue to use computers without dishonor, I have decided to put together a sufficient body of free software so that I will be able to get along without any software that is not free. ---Richard Stallman -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re.: Re: umount: /cdrom: devide is busy.
Thank you for the response. Perhaps I should clarify. I am using X. I have several xterms/rxvts open, and I am running several emacs frames. None of these, as far as I can tell, is connected in any way with /cdrom, neither sitting on it, nor accessing any file on the cd. I need to fing a way to find out which processes or xterms is/are causing this association to be made? This happens once in a while, that I am NOT in that directory, but I get this message, so something is going on that is not seen by me. Alan Dan Hugo writes: This will always happen if, for example, pwd /cdrom/* In other words, if you are IN the directory in question, it is busy. Happens to me all the time as well. Same with any mounts, or if you try to rmdir a directory you are in. cd /;umount /cdrom should work -dh Alan Eugene Davis wrote: This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? Thank you to all who have made my computing journey smoother. Alan -- Alan E. Davis Marianas High School AAA196, Box 10001 Saipan, MP 96950 Northern Mariana Islands [EMAIL PROTECTED] So that I can continue to use computers without dishonor, I have decided to put together a sufficient body of free software so that I will be able to get along without any software that is not free. ---Richard Stallman -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: umount: /cdrom: devide is busy.
On Sat, 04 Oct 1997 18:08:19 +1000 Alan Eugene Davis ([EMAIL PROTECTED]) wrote: This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? Fuser in package procps can do this: fuser -muv /cdrom/ Lsof, in lsof package can do more things, but is more complex too... Phil. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Re.: Re: umount: /cdrom: devide is busy.
fuser -m /cdrom lsof would also work in this case. Brandon On Sat, 4 Oct 1997, Alan Eugene Davis wrote: Thank you for the response. Perhaps I should clarify. I am using X. I have several xterms/rxvts open, and I am running several emacs frames. None of these, as far as I can tell, is connected in any way with /cdrom, neither sitting on it, nor accessing any file on the cd. I need to fing a way to find out which processes or xterms is/are causing this association to be made? This happens once in a while, that I am NOT in that directory, but I get this message, so something is going on that is not seen by me. - Brandon Mitchell E-mail: [EMAIL PROTECTED] Homepage: http://www.geocities.com/SiliconValley/7877/home.html PGP: finger -l [EMAIL PROTECTED] We all know Linux is great...it does infinite loops in 5 seconds. --Linus Torvalds -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: umount: /cdrom: devide is busy.
On Sat, 4 Oct 1997, Alan Eugene Davis wrote: This happens to me quite often: a floppy or a cd isn't being accessed, but I cannot unmount it: umount gives the error I have indicated. Is there any way to find out what process or which xterm might be accessing or sitting on a certain device? This happens to me when I haven't left the directory for that device, either in a console, or in a program (such as FileRunner). So, just change directories (out of that device) and umount should work fine. David Stern -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .