Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Mount partitions via fstab?

  1. #21
    Join Date
    Jul 2005
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount partitions via fstab?

    Update:

    After a recent update (sudo apt-get update && sudo apt-get upgrade), the partition which was being mysteriously mounted on /media/DATA is now being mounted instead on /media/$USER/DATA, unleashing all types of hell in the process.

    Adding an entry in /etc/fstab to mount the partition back on /media/DATA appears to sidestep this issue. Nevertheless, it would be nice if it was possible to know how Ubuntu handles these partitions instead of relying on faith and blind luck.

  2. #22
    Join Date
    Dec 2009
    Beans
    5,370

    Re: Mount partitions via fstab?

    Ubuntu is mounting it the same way it always did but when you upgraded you moved to udisks2. Udisks2 moved the auto-generated mount point from /media/LABEL to /media/$USER/LABEL. Why did they do this? Because they can and because no one ever thinks of the consequences of what they do.

    Take a look at the permissions of /media/$USER - and you have to look at permissions this way because at first glance it looks like only root has access to the folder:
    Code:
    getfacl -t /media/$USER
    Only $USER has access to the mount point under /media/$USER regardless of what permissions you set on the mount point itself.

    But anywho, although the mount point changed the process of mounting things when the user doesn't use fstab remains exactly as it was and is not faith-based.

  3. #23
    Join Date
    Jul 2005
    Beans
    51
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Mount partitions via fstab?

    Quote Originally Posted by Morbius1 View Post
    But anywho, although the mount point changed the process of mounting things when the user doesn't use fstab remains exactly as it was and is not faith-based.
    I expect the mount process not to be faith-based.

    But it starts to appear unlikely that it isn't, because the partition was being mounted without any fstab entry, and apparently, from the answers this thread has received, no one actually knows how that is happening.

    Thankfully, forcing the mouting process by adding a custom entry to /etc/fstab does appear to side-step this problem. Yet, as the default mounting process radically changed without any notice, what guarantees that mounting it through /etc/fstab will continue to work?

    So, it might not involve faith, but it does appear to be an arcane art.
    Last edited by GreatBunzinni; September 16th, 2013 at 09:31 AM.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •