From: | "Petteri Räty" <betelgeuse@g.o> | ||
---|---|---|---|
To: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] detecting if a file is used or not | ||
Date: | Thu, 24 Jan 2008 10:20:51 | ||
Message-Id: | 4798667B.9000007@gentoo.org | ||
In Reply to: | [gentoo-dev] detecting if a file is used or not by "Alin Năstac" |
1 | Alin Năstac kirjoitti: |
2 | > How could I detect in a init script if a socket file is used or not? I |
3 | > need to be sure I can delete it before starting the service. |
4 | > |
5 | > I would hate to add sys-process/psmisc to RDEPEND just for this (fuser |
6 | > seems to be the only way of doing that). |
7 | > |
8 | |
9 | betelgeuse@pena /usr/portage/profiles $ grep sys-process/psmisc -r base |
10 | base/packages:*sys-process/psmisc |
11 | |
12 | fuse is used by baselayout too so just use that |
13 | |
14 | Regards, |
15 | Petteri |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |