git: periodic: Do not use colon (:) in hammer2 snapshot names

Aaron LI aly at crater.dragonflybsd.org
Fri Jun 19 06:29:45 PDT 2026


commit ded5c3bf26bb09f865b263563b2c7e6902d426d1
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Jun 16 14:14:05 2026 +0800

    periodic: Do not use colon (:) in hammer2 snapshot names
    
    As shown in the previous commit, a PFS label can be specified in
    'vfs.root.realroot' to mount the root partition from a custom PFS,
    including a snapshot.  However, such a PFS label cannot have the colon
    (:) symbol, which is used as a field separator.  Therefore, adjust the
    162.snapshot-hammer2 script to not name an auto created snapshot with a
    colon in the names, so that those snapshots may be used to mount the
    real root partition.
    
    Note, the 'vfs.root.realroot' is only necessary to mount an encrypted
    root partition or an LVM-based root partition.

Summary of changes:
 etc/periodic/daily/162.snapshot-hammer2 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ded5c3bf26bb09f865b263563b2c7e6902d426d1


-- 
DragonFly BSD source repository


More information about the Commits mailing list