NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/30058



The following reply was made to PR kern/30058; it has been noted by GNATS.

From: Christian Kujau <lists%nerdbynature.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/30058
Date: Fri, 16 Aug 2019 23:42:29 -0700 (PDT)

 While the first topic of this PR appears to be no longer valid (md5 now 
 supports -q), extended attributes are still not working in NetBSD 8.1:
 
  # newfs -O 1 /dev/rwd1a
  # mount -t ffs -o extattr /dev/wd1a /mnt/test/
  # cd /mnt/test && touch foo
  # setextattr system bar baz foo
  setextattr: foo: failed: Operation not supported
  
  # dmesg | tail -1
  /mnt/test: failed to start extattr: error = 2
  
  # config -x /netbsd | grep EXTA
  options         UFS_EXTATTR  # Extended attribute support for UFS1
 
 
 Curiously enough, while the original PR is from 2005, two commits[0] to 
 sys/ufs/ufs/extattr.h and sys/ufs/ufs/ufs_extattr.c from 2014 and 2016 can 
 be found, but I'm wondering if UFS_EXTATTR was even tested in the last 
 couple of years. FWIW, EA support has been removed from OpenBSD in 2005, 
 so maybe the code can be removed from NetBSD as well? It'd be nice to have 
 it working though :-D
 
 Thanks,
 Christian.
 
 [0] https://github.com/NetBSD/src/commit/6862ff49
     Bump UFS1 extended attribute max name length to 256
 
     https://github.com/NetBSD/src/commit/5609226e
     Explain why the lock in here needs to be recursive. Related to PR 46997.
 
 [1] https://github.com/openbsd/src/commit/9dd8235
     Extended Attributes was a piece to get to ACLs
 -- 
 BOFH excuse #67:
 
 descramble code needed from software company
 



Home | Main Index | Thread Index | Old Index