| To: | Dan Am <xfs@xxxxxxxx> |
|---|---|
| Subject: | Re: "xfs_io -c chattr +i " on a symlink |
| From: | Timothy Shimmin <tes@xxxxxxx> |
| Date: | Fri, 04 Aug 2006 19:13:17 +1000 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <39340.62.159.242.114.1154679319.squirrel@xxxxxxxxxxxxx> |
| References: | <39340.62.159.242.114.1154679319.squirrel@xxxxxxxxxxxxx> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 1.0.8 (X11/20060411) |
Dan Am wrote: On Fri, August 4, 2006 6:20 am, Chris Wedgwood wrote:I always disliked open/ioctl for this. I think we should actually have a separate syscall for chattr, etc. (FreeBSD does this I think?) > So how does "attr -s someAttribute symlink" work ? This does the job very well, distinguishing it from other filesystems. attr(1) sets the extended attribute and they are set by system calls. It looks like you would need the -L option to attr(1) which ends up calling the lsetxattr() syscall via the libattr library. (Inode attributes shouldn't be confused with extended attributes, EAs, - a cause of much confusion for me and others in the past :) --Tim |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: "xfs_io -c chattr +i " on a symlink, Dan Am |
|---|---|
| Next by Date: | Re: 2.6.18-rc3-git3 - XFS - BUG: unable to handle kernel NULL pointer dereference at virtual address 00000078, Nathan Scott |
| Previous by Thread: | Re: "xfs_io -c chattr +i " on a symlink, Dan Am |
| Next by Thread: | Concurrent mount of XFS over SAN, Heilige Gheist |
| Indexes: | [Date] [Thread] [Top] [All Lists] |