Ask a Question related to FreeBSD, Design and Development.

  1. #1

    Default extract iso image

    hi, I am not sure if I am doing the right thing. I
    want to extract an downloaded isoimage by first
    mounting it. I tried: mount -t iso9660 -o loop
    image.iso /mnt but turns out I don't have
    mount_iso9660 under /sbin, only mount_cd9660. Is there
    any other way to do this? I am running
    freebsd5.3/i386. Thanks!


    =====
    Best Regards,

    Tsu-Fan Cheng

    __________________________________________________ _______
    Do You Yahoo!?
    µn°O§K¶Oªº @yahoo.com ¤¤¤å¹q¤l¶l¥ó @ [url]http://chinese.mail.yahoo.com[/url]
    Get your free @yahoo.com address at [url]http://chinese.mail.yahoo.com[/url]
    T.F. Cheng Guest

  2. Similar Questions and Discussions

    1. Extract Image from ByteArray
      Hi, If i have a byteArray of an image, how do i make a displayable Image I can load it using a Loader.loadBytes but then i cant display that...
    2. Extract Image to Tiff
      This question is concerning the Adobe Acrobat software for windows. I am trying to extract a pdf to a tiff. The pdf is only one page, however, when...
    3. Extract the first page of a PDF as an image?
      I'm trying to find some software (free, shareware, or commercial) that extract the first page of a PDF (whether it's an image or not) and render it...
    4. Extract Image
      Is there an application that will extract an embedded image for OS X. There used to be one in OS 9.
    5. How to extract preview image from jpegs
      Does anyone know how to extract the embedded preview image from a .jpg file? I would like to import the extracted images into a castLib, instead of...
  3. #2

    Default Re: extract iso image

    On Tuesday 22 February 2005 05:14 pm, T.F. Cheng wrote:
    > hi, I am not sure if I am doing the right thing. I
    > want to extract an downloaded isoimage by first
    > mounting it. I tried: mount -t iso9660 -o loop
    > image.iso /mnt but turns out I don't have
    > mount_iso9660 under /sbin, only mount_cd9660. Is there
    > any other way to do this? I am running
    > freebsd5.3/i386. Thanks!
    >
    >
    > =====
    > Best Regards,
    >
    > Tsu-Fan Cheng
    >
    Look in the handbook under optical drives.

    [url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html[/url]
    Michael C. Shultz Guest

  4. #3

    Default Re: extract iso image

    On Tuesday 22 February 2005 08:14 pm, T.F. Cheng wrote:
    > hi, I am not sure if I am doing the right thing. I
    > want to extract an downloaded isoimage by first
    > mounting it. I tried: mount -t iso9660 -o loop
    > image.iso /mnt but turns out I don't have
    > mount_iso9660 under /sbin, only mount_cd9660. Is there
    > any other way to do this? I am running
    > freebsd5.3/i386. Thanks!
    >
    >
    > =====
    > Best Regards,
    >
    > Tsu-Fan Cheng
    >
    I could be doing things the hard way, but I thought you had to
    first configure the md? For instance, I pulled the following
    commands from history (just recently upgraded my firewall):

    mdconfig -a -t vnode -f /dat1/ISO/obsd_36.iso -u 0
    mount_cd9660 /dev/md0 /mnt

    HTH,

    Mike
    Mike Hauber Guest

  5. #4

    Default Re: extract iso image


    On Feb 22, 2005, at 7:14 PM, T.F. Cheng wrote:
    > hi, I am not sure if I am doing the right thing. I
    > want to extract an downloaded isoimage by first
    > mounting it. I tried: mount -t iso9660 -o loop
    > image.iso /mnt but turns out I don't have
    > mount_iso9660 under /sbin, only mount_cd9660. Is there
    > any other way to do this? I am running
    > freebsd5.3/i386. Thanks!
    Is my best guess you have been reading Linux docs to have tried a
    "loop" option to mount in FreeBSD. Isn't done that way here.

    What you have to do is create a memory disk which is backed by a file.
    Maybe someone else knows how to do it as non-root:

    % su
    Password:
    # mdconfig -a -t vnode -o readonly -f dvd_image.iso
    md0
    # mount -t cd9660 /dev/md0 /mnt
    # ls -CF /mnt
    audio_ts/ jacket_p/ video_ts/
    # umount /mnt
    # mdconfig -d -u md0
    # mdconfig -l

    #

    What happens is that mdconfig creates the md0 device which contains the
    contents of the specified file. Once the file is turned into a device
    it can be handled same as any other device.

    Be sure to deallocate the device after you are finished as Unix doesn't
    release a file's space allocation until the last process closes it.

    --
    David Kelly N4HHE, [email]dkelly@HiWAAY.net[/email]
    ================================================== ======================
    Whom computers would destroy, they must first drive mad.

    David Kelly Guest

  6. #5

    Default Re: extract iso image

    On Wed, Feb 23, 2005 at 09:14:25AM +0800, T.F. Cheng wrote:
    > hi, I am not sure if I am doing the right thing. I
    > want to extract an downloaded isoimage by first
    > mounting it. I tried: mount -t iso9660 -o loop
    > image.iso /mnt but turns out I don't have
    > mount_iso9660 under /sbin, only mount_cd9660. Is there
    > any other way to do this? I am running
    > freebsd5.3/i386. Thanks!
    Linux calls it iso9660, FreeBSD calls is cd9660, same thing.
    The freebsd command that does the same thing is as follows:

    mount -t cd9660 /dev/`mdconfig -a -t image.iso` /mnt
    >
    >
    > =====
    > Best Regards,
    >
    > Tsu-Fan Cheng
    >
    > __________________________________________________ _______
    > Do You Yahoo!?
    > ?n?O?K?O?? @yahoo.com ?????q?l?l?? @ [url]http://chinese.mail.yahoo.com[/url]
    > Get your free @yahoo.com address at [url]http://chinese.mail.yahoo.com[/url]
    > _______________________________________________
    > [email]freebsd-questions@freebsd.org[/email] mailing list
    > [url]http://lists.freebsd.org/mailman/listinfo/freebsd-questions[/url]
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    --
    I sense much NT in you.
    NT leads to Bluescreen.
    Bluescreen leads to downtime.
    Downtime leads to suffering.
    NT is the path to the darkside.
    Powerful Unix is.

    Public Key: [url]ftp://ftp.tallye.com/pub/lorenl_pubkey.asc[/url]
    Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C

    Loren M. Lang Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139