lp:~colin-king/ubuntu/wily/mountall/zfs-support
NOTE: apparently we don't need these changes in Wily since mountall is used by upstart and not systemd. So ignore this
- Get this branch:
- bzr branch lp:~colin-king/ubuntu/wily/mountall/zfs-support
Branch merges
- Martin Pitt: Needs Information
-
Diff: 151 lines (+102/-4)1 file modifiedsrc/mountall.c (+102/-4)
Branch information
- Owner:
- Colin Ian King
- Status:
- Abandoned
Recent revisions
- 467. By Colin Ian King
-
* Handle duplicate mountpoints.
When mountall is iterating in try_mounts() on new mount point, change
is_parent() to return false when a record is tested against itself
because a mount point cannot be a root of itself.Mountall does not preserve the behavior of `mount -a` if more than
one device shares a mountpoint in the /etc/fstab file. Suppose:/var/tmp/ alfa /mnt/charlie ext2 loop 0 0
/var/tmp/ bravo /mnt/charlie ext2 loop 0 0 Both filesystems are mounted on /mnt/charlie by `mount -a`, but
bravo is ignored by `mountall`. This seems to be an artifact of the fix for
LP: #443035 in zfsonlinux/mountall@ eca315d06ae4a29 13f9b2ec994c68c 45fead912f. Furthermore, mountall hangs if such mounts are ZFS datasets or A
Closes: zfsonlinux/
mountall# 5
Darik Horn <email address hidden>, Fri, 27 Mar 2013 22:29:47 -0600 - 466. By Colin Ian King
-
* no filesystem should depend on mounting swap first
mk01 <email address hidden>, Fri, 1 Feb 2013 02:06:57 +0100 - 465. By Colin Ian King
-
* readonly and atime options reflected during mount
Matus Kral <email address hidden>, Wed, 30 Jan 2013 08:09:00 +0100 - 464. By Colin Ian King
-
* Disregard the 'mounted' dataset property.
If `/etc/mtab` is not a symlink to `/proc/mounts`, and if it contains stale
records, then `zfs list` returns incorrect 'mounted' values that cause
corresponding datasets to be ignored.The mounted check is unnecessary (and the problem), since mountall checks if
the mountpoints are already mounted before it spawns a mount job - but zfs list
checks mtab before it's been written by mountall (and any stale mountpoints get
misrepresented). Removing that check, everything seems to work fine (mounts
correctly on startup, doesn't overmount things when run from the command line
in a running session).
Will Rouesnel <email address hidden>, Thu, 27 Dec 2012 05:59:37 -0600 - 463. By Colin Ian King
-
* Add ZFS support.
Pretend that the output of `zfs list` is appended to the `/etc/fstab` file
Darik Horn <email address hidden>, Sun, 6 Nov 2011 00:00:00 -0500 - 460. By Steve Langasek
-
conf/mounted-
proc.conf: /proc/slabinfo may not exist, in which case we
should avoid trying to chmod it and generating spurious errors in the
log. LP: #1319724. - 458. By Steve Langasek
-
Update initscripts Breaks:, so we get the version that supports
/run/motd.dynamic before upgrading
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/wily/mountall