Gentoo Archives: gentoo-dev

From: "Alin Năstac" <mrness@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] detecting if a file is used or not
Date: Thu, 24 Jan 2008 09:16:32
Message-Id: 47985772.50802@gentoo.org
1 How could I detect in a init script if a socket file is used or not? I
2 need to be sure I can delete it before starting the service.
3
4 I would hate to add sys-process/psmisc to RDEPEND just for this (fuser
5 seems to be the only way of doing that).

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] detecting if a file is used or not "Petteri Räty" <betelgeuse@g.o>