> On Wed, Oct 18, 2023 at 12:37:59PM -0700, Parke wrote:
> > What is the status of the above todo item regarding a distinct st_dev
> > value for each subvolume?

On Wed, Oct 18, 2023 at 1:29 PM Kent Overstreet
<[email protected]> wrote:
> Not done yet (and thanks for the reminder!)

Thanks for the info.

> > Is there any easy method for users (especially non-root users) to
> > identify Bcachefs subvolumes?

> Unfortunately nothing so easy - snapshots will have the same inode
> number for their root as the parent subvolume, but new (empty)
> subvolumes get new inode numbers for their root inode.
>
> Perhaps we could sketch out a proper interface for this...

Could Bcachefs communicate whether or not a directory is subvolume
somehow via the st_rdev field?  Or does bcachefs already use st_rdev
for something else?

(I am unfamiliar with st_rdev, its uses, and what restrictions the
kernel might place upon it.)

Thank you,

Parke

Reply via email to