[Bug 1065303] Re: mount does not display all mounted filesystems, including "/"

Phillip Susi psusi at ubuntu.com
Fri Oct 11 00:22:07 UTC 2013


12.10 has reached end of life, do you still have this issue on 13.04 or
13.10?


** Changed in: util-linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1065303

Title:
  mount does not display all mounted filesystems, including "/"

Status in “util-linux” package in Ubuntu:
  Incomplete

Bug description:
  "man mount" says:
  [CODE] 
  mount [-l] [-t type]
    lists all mounted filesystems (of type type). 
    The option -l adds the labels in this listing.
  [/CODE]

  Yet "mount" and "mount -l" do not show my root filesystem "/"
  Which of course is mounted.

  df, df -h, df -ah don't show it either.

  /proc/mounts does show it.
  df  will show it only if explicitly specified.
  "mount /" will also correctly state that it is already mounted.

  [CODE]

  root at noexcuse:~# cat /proc/mounts
  rootfs / rootfs rw 0 0
  sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
  proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
  udev /dev devtmpfs rw,relatime,size=1017316k,nr_inodes=215199,mode=755 0 0
  devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
  tmpfs /run tmpfs rw,nosuid,relatime,size=410772k,mode=755 0 0
  /dev/disk/by-uuid/f2a55331-1549-4c25-8aa9-204275068771 / btrfs rw,noatime,nospace_cache 0 0
  none /sys/fs/fuse/connections fusectl rw,relatime 0 0
  none /sys/kernel/debug debugfs rw,relatime 0 0
  none /sys/kernel/security securityfs rw,relatime 0 0
  none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
  none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
  none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0 0
  /dev/sdc1 /winloader fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
  /dev/sdc2 /windows fuseblk rw,nosuid,nodev,noatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
  binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
  gvfsd-fuse /home/bkw/.gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
  root at noexcuse:~# 

  root at noexcuse:~# mount -l
  proc on /proc type proc (rw)
  sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  udev on /dev type devtmpfs (rw,mode=0755)
  devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
  tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
  /dev/sdc1 on /winloader type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096) [System Reserved]
  /dev/sdc2 on /windows type fuseblk (rw,nosuid,nodev,noatime,allow_other,blksize=4096)
  binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
  gvfsd-fuse on /home/bkw/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=bkw)
  root at noexcuse:~# 

  root at noexcuse:~# ls -lL /dev/disk/by-uuid/f2a55331-1549-4c25-8aa9-204275068771
  brw-rw---- 1 root disk 8, 0 Oct 10 16:38 /dev/disk/by-uuid/f2a55331-1549-4c25-8aa9-204275068771
  root at noexcuse:~# ls -l /dev/disk/by-uuid/f2a55331-1549-4c25-8aa9-204275068771
  lrwxrwxrwx 1 root root 9 Oct 10 16:38 /dev/disk/by-uuid/f2a55331-1549-4c25-8aa9-204275068771 -> ../../sda
  root at noexcuse:~# 

  root at noexcuse:~# df -ah
  Filesystem      Size  Used Avail Use% Mounted on
  proc               0     0     0    - /proc
  sysfs              0     0     0    - /sys
  udev            994M  4.0K  994M   1% /dev
  devpts             0     0     0    - /dev/pts
  tmpfs           402M 1008K  401M   1% /run
  /dev/sdc1       350M  203M  148M  58% /winloader
  /dev/sdc2        56G   24G   33G  42% /windows
  binfmt_misc        0     0     0    - /proc/sys/fs/binfmt_misc
  gvfsd-fuse      0.0K  0.0K  0.0K    - /home/bkw/.gvfs
  root at noexcuse:~# 

  root at noexcuse:~# df -h /
  Filesystem      Size  Used Avail Use% Mounted on
  -                31G   16G   14G  55% /
  root at noexcuse:~# 

  # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  proc            /proc           proc    defaults        0       0
  # /dev/sdc1 Windows 8 loader
  UUID=E8C6C56EC6C53D96 /winloader auto noatime 0 0
  # /dev/sdc2 Windows 8 C:
  UUID=12E2D580E2D5688D /windows auto noatime 0 0
  # memorystick btrfs 32g
  UUID=f2a55331-1549-4c25-8aa9-204275068771 / auto noatime 0 0

  [/CODE]

  "/" is a btrfs filesystem on a memorystick card in a laptop card
  reader slot,  the entire raw card device, IE "/dev/sda" not a
  partition, shown by the /proc/mounts and "ls -l" output above.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: mount 2.20.1-5.1ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-17.27-generic 3.5.5
  Uname: Linux 3.5.0-17-generic i686
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: i386
  Date: Wed Oct 10 18:28:51 2012
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: util-linux
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1065303/+subscriptions



More information about the foundations-bugs mailing list