OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 25, 2024 7:15 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: relationship between ISO9660, EITORITO and UDF
PostPosted: Fri May 06, 2011 9:55 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 25, 2010 11:28 pm
Posts: 153
Location: China
hi,
i'm preparing to undertake CD filesystem. but i have 3 specification now:
ISO 9660 (ECMA-119) specification
EI-Torito bootable cdrom format specification 1.1
OSTA Univeral Disk Format Specification V2.0

obviously nobody want to read them all, especially non-Eng-spoken guys like me. my purpose is to boot from cd (i dont like the grub way, because i have to support my own file system) and read(maybe someday write) files from a cd.
the problem is, i dont understand if UDF is the super-collection of the previous two, or is another thing. i hope someone can explain their relationship in detail. advising other specs is appericiated, and i'm wondering if i have to boot from CD with another specification under EFI.
thank you!

_________________
Enjoy my life!------A fish with a tattooed retina


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Fri May 06, 2011 10:37 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

  • ISO 9660 (ECMA-119) specification: Specification for the ISO9660 file system format typically used on CDs. This file system has a number of different extensions to add various things to it:
    • Rock Ridge: adds support to POSIX/UNIX style permissions and longer file/directory names to ISO9660
    • Joliet: adds support for Unicode to ISO9660
    • El-Torito: adds support for bootable CDs to ISO9660
    • Apple ISO 9660 Extensions: adds support for several different things to make it more compatible with other file systems used by Apple
    • ISO 13490: adds multisession support to ISO9660
  • OSTA Univeral Disk Format Specification: Entirely different file system that isn't related to ISO9660 at all. Typically used for DVDs (rather than CDs).

lemonyii wrote:
and i'm wondering if i have to boot from CD with another specification under EFI.


For EFI, El-Torito is used to find an "EFI system image" on the CD. The EFI system image uses the FAT32 file system (even though the CD itself is ISO9660 or something else). This is similar to using El Torito to emulate a floppy or hard disk on PC BIOS systems, where the floppy or hard disk image is stored on the CD and may use any file system (even though the rest of the CD uses ISO9660).


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Fri May 06, 2011 11:19 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 25, 2010 11:28 pm
Posts: 153
Location: China
thank you for fast reply, but can i boot with UDF? "Please refer to the "OSTA Native Implementation Specification" document for information on the Boot Descriptor." that's the only sentense about boot in UDF.

_________________
Enjoy my life!------A fish with a tattooed retina


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Fri May 06, 2011 11:40 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

lemonyii wrote:
thank you for fast reply, but can i boot with UDF? "Please refer to the "OSTA Native Implementation Specification" document for information on the Boot Descriptor." that's the only sentense about boot in UDF.


I honestly don't know. I failed to find the "OSTA Native Implementation Specification" document, and "Universal Disk Format Specification Revision 2.60" (the latest version as far as I know) says:

OSTA wrote:
5.3 Boot Descriptor
T.B.D.


"T.B.D." is an abbreviation for "To Be Done", which means they still haven't done it yet.

As far as I've been able to tell, UDF disks that are bootable are actually using UDF to store normal files/directories on the majority of the disk, but also have a minimal ISO9660 file system in a different area of the disk to allow them to keep using El-Torito for booting.


[EDIT] Now consider EFI, where a UDF disk would contain an ISO9660 area which contains an "EFI system partition" in FAT32...

"Yo dawg, we heard you like file systems; so we put a file system in your file system in your file system...." 8)
[/EDIT]


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Sat May 07, 2011 7:32 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
Brendan wrote:
UTF disks that are bootable

Just a small correction: Unicode is not a filesystem, no matter how often you mistype it. :wink:

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Sat May 07, 2011 7:56 am 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

Combuster wrote:
Brendan wrote:
UTF disks that are bootable

Just a small correction: Unicode is not a filesystem, no matter how often you mistype it. :wink:


Doh. Found them and fixed them.. :oops:

I keep thinking "UDF" is some sort of universal driver framework.


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re: relationship between ISO9660, EITORITO and UDF
PostPosted: Sat May 07, 2011 7:51 pm 
Offline
Member
Member
User avatar

Joined: Thu Mar 25, 2010 11:28 pm
Posts: 153
Location: China
Brendan wrote:
"Yo dawg, we heard you like file systems; so we put a file system in your file system in your file system...." 8)

:roll: FAT32 + ElTorito + myownfs, i won't do more.
thanks!

_________________
Enjoy my life!------A fish with a tattooed retina


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: eekee, Majestic-12 [Bot], RayanMargham and 208 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group