How to fill in the fsid for file systems?

Andriy Gapon avg at FreeBSD.org
Fri Nov 2 15:25:31 UTC 2018


On 31/10/2018 17:50, Rick Macklem wrote:
> Andriy Gapon wrote:
>> One is practical.  How do we provide fsid to ZFS filesystems?
>> I mean I would hate to resort to mounting ZFS via fstab just to provide fsid
>> whereas today ZFS filesystems are mounted auto-magically.
>> We could add a FreeBSD specific fsid ZFS property, but that's also some extra code.
> Good point. I'm not a ZFS guy, so I wouldn't have thought of this.

A counter-point to my own point.  If we implement the fsid override in the
common code, like vfs_do[n]mount, then we would not need to worry about any
filesystem specifics.


-- 
Andriy Gapon


More information about the freebsd-fs mailing list