* restoring hard linked files from zisofs/iso9660 w. RR
@ 2002-01-25 12:55 Frank van Maarseveen
2002-01-25 13:28 ` Peter Wächtler
2002-01-25 17:55 ` H. Peter Anvin
0 siblings, 2 replies; 6+ messages in thread
From: Frank van Maarseveen @ 2002-01-25 12:55 UTC (permalink / raw)
To: linux-kernel
This doesn't seem to work due to inode number differences. Is
this a fundamental problem or can it be solved somehow, e.g.
by an attribute which refers to a sort of "original" inode
number?
or by a more advanced inode number synthesis in fs/isofs?
--
Frank
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: restoring hard linked files from zisofs/iso9660 w. RR
2002-01-25 12:55 restoring hard linked files from zisofs/iso9660 w. RR Frank van Maarseveen
@ 2002-01-25 13:28 ` Peter Wächtler
2002-01-25 17:55 ` H. Peter Anvin
1 sibling, 0 replies; 6+ messages in thread
From: Peter Wächtler @ 2002-01-25 13:28 UTC (permalink / raw)
To: frank.van.maarseveen; +Cc: linux-kernel
Frank van Maarseveen schrieb:
>
> This doesn't seem to work due to inode number differences. Is
> this a fundamental problem or can it be solved somehow, e.g.
> by an attribute which refers to a sort of "original" inode
> number?
>
> or by a more advanced inode number synthesis in fs/isofs?
>
Don't know about isofs, but hardlinks do not use an inode.
It's just another entry in a directory pointing to a "used"
inode (there is another entry refering to the same inode)
fast symlinks do occupy an inode, symlinks an inode + 1 diskblock.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: restoring hard linked files from zisofs/iso9660 w. RR
2002-01-25 12:55 restoring hard linked files from zisofs/iso9660 w. RR Frank van Maarseveen
2002-01-25 13:28 ` Peter Wächtler
@ 2002-01-25 17:55 ` H. Peter Anvin
2002-01-28 16:07 ` Frank van Maarseveen
1 sibling, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2002-01-25 17:55 UTC (permalink / raw)
To: linux-kernel
Followup to: <20020125135545.A28897@espoo.tasking.nl>
By author: Frank van Maarseveen <fvm@altium.nl>
In newsgroup: linux.dev.kernel
>
> This doesn't seem to work due to inode number differences. Is
> this a fundamental problem or can it be solved somehow, e.g.
> by an attribute which refers to a sort of "original" inode
> number?
>
WHAT doesn't work?
> or by a more advanced inode number synthesis in fs/isofs?
There is, I belive, an inode number RR attribute. Last I checked I
was happily using hard links with RockRidge...
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: restoring hard linked files from zisofs/iso9660 w. RR
2002-01-25 17:55 ` H. Peter Anvin
@ 2002-01-28 16:07 ` Frank van Maarseveen
2002-01-28 18:46 ` H. Peter Anvin
2002-01-28 19:43 ` H. Peter Anvin
0 siblings, 2 replies; 6+ messages in thread
From: Frank van Maarseveen @ 2002-01-28 16:07 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: linux-kernel
On Fri, Jan 25, 2002 at 09:55:57AM -0800, H. Peter Anvin wrote:
>
> WHAT doesn't work?
> There is, I belive, an inode number RR attribute. Last I checked I
> was happily using hard links with RockRidge...
Try restoring a few hard linked files from such a CD. The links will
break because the inodes of hard linked objects on CD do not have
an identical inode number anymore.
--
Frank
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: restoring hard linked files from zisofs/iso9660 w. RR
2002-01-28 16:07 ` Frank van Maarseveen
@ 2002-01-28 18:46 ` H. Peter Anvin
2002-01-28 19:43 ` H. Peter Anvin
1 sibling, 0 replies; 6+ messages in thread
From: H. Peter Anvin @ 2002-01-28 18:46 UTC (permalink / raw)
To: frank.van.maarseveen; +Cc: linux-kernel
Frank van Maarseveen wrote:
> On Fri, Jan 25, 2002 at 09:55:57AM -0800, H. Peter Anvin wrote:
>
>>WHAT doesn't work?
>>There is, I belive, an inode number RR attribute. Last I checked I
>>was happily using hard links with RockRidge...
>
> Try restoring a few hard linked files from such a CD. The links will
> break because the inodes of hard linked objects on CD do not have
> an identical inode number anymore.
>
What do you mean with "restore" in this context... (dump/restore clearly
don't apply.)
Please give a "I used the following mkisofs options to make the CD and
then I see the following when I execute this command after mounting the CD
image with the following mount options..."
-hpa
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: restoring hard linked files from zisofs/iso9660 w. RR
2002-01-28 16:07 ` Frank van Maarseveen
2002-01-28 18:46 ` H. Peter Anvin
@ 2002-01-28 19:43 ` H. Peter Anvin
1 sibling, 0 replies; 6+ messages in thread
From: H. Peter Anvin @ 2002-01-28 19:43 UTC (permalink / raw)
To: frank.van.maarseveen; +Cc: linux-kernel
Okay... I have successfully reproduced this bug. It's definitely a Linux
kernel bug -- mkisofs correctly puts file numbers (inode numbers) in the
PX Rock Ridge entries.
Unfortunately it is a pretty deep decision in the Linux isofs that the
inode number is the offset of the directory entry; isofs pretty much needs
to be rewritten to be dentry-centric rather than inode-centric on order to
resolve this. Note that dentry-centric operation is the sane thing for
something like isofs, so this wouldn't be a bad idea.
Unfortunately, that doesn't solve all problems: there is no structure to
the inode numbers provided in the PX entries, and there is the potential
for collision when used on a disc which is only partially RockRidge (which
is legal.) This has to be taken into account, and all of these things
have to be done without reading the whole disc first...
-hpa
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-01-28 19:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-25 12:55 restoring hard linked files from zisofs/iso9660 w. RR Frank van Maarseveen
2002-01-25 13:28 ` Peter Wächtler
2002-01-25 17:55 ` H. Peter Anvin
2002-01-28 16:07 ` Frank van Maarseveen
2002-01-28 18:46 ` H. Peter Anvin
2002-01-28 19:43 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox