F12 Boot error message re mount of loop device

David bouncingcats at gmail.com
Wed Dec 9 08:55:39 UTC 2009


Maybe I'm doing something wrong, so I'm asking here first. If no-one
points out a better way, I'll file a bug report.
Also I'd appreciate guidance where best to file it.

During boot I want to mount an iso9660 file as a loop device. The iso
file is on a ext3 partition labelled HUGE_01 which is mounted at
/mnt/huge.

FILE = /mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso
MOUNTPOINT = /mnt/Fedora-12-i386-DVD.

The mount succeeds. However during boot I get this unnecessary failure message:

Mounting local filesystems: [ OK ]
[snip]
Mounting other filesystems:  mount: according to mtab
/mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso is already
mounted on /mnt/Fedora-12-i386-DVD as loop  [ FAILED ]

>From a user perspective, this error message seems equivalent to:
"Because we tried unnecessarily to mount this device a second time
after it had already mounted successfully, we now report to you that
the second attempt failed."

So a failure is reported where no failure occurred. Worse, a failure
is reported for the reason that it already succeeded. This seems
illogical and unnecessary. Unless I'm doing somethin' stoopid.
Relevant details are below.

Thanks,
David

#################################################

[f12 at kablamm ~]$ cat /etc/fstab
LABEL=kablamm_C		/                       ext3    defaults        1 1
LABEL=kablamm_Z		/boot                   ext2    defaults        1 2
LABEL=BIG_01		/mnt/big                ext3    defaults        1 2
LABEL=HUGE_01		/mnt/huge               ext3    defaults        1 2
LABEL=kablamm_H		/home                   ext3    defaults        1 2
LABEL=kablamm_S		swap                    swap    defaults        0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso	/mnt/Fedora-12-i386-DVD	iso9660	loop,ro,gid=share
0 0

[f12 at kablamm ~]$ ls -lZ
/mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso
-r--r-----. root share system_u:object_r:mount_loopback_t:s0
/mnt/huge/get/iso/Fedora-12-i386-DVD/Fedora-12-i386-DVD.iso

[f12 at kablamm ~]$ mount -l
/dev/sda8 on / type ext3 (rw) [kablamm_C]
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw,rootcontext="system_u:object_r:tmpfs_t:s0")
/dev/sda3 on /boot type ext2 (rw) [kablamm_Z]
/dev/sdb1 on /mnt/big type ext3 (rw) [BIG_01]
/dev/sdb2 on /mnt/huge type ext3 (rw) [HUGE_01]
/dev/sda10 on /home type ext3 (rw) [kablamm_H]
/dev/loop0 on /mnt/Fedora-12-i386-DVD type iso9660 (ro,gid=502)
[Fedora 12 i386 DVD]
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
gvfs-fuse-daemon on /home/f12/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=f12)

[f12 at kablamm ~]$ uname -r
2.6.31.5-127.fc12.i686.PAE




More information about the fedora-list mailing list