bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: df error


From: Bob Proulx
Subject: Re: df error
Date: Tue, 1 Apr 2008 23:00:54 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

jose antonio arjona garzon wrote:
> When I run the application it shows me this error:
> 
> df: `/var/cache/pbuilder/build/8394/dev/pts': No existe el fichero o el 
> directorio
> 
> No existe el fichero o el directorio -> The file or directory doesn't
> exists.

Because pbuilder is a chroot project builder I can make some guesses
based upon the small amount of information here.  I am guessing that
you used pbuilder to create a base system tar.gz.  I am sure that
pbuilder created the initial image correctly.

At some point you recreated the base chroot system.  But before doing
so chroot'd into the unpacked system and mounted /dev/pts in the
chroot.  This mount point was listed in /etc/mtab.  Then this image
was recompressed into the base system.  This included the new
/etc/mtab contents which included /dev/pts.

Later this was unpacked including the /etc/mtab with the /dev/pts
listing.  But in this new unpacking of the chroot image /dev/pts isn't
mounted.  Running df in this new unpack snapshot of the other image
causes df to read /etc/mtab and report errors because that does not
exist in the new system.

You are seeing this problem when run inside of a chroot that you have
unpacked, right?

> I want that it doesn't display the mistake but I don't understand why it
> does it.
> 
> Can you help me please?

You can probably hack around the problem by editing /etc/mtab in the
chroot and fixing it to match the reality of the chroot.  In the
future avoid packing up a system that has had extra mounts added to
it.  Or just be aware and edit the mtab as needed.

Hope that helps,
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]