LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-23-2005, 04:52 AM   #1
Grimmi-
Member
 
Registered: Oct 2005
Location: Finland
Distribution: Debian
Posts: 32

Rep: Reputation: 15
What filesystem on images


Im not so sure about what filesystems different cd images have, is there a command line option that shows it, or is there some software to see it?
 
Old 10-23-2005, 06:31 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Generally, F2 and F3 will show the different choices and options for kernels on a CD. I believe if they use Grub for their bootloader you can also hit [TAB] a few times to get a list of the available kernels.

Cool
 
Old 10-26-2005, 10:12 AM   #3
Grimmi-
Member
 
Registered: Oct 2005
Location: Finland
Distribution: Debian
Posts: 32

Original Poster
Rep: Reputation: 15
I think you understood me wrong, I was talking about bin and iso files, I know ISO images use iso9330 (or something like that) so I was wondering what other images use
 
Old 10-26-2005, 10:21 AM   #4
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
What other cd images? The iso9660 is the dominant format for all cds. If you are talking about bin and nero files then many of them are either just iso files with a different name or iso files with some extra stuff attached. I think some bin images are of the former type.
 
Old 10-26-2005, 10:28 AM   #5
Dtsazza
Member
 
Registered: Oct 2005
Location: Oxford, UK
Distribution: Debian Etch (w/ dual-boot XP for gaming)
Posts: 282

Rep: Reputation: 30
The different image formats are just various ways of representing the sequence of bits that make up a disc. As such, images don't have a file system because they're not concerned about files and directories, all they're concerned about is lots of 0s and 1s. Whatever image format you use, you'll get the exact same output once it's burnt/mounted/used in some other way.

As for what the filesystem is - (nearly) all CDs use the ISO 9660 filesystem, with or without various extensions (Rock Ridge - allows long filenames and symlinks; Joliet - allows Unicode filenames). It is technically possibly to put any filesystem you like (e.g. ext2) onto a CD, but the resulting CD wouldn't be readable by any operating systems other than Linux, and I can't think of any reason you'd want to do this asides from curiousity. It's a safe bet that any CD you get hold of that you didn't write yourself has the ISO 9660 filesystem. If you really want to know what extensions are used, it may be stored in the CD-info (I don't know offhand, and can't check at work) which you can get at with the following code (thanks to TLDP):
Code:
#! /bin/bash

RD=/dev/cdrom
for i in 32768,7   32776,32 32808,32 32958,128 33086,128 33214,128 \
         33342,128 33470,32 33581,16 33598,16  33615,16  33632,16
do
    old_IFS="$IFS"
    IFS=","
    set -- $i
    IFS="$old_IFS"
    OFFSET=$1
    LENGTH=$2
    echo "*`dd if=$RD bs=1 skip=$OFFSET count=$LENGTH   2> /dev/null`#"
done
HTH,
Andrzej
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 11:34 AM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 11:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 04:58 PM
images Kiti Programming 5 09-08-2003 06:25 AM
No images JesseJames LQ Suggestions & Feedback 3 05-20-2003 03:47 PM


All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration