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

Bug#506589: "No such file or directory" output in df



Package: live-initramfs
Version: 1.139.1-4
Severity: minor

> this could be a bug of live-initramfs, please file a bug 
> for it in the debian BTS.

OK, here it goes:

I have the "No such file or directory" output in df:

 $ df  
 Filesystem           1K-blocks      Used Available Use% Mounted on
 rootfs                  194040      3284    190756   2% /
 udev                     10240        96     10144   1% /dev
 /dev/scd0               325228    325228         0 100% /live/image
 df: `/001-base.squashfs': No such file or directory
 df: `/002-vars.squashfs': No such file or directory
 tmpfs                   194040      3284    190756   2% /live/cow
 aufs                    194040      3284    190756   2% /
 tmpfs                   194040         0    194040   0% /live
 tmpfs                   194040         0    194040   0% /lib/init/rw
 tmpfs                   194040        28    194012   1% /dev/shm

>> df: `/001-base.squashfs': No such file or directory df:
>> `/002-vars.squashfs': No such file or directory
> 
> look at /proc/mounts, df looks at /etc/mtab which is still misaligned
> and manually crafted.

Here is the /proc/mounts:

 $ cat /proc/mounts 
 rootfs / rootfs rw 0 0
 none /sys sysfs rw,nosuid,nodev,noexec 0 0
 none /proc proc rw,nosuid,nodev,noexec 0 0
 udev /dev tmpfs rw,size=10240k,mode=755 0 0
 /dev/scd0 /live/image iso9660 ro,noatime 0 0
 /dev/loop0 /001-base.squashfs squashfs ro,noatime 0 0
 /dev/loop1 /002-vars.squashfs squashfs ro,noatime 0 0
 . . . 

I use the nfsbooted package, which is the reason for the error, because "the
mtab ... is misaligned since it refers to another "chroot"".

Having remove the nfsbooted package, the error has gone.

regards

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (300, 'testing'), (50, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-grml (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



Reply to: