Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2006 20:03:09 -0700
From:      Deomid Ryabkov <myself@rojer.pp.ru>
To:        Perry Hutchison <perryh@pluto.rain.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Symlinks on read-only FS
Message-ID:  <4510AF6D.2060809@rojer.pp.ru>
In-Reply-To: <10609200101.AA21405@pluto.rain.com>
References:  <10609200101.AA21405@pluto.rain.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Perry Hutchison wrote:

> Is the inclusion of VLNK here correct?  I would think that
> only the target of the symlink should matter:  if it happens
> to point onto a writable FS, the fact that the symlink itself
> is on a ROFS should not matter.

yes, it is correct.
short symbolic links are stored in the inode itself, so if you modify a short link,
you'll be modifying metadata, which is not allowed. it could be argued,
that as long as the change is restricted to one inode, it could be tolerable,
but moreover, if your short symbolic link is modified to be longer than fits in inode,
a disk block will need to be allocated, which would involve a change to block map,
which is certainly not desirable for read-only mounts.

-- 
Deomid Ryabkov aka Rojer
myself@rojer.pp.ru
rojer@sysadmins.ru
ICQ: 8025844

[-- Attachment #2 --]
0	*H
010	+0	*H
	=00b;^`@3[m0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060401182654Z
070401182654Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0	*H
	myself@rojer.pp.ru0"0
	*H
0
sQIk\c!yX݋6.ܧѧcAƖ
THQX>TMrhL2#UK,Uv [CLGsk/=eopy|?aNx*;9;8S06"'+ePzNt;Ȋ.*'Ɔkc$!YuDW27˦UxPT+–g|*%qe͸=T_-%ΈY/0-0U0myself@rojer.pp.ru0U00
	*H
&7fd·%3WĭcpƐp++N}qfPT0[5IXe3A9Gv_*zYvv;bɢ@`E6&2Rߙ00b;^`@3[m0
	*H
0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
060401182654Z
070401182654Z0_10URyabkov10
U*Deomid10UDeomid Ryabkov1!0	*H
	myself@rojer.pp.ru0"0
	*H
0
sQIk\c!yX݋6.ܧѧcAƖ
THQX>TMrhL2#UK,Uv [CLGsk/=eopy|?aNx*;9;8S06"'+ePzNt;Ȋ.*'Ɔkc$!YuDW27˦UxPT+–g|*%qe͸=T_-%ΈY/0-0U0myself@rojer.pp.ru0U00
	*H
&7fd·%3WĭcpƐp++N}qfPT0[5IXe3A9Gv_*zYvv;bɢ@`E6&2Rߙ0?0
0
	*H
010	UZA10UWestern Cape10U	Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0)	*H
	personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
	*H
0Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr`00U00CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
	*H
HP.
fgCL!6-6/P p<ab:~t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1d0`0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA;^`@3[m0	+0	*H
	1	*H
0	*H
	1
060920030309Z0#	*H
	1pW0zrM
#0R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0	+71x0v0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA;^`@3[m0*H
	1xv0b10	UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA;^`@3[m0
	*H
gejz=qn}Y\xn*{^,r[}`t|+S#_̡ri4nv|y"԰NT
3=}+0qHWZN&y;KR	P!
&!}&/U$irp+^
ٝv3L–s}mR`~g,FcSP|qFOS^W	bc2l>bXOȁT!2.6F

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4510AF6D.2060809>