Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #900
| From | Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> |
|---|---|
| Subject | Re: HOW2 know which Desktop,VT is busy with USBstik |
| Date | 2011-04-24 22:21 +0200 |
| Message-ID | <pan.2011.04.24.20.21.17.530561@deadspam.com> (permalink) |
| Newsgroups | alt.os.linux.slackware, comp.os.linux.misc |
| References | <ip11d5$ii0$1@dont-email.me> |
| Organization | SunSITE.dk - Supporting Open source |
Cross-posted to 2 groups.
no.top.post@gmail.com wrote: > You can't `umount <USBstik>` if you can't find which VT is still 'busy > with it' !! > > I've normally got 20 VTs open, over the 4 Desktops. I suppose you don't mean one of those 6 virtual text terminals that you get on tty1 to tty6 on a default Slackware installation? Instead I suppose you mean those pseudo terminals you get from a terminal window like xterm or konsole? > Previously I used KDE3, and I made a utility using `lsof` & `pstree -p` > to list a table of eg: You might find the command fuser more useful, example: fuser -m /media/disk Once you have found the processes you might choose to try to find their windows or maybe simply just kill them. If you window manager gives you multiple desktops those desktops can be used to keep track of things. If you use each desktop for its own purpose it will be rather easy to find the window you are looking for. If you more or less random scatter your windows over different desktops it will allways be hard to find the window you are looking for. Think of the desktops like drawers in a desk. If you allways use the same drawer for each of your possessions it will be easy to find what you are looking for. If you or someone else puts your possessions more or less randomly in your drawers it will be hard to find what you are looking for. I have 9 virtual desktops in KDE myself. One is for sysadmin, one is for surf and mail, one is for development in a project and one is for development in another project, one is for documentation... You get the idea! regards Henrik -- The address in the header is only to prevent spam. My real address is: hc123(at)poolhem.se Examples of addresses which go to spammers: root@localhost postmaster@localhost
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
HOW2 know which Desktop,VT is busy with USBstik no.top.post@gmail.com - 2011-04-24 11:26 +0000
Re: HOW2 know which Desktop,VT is busy with USBstik Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2011-04-24 22:21 +0200
Re (2): HOW2 know which Desktop,VT is busy with USBstik no.top.post@gmail.com - 2011-04-27 13:16 +0000
csiph-web