[Bug 281734] ls .zfs/snapshot automounts all snapshots
Date: Thu, 26 Sep 2024 20:49:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281734
Bug ID: 281734
Summary: ls .zfs/snapshot automounts all snapshots
Product: Base System
Version: 14.1-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: fneves@registro.br
% uname -a
FreeBSD srv 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
% zfs list -t snap zroot/home | wc -l
279
% mount -v | grep @ | wc -l
0
% ls -l /home/.zfs/snapshot | head
total 4587
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-23_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-24_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-25_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-26_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-27_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-28_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-29_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-30_00.00.00--5w
drwxr-xr-x 160 root wheel 161 Aug 14 15:20 2024-08-31_00.00.00--5w
% mount -v | grep @ | wc -l
278
If you list the contents of a snapshot it is expected for it to be automounted
but only listing the list of available snapshots is not expected to mount any
of them. This is an unexpected behaviour. 13.3 and ZoL systems don't show this
behaviour.
--
You are receiving this mail because:
You are the assignee for the bug.