Re: Bug#174525: ITP: dar -- Disk ARchive: Backup directory tree and files.
On Sat, Dec 28, 2002 at 01:12:10PM +0100, Russell Coker wrote:
> > - My version is compiled with ATTR (EA) support, however, DAR gets very
> > verbose if the filesystem doesn't support ATTRs (IMHO errors of type
> > "Operation not supported" need to be ignored). These warnings
> > will disappear if the -Uu flags are used (don't archive ATTRs).
> Maybe you could patch it to check for ATTR support on backup at the start of
> each file system. If a file system does not support ATTR then display a
> single message "File system /var does not support ATTR." and continue on with
> no further messages. Of course it's a bit more serious if you do a restore
> with ATTR support and the file system doesn't like it...
I should restate my initial claim, I was slightly inaccurate.
It is not an error to read ATTRs from a filesytem that doesn't have
ATTRs, you will simply get nothing returned.
It is an error to read ATTRs when running a kernel that doesn't
support ATTRs though, the error is ENOSYS.
I have constructed a patch, and will send it upstream, that
allows ATTRs to be ignored if ENOSYS is set.
This comes at the risk though that if the user hasn't realized
that the kernel doesn't support ATTRs, they will get siliently
Brian May <email@example.com>