On 16-Nov-00 Bret Hughes wrote:
> Bernhard Rosenkraenzer wrote:
> 
>> On Thu, 16 Nov 2000, Bret Hughes wrote:
>>
>> > > mount -t iso9660 isofilename -o loop=/dev/loop0,rw mountpoint
>> > >
>> >
>> > I thought when I saw this, of course, the type option!  But no luck. 
>> > Mount
>> > still reports it as rw but I stil get the dreaded read only filesytem. 
>> > Any
>> > thing Else I can try?  FWIW this is a redhat 6.0 machine with all the
>> > errata
>> > upgrades.
>>
>> You can't mount an iso9660 filesystem read-write. The kernel doesn't (and
>> probably won't ever) support it.
>>
>> iso9660 was never meant to be a writable file system, it's designed to be
>> reasonably efficient for write-once, read forever situations.
> 
> Thanks Bero,  I was beginning to think that.  I guess I need to extract the
> files
> from the iso.  Is there a way to do that and keep all the symlinks too?

2 ways come to mind:

in either case mount the cd (to /mnt/cdrom in this example), and have a
directory on a partition with 650 (or how much ever) disk free:

1) cd /mnt/cdrom; tar -cpf - . | (cd <directory to unpack to> ; tar -xvpf - )

or

2) cd /mnt/cdrom; find . | cpio -pdmv <directory>

as I recall, one of these sets the owner of symlinks incorrectly, and the other
preserves the owner, but pragmatically speaking, that's a non-issue. I believe
that they both will copy properly all special files (pipes, devices, etc.)

-Greg

----------------------------------
E-Mail: Gregory Hosler <[EMAIL PROTECTED]>
Date: 17-Nov-00
Time: 09:53:54

    On the contrary of what you may think, your hacker is fully aware
    of your company's dress code. He is fully aware of the fact that it
    doesn't help him to do his job. 

----------------------------------



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to