Merge lp:~tormodvolden/casper/excessive-mounting into lp:casper

Proposed by Tormod Volden
Status: Merged
Merged at revision: not available
Proposed branch: lp:~tormodvolden/casper/excessive-mounting
Merge into: lp:casper
Diff against target: None lines
To merge this branch: bzr merge lp:~tormodvolden/casper/excessive-mounting
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+11218@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2009-09-02 13:55:00 +0000
3+++ debian/changelog 2009-09-04 17:11:34 +0000
4@@ -1,3 +1,10 @@
5+casper (1.190) karmic; urgency=low
6+
7+ * do not remount filesystems that already have been probed when
8+ searching for the livefs (LP: 424464)
9+
10+ -- Tormod Volden <debian.tormod@gmail.com> Fri, 04 Sep 2009 19:07:05 +0200
11+
12 casper (1.189) karmic; urgency=low
13
14 * In 10adduser fix path to ubiquity-kde.desktop file
15
16=== modified file 'scripts/casper'
17--- scripts/casper 2009-08-31 12:15:55 +0000
18+++ scripts/casper 2009-09-03 23:56:25 +0000
19@@ -18,6 +18,7 @@
20 BUILD_SYSTEM=Custom
21
22 mkdir -p $mountpoint
23+tried=/tmp/tried
24
25 [ -f /etc/casper.conf ] && . /etc/casper.conf
26 export USERNAME USERFULLNAME HOST BUILD_SYSTEM
27@@ -506,7 +507,10 @@
28
29 fstype=$(get_fstype "${devname}")
30 if is_supported_fs ${fstype}; then
31+ devuid=$(blkid -o value -s UUID "$devname")
32+ [ -n "$devuid" ] && grep -qs "\<$devuid\>" $tried && continue
33 mount -t ${fstype} -o ro,noatime "${devname}" $mountpoint || continue
34+ [ -n "$devuid" ] && echo "$devuid" >> $tried
35 if is_casper_path $mountpoint && \
36 ([ "$skip_uuid_check" ] || matches_uuid $mountpoint); then
37 echo $mountpoint

Subscribers

People subscribed via source and target branches