RPM Community Forums

Mailing List Message of <rpm-users>

Re: error: failed to open /etc/mnttab: No such file or directory

From: Jeff Johnson <n3npq@mac.com>
Date: Thu 26 Nov 2009 - 13:54:32 CET
Message-id: <930E5814-5D96-41FA-A7EE-6B26B643CAE6@mac.com>

On Nov 26, 2009, at 2:36 AM, Manoj Palhade wrote:

> #ifndef MOUNTED
> #define MOUNTED "/etc/mnttab"
> #endif
> I haven’t understood the purpose of this MOUNTED.

MOUNTED is the file path where mounted file systems are listed.

> This MOUNTED is not used anywhere in RPM source code.

The size of mounted file systems is needed for RPM to do disk space  
MOUNTED (or equivalent) contains the list of file systems to get the  
size from.

> On my QNX if I create folder mnttab at /etc/ then no error message”  
> appears while installing RPM Package
Thats one way to make to error messsage disappear.

Meanwhile yo need to look at how thos get the
size of a mounted file system on QNX for disk
space accounting to Just Work.

73 de Jeff
Received on Thu Nov 26 13:55:19 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.