| To: | Dan Am <xfs@xxxxxxxx> |
|---|---|
| Subject: | Re: "xfs_io -c chattr +i " on a symlink |
| From: | Eric Sandeen <sandeen@xxxxxxxxxxx> |
| Date: | Thu, 03 Aug 2006 09:13:07 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <28749.62.159.242.114.1154600816.squirrel@otto.lonx.net> |
| References: | <28749.62.159.242.114.1154600816.squirrel@otto.lonx.net> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Thunderbird 1.5.0.5 (Macintosh/20060719) |
Dan Am wrote:
(resend, since I used the wrong account to send the initial mail, sorry)
[sandeen@sandeen ~]$ ln -s /tmp tmplink
[sandeen@sandeen ~]$ ls -l tmplink
lrwxrwxrwx 1 sandeen sandeen 4 Aug 3 09:05 tmplink -> /tmp
[sandeen@sandeen ~]$ su
Password:
[root@sandeen sandeen]# chattr +i tmplink
[root@sandeen sandeen]# stat -f tmplink
File: "tmplink"
ID: 802 Namelen: 255 Type: XFS (0x58465342)
Blocks: Total: 23377204 Free: 8557099 Available: 8557099 Size: 4096
Inodes: Total: 93554496 Free: 93202008
[root@sandeen sandeen]#
[root@sandeen sandeen]# lsattr tmplink
----i-------- tmplinkxfs_io also has an option to try to do operations even on non-xfs filesystems, if that helps... if it follows the link & sets the attr on the link target, that may not be behaving as expected though. -Eric |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | "xfs_io -c chattr +i " on a symlink, Daniel Amthor |
|---|---|
| Next by Date: | Concurrent mount of XFS over SAN, Heilige Gheist |
| Previous by Thread: | "xfs_io -c chattr +i " on a symlink, Dan Am |
| Next by Thread: | Re: "xfs_io -c chattr +i " on a symlink, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |