1 |
Fuser is the best way to do IT. |
2 |
Am 15.01.2013 16:07 schrieb "Alan McKinnon" <alan.mckinnon@×××××.com>: |
3 |
|
4 |
> On Tue, 15 Jan 2013 21:47:46 +0700 |
5 |
> Pandu Poluan <pandu@××××××.info> wrote: |
6 |
> |
7 |
> > On Jan 15, 2013 7:59 PM, "Alan McKinnon" <alan.mckinnon@×××××.com> |
8 |
> > wrote: |
9 |
> > > |
10 |
> > > On Tue, 15 Jan 2013 11:09:56 +0000 |
11 |
> > > Neil Bothwick <neil@××××××××××.uk> wrote: |
12 |
> > > |
13 |
> > > > On Tue, 15 Jan 2013 11:57:21 +0200, Alan McKinnon wrote: |
14 |
> > > > |
15 |
> > > > > On the rare occasion when I reboot or shut this laptop down, it |
16 |
> > > > > continually and consistently gets stuck on one of the final |
17 |
> > > > > steps, to umount /home |
18 |
> > > > |
19 |
> > > > If you logout as your user(s) so only root is logged in, does lsof |
20 |
> > > > show any hits for /home? |
21 |
> > > |
22 |
> > > Only 1 hit - a background ssh process that sets up a bunch of |
23 |
> > > tunnels and port forwards so I can get into the corporate network |
24 |
> > > for anywhere. |
25 |
> |
26 |
> |
27 |
> [snip] |
28 |
> |
29 |
> > A bit roundabout, but you can also try making a 'pseudo-service'. |
30 |
> > Make it 'depend' on a late-stage service so it starts last, and shuts |
31 |
> > down early. The stop() part of the pseudo-service should perform an |
32 |
> > lsof >> a file (in a directory still available during the last throes |
33 |
> > of OpenRC like, say, /etc). |
34 |
> > |
35 |
> > I hope I'm making sense... |
36 |
> |
37 |
> Makes perfect sense, a good idea actually :-) |
38 |
> |
39 |
> Easiest would be to echo lsof to the console, I only need it if umount |
40 |
> hangs and it will be there and visible. If umount worked it won't be |
41 |
> visible and not needed either |
42 |
> |
43 |
> |
44 |
> -- |
45 |
> Alan McKinnon |
46 |
> alan.mckinnon@×××××.com |
47 |
> |
48 |
> |
49 |
> |