tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: VOP_STRATEGY for devices and pipes
On Thu, Jul 15, 2021 at 11:00:36AM -0700, Chuck Silvers wrote:
> setting an extattr on a device node in UFS is already disallowed.
> ffs_setextattr() has this check:
>
> if (ap->a_vp->v_type == VCHR || ap->a_vp->v_type == VBLK)
> return (EOPNOTSUPP);
>
> I have not checked other file systems to see if they have an
> equivalent check.
I don't think anything else does extattrs. tmpfs doesn't, for example.
> I think we should continue to support extattrs on fifos for two reasons:
> - extattrs are used to implement ACLs, and it is useful to be able
> to set an ACL on a fifo.
> - it is good to remain more compatible with FreeBSD in this area.
Reasonable enough.
of course it's also useful to be able to set an ACL on a device...
but not now.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index