Interesting problem :)

Entelin plug-discuss@lists.plug.phoenix.az.us
05 Nov 2002 21:02:13 -0700


Heres the situation, one old laptop, 2 gig HD. It was loaded to the brim
so I figgured I would write a small script to take a list of file
locations of a package like slackware stores them as and make a cd of a
bunch of the development tools that are read only to normal users anyway
as well as the kernel source and some other large things.  This being
done to free up a substantial ammount of disk space.

The script creates a link in the place of all the moved files to the
location they would be on the cd which is in a from root structure.

so this was done, the iso made, permissions verifyed, and I mounted the
iso to do some test compiles to enshure everything was fine. as in  
mount -t iso9660 -o loop,ro cd.iso /mnt/cdrom

worked perfectly.

now I take that image and burn it to a real cd  cdrecord -dev 0,0,0
-speed 8 cd.iso

then mount it and.... gcc gives me access denied when running it, went
through all the permissions and they are all correct.

So then i burn the ISO to a cd, then mount the iso off the cd over top
of the cd's mount like this   mount -t iso9660 -o loop,ro
/mnt/cdrom/cd.iso /mnt/cdrom

and it again works perfectly : )

so um  *WTF* ?  If the ISO works why doesnt a cd made from the iso work
?

interesting I thought.