Re: FreeBSD, boot environments and /dev
- Reply: Michael Schuster : "Re: FreeBSD, boot environments and /dev"
- In reply to: Michael Schuster : "Re: FreeBSD, boot environments and /dev"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 08:04:05 UTC
On Mon, 9 May 2022, at 06:25, Michael Schuster wrote: > On Fri, May 6, 2022 at 12:15 AM Wes Maag <jwmaag@gmail.com> wrote: >> >> >> On Thu, May 5, 2022 at 4:10 PM Michael Schuster <michaelsprivate@gmail.com> wrote: >>> Hi all, >>> >>> while still working (slowly) on an answer to my own question on the >>> right workflow to keep current up to date reliably with boot >>> environments, I noticed that after creating and mounting a new BE, >>> that new BE's /dev (eg /mnt/dev) is very sparsely populated: This is expected; /dev would usually be empty until devfs is mounted. Looking into the unmounted /dev via the last zfs snapshot of your / filesystem should also be empty: $ ls -AFGhl /.zfs/snapshot/$(ls -rt /.zfs/snapshot/ | tail -1)/dev total 0 If it's not I'd guess these are stray garbage from BE experiments where /dev wasn't mounted and various scripts & tools tried to pipe via /dev/{fd,zero,null,...}. If you created a hypothetical "empty" BE from scratch, unpacked src tarballs into it, it would also be empty. A+ Dave