I have a little bit of OCD, the empty directory makes me uncomfortable.Don't remove it.
But why the directory is empty? The pool is not emptyWhen you create a ZFS pool the "top" dataset will get mounted on a directory with the same name as the pool. The /zroot directory is because a zroot pool was created.
Not on the pool itself, but it also creates a "top" level dataset, that does have theis there a "canmount" property for pools?
canmount, mountpoint etc properties. dice@maelcum:~ % zpool list
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
zroot 444G 135G 309G - - 57% 30% 1.00x ONLINE -
dice@maelcum:~ % zfs list zroot
NAME USED AVAIL REFER MOUNTPOINT
zroot 135G 295G 96K /zroot
dice@maelcum:~ % zfs list -o canmount,mounted,mountpoint zroot
CANMOUNT MOUNTED MOUNTPOINT
on yes /zroot
The top level dataset of the pool is empty.But why the directory is empty? The pool is not empty
zroot/here/is/where/I/intend/to/mount/root (means, 9th level of datasets hierarchy) and set its mountpoint as "/", it's the root directory, even if there's a dataset zroot/local (means, 2nd level of datasets hierarchy) to be mounted to /usr/local. Just no one would want to try, but theoretically possible.zfs create zroot/test
It is only empty because when the zroot pool datasets were created by zfs, they were given mountpoints outside the /zroot directory.I have a little bit of OCD, the empty directory makes me uncomfortable.
The top level dataset of the pool is empty.
It is only empty because when the zroot pool datasets were created by zfs, they were given mountpoints outside the /zroot directory.
# ls -lR /rpool
/rpool:
total 3
drwxr-xr-x 3 root staff 3 2025-10-07 11:06 boot
drwxr-xr-x 2 root staff 3 2025-10-07 11:30 etc
/rpool/boot:
total 2
drwxr-xr-x 3 root staff 6 2026-02-14 13:38 grub
/rpool/boot/grub:
total 59
drwxr-xr-x 2 root staff 3 2025-10-07 11:30 bootsign
-r--r--r-- 1 root staff 1844 2010-11-05 16:02 capability
-rw-r--r-- 1 root staff 1607 2026-01-24 08:17 menu.lst
-rw-r--r-- 1 root staff 52812 2025-10-07 11:30 splash.xpm.gz
/rpool/boot/grub/bootsign:
total 1
-r--r--r-- 1 root staff 0 2025-10-07 11:30 pool_rpool
/rpool/etc:
total 1
-rw-r--r-- 1 root staff 11 2025-10-07 11:30 bootsign