Gentoo Archives: gentoo-server

From: Jeremy Kitchen <kitchen@×××××××××××××.com>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] What is using /dev/sda8?
Date: Wed, 10 Mar 2004 02:14:45
Message-Id: 1078884788.7402.0.camel@stinkpad
In Reply to: Re: [gentoo-server] What is using /dev/sda8? by Tim Schumacher
1 On Tue, 2004-03-09 at 16:41, Tim Schumacher wrote:
2 > > Which brings me to my next question ;-) When I'm trying to unmount the
3 > > partition, umount tells me "device is busy". Is there a way to tell
4 > > which processes are using a file system?
5 >
6 > you could try lsof.
7 >
8 > lsof | grep hd? or something like that.
9
10 or just lsof /path/to/mount/point should work.
11
12 -Jeremy
13
14 --
15 Jeremy Kitchen
16 Systems Administrator
17 jeremy@××××××.com
18 Kitchen @ #qmail on EFNet - Join the party!
19 .....................
20 Inter7 Internet Technologies, Inc.
21 www.inter7.com
22 866.528.3530 toll free
23 847.492.0470 int'l
24 847.492.0632 fax
25 GNUPG key ID: 93BDD6CE