Re: Anonymous vnodes?

2023-06-26 Thread Taylor R Campbell
> Date: Mon, 26 Jun 2023 18:13:17 -0400 > From: Theodore Preduta > > Is it possible to create a vnode for a regular file in a file system > without linking the vnode to any directory, so that it disappears when > all open file descriptors to it are closed? (As far as I can tell, this > isn't pos

Re: Anonymous vnodes?

2023-06-26 Thread RVP
On Mon, 26 Jun 2023, Theodore Preduta wrote: Is it possible to create a vnode for a regular file in a file system without linking the vnode to any directory, so that it disappears when all open file descriptors to it are closed? (As far as I can tell, this isn't possible with any of the vn_* or

Re: Anonymous vnodes?

2023-06-26 Thread Jason Thorpe
> On Jun 26, 2023, at 3:13 PM, Theodore Preduta wrote: > > Is it possible to create a vnode for a regular file in a file system > without linking the vnode to any directory, so that it disappears when > all open file descriptors to it are closed? (As far as I can tell, this > isn't possible wi

Anonymous vnodes?

2023-06-26 Thread Theodore Preduta
Is it possible to create a vnode for a regular file in a file system without linking the vnode to any directory, so that it disappears when all open file descriptors to it are closed? (As far as I can tell, this isn't possible with any of the vn_* or VOP_* functions?) If this idea is indeed not p

Boot on GPT in RAID [PATCH]

2023-06-26 Thread Emmanuel Dreyfus
Hello Some time ago, I added code in x86 secondary bootstrap to allow booting on GPT partitions inside a RAID 1. It seems I forgot to commit the support in primary bootstrap, and in the meantime I deleted the tree with it. I just rewrote the thing, the patch is below for comment. The boot priori