[PATCH 6/9] Fix problem with fscking of mounted filesystem
Zdenek Kabelac <[email protected]>
| Newsgroups | dev.linux.lists.lvm-devel |
|---|---|
| Message-ID | <[email protected]> |
Dne 7.10.2010 19:25, Alasdair G Kergon napsal(a): > On Thu, Oct 07, 2010 at 04:06:36PM +0200, Zdenek Kabelac wrote: >> Instead of calling mount without parameter to get actual mount table, >> switch to use /proc/mounts directly. (Not really sure, maybe we want to >> use /proc/self/mounts?) > > /proc/mounts I'd think: If it's mounted anywhere on the system, we need to > be aware, even if it's not visible to the current process. > I've been reading this rhbz: https://bugzilla.redhat.com/show_bug.cgi?id=491924 Which seems to be suggesting to switch to to use self version. On the other hand /proc/mounts is symbolic link to self/mounts anyway. Zdenek