From 2ff9cc9d6ca04f3e53cd58c5cb575fa6b48a2de6 Mon Sep 17 00:00:00 2001 From: colin Date: Sun, 2 Oct 2022 01:26:50 -0700 Subject: [PATCH] pkg: sane-mount-servo: comment/note a fix about a bug i saw in this script --- pkgs/sane-scripts/src/sane-mount-servo | 1 + pkgs/sane-scripts/src/sane-mount-servo-root | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/sane-scripts/src/sane-mount-servo b/pkgs/sane-scripts/src/sane-mount-servo index 30ae9d0b..35d50c89 100755 --- a/pkgs/sane-scripts/src/sane-mount-servo +++ b/pkgs/sane-scripts/src/sane-mount-servo @@ -15,4 +15,5 @@ then fi # symlink the fastest mount point into place +# uncomment if i see the bug again: sudo unlink /mnt/servo-media # XXX ln gets confused if the destination is a symlink to a stale mount sudo ln -sf $mnt /mnt/servo-media diff --git a/pkgs/sane-scripts/src/sane-mount-servo-root b/pkgs/sane-scripts/src/sane-mount-servo-root index 5015dfd5..bdd4fdb9 100755 --- a/pkgs/sane-scripts/src/sane-mount-servo-root +++ b/pkgs/sane-scripts/src/sane-mount-servo-root @@ -15,4 +15,5 @@ then fi # symlink the fastest mount point into place +# uncomment if i see the bug again: sudo unlink /mnt/servo-root # XXX ln gets confused if the destination is a symlink to a stale mount sudo ln -sf $mnt /mnt/servo-root