← Back to team overview

desktop-packages team mailing list archive

[Bug 442130] Re: Custom fstab causes duplicate entries for partitions in Places

 

@ artinP (bircoe):

Thanks for the link, but it did not address the issue of duplicated entries for samba shares.
It did, however, contain other useful piece of information: mounting protected samba shares without a credentials file.

Regarding the duplicated issue, I think the problem has to do with
/etc/fstab, /etc/mtab, and the way nautilus reads those files.

Once an entry in /etc/fstab is mounted, it appears in /etc/mtab, but for
some reason (usually when not using default options), the mtab entry is
different from the fstab entry. When nautilus reads the two files, it
gets confused, and shows both the fstab entry and the mtab entry.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/442130

Title:
  Custom fstab causes duplicate entries for partitions in Places

Status in GVFS:
  New
Status in “gvfs” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: nautilus

  I wanted my disks to automount on startup, but I didnt want to address them directly with device path, since it can change.
  So instead i use the LABEL directive.
  Now each partition is listed twice in Nautilus Places (see screenshot).

  According to a post on ubuntuforums, this issue can also happen if you identify partitions by UUID:
  * http://ubuntuforums.org/showthread.php?p=8050320

  A workaround is to specify the partitions by /dev/sdXXX paths instead

  
  # /etc/fstab: static file system information.
  proc /proc proc defaults 0 0

  LABEL=ubuntu / ext3 relatime,errors=remount-ro 0 1
  UUID=4c604809-286a-4bf3-afd5-d23ff2e5464c none swap sw 0 0

  /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

  LABEL=mp3       /media/mp3         ext4   users,noauto,noexec,noatime,rw  0 2
  LABEL=tvserier  /media/tvserier    ext4   users,noauto,noexec,noatime,rw  0 3
  LABEL=filmer    /media/filmer      ext4   users,noauto,noexec,noatime,rw  0 4
  LABEL=downloads /media/downloads   ext4   users,noauto,noexec,noatime,rw  0 5

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Oct  4 13:07:08 2009
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/nautilus
  NonfreeKernelModules: fglrx
  Package: nautilus 1:2.28.0-0ubuntu4
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-11.38-generic
  SourcePackage: nautilus
  Uname: Linux 2.6.31-11-generic x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/442130/+subscriptions