Mailinglist Archive: opensuse-bugs (15732 mails)

< Previous Next >
[Bug 297959] New: When using mount-by-label for root partition, / appears in /etc/mtab twice
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 6 Aug 2007 18:32:04 -0600 (MDT)
  • Message-id: <bug-297959-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=297959

           Summary: When using mount-by-label for root partition, / appears
                    in /etc/mtab twice
           Product: openSUSE 10.3
           Version: Alpha 7
          Platform: x86-64
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Basesystem
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: wns@xxxxxxxxxxx
         QAContact: qa@xxxxxxx
          Found By: Beta-Customer


The root partition is an LVM volume that is mounted by label

# cat /etc/fstab 
LABEL=root           /                    ext3       acl,user_xattr        1 1
LABEL=boot           /boot                ext2       acl,user_xattr        1 2
LABEL=home           /home                ext3       acl,user_xattr        1 2
LABEL=swap           swap                 swap       defaults              0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

# cat /etc/mtab 
LABEL=root / ext3 rw,acl,user_xattr 0 0         <=====
/dev/dm-1 / ext3 rw,acl,user_xattr 0 0          <=====
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw,mode=0620,gid=5 0 0
/dev/dm-0 /home ext3 rw,acl,user_xattr 0 0
/dev/sda1 /boot ext2 rw,acl,user_xattr 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
securityfs /sys/kernel/security securityfs rw 0 0

# cat /proc/mounts
rootfs / rootfs rw 0 0
udev /dev tmpfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/mapper/vg-root / ext3 rw,data=ordered 0 0    <=====
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
debugfs /sys/kernel/debug debugfs rw 0 0
/dev/dm-0 /home ext3 rw,data=ordered 0 0
/dev/sda1 /boot ext2 rw 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
securityfs /sys/kernel/security securityfs rw 0 

# ls -oug /dev/dm-1 /dev/vg/root /dev/mapper/vg-root /dev/disk/by-label/root 
lrwxrwxrwx 1     10 2007-08-06 18:03 /dev/disk/by-label/root -> ../../dm-1
brw-r----- 1 253, 1 2007-08-06 10:50 /dev/dm-1
brw------- 1 253, 1 2007-08-06 01:59 /dev/mapper/vg-root
lrwxrwxrwx 1     19 2007-08-06 18:03 /dev/vg/root -> /dev/mapper/vg-root


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >