Re: Can I mount an ISO image directly with mount?

From: Can Berk Guder (cbguder_at_su.sabanciuniv.edu)
Date: 05/30/05

  • Next message: Tomas Quintero: "Re: Testing a DHCP server without jeopardizing my IP configuration?"
    Date: Mon, 30 May 2005 19:36:12 +0300
    To: Steven Friedrich <FreeBSD@InsightBB.com>
    
    

    OK, here's how you do it on Linux:

    # mount -o loop -t iso9660 <ISO filename> <mount destination>

    eg.: # mount -o loop -t iso9660 /home/steven/5.4-RELEASE-i386-disc1.iso
    /var/ftp/pub/freebsd-5.4/

    Apparently, however this doesn't work on FreeBSD. AFAIK, this should work:

    # mdconfig -a -t vnode -f <ISO filename> -u 0
    # mount -t cd9660 /dev/md0 <mount destination>

    eg.:

    # mdconfig -a -t vnode -f /home/steven/5.4-RELEASE-i386-disc1.iso -u 0
    # mount -t cd9660 /dev/md0 /var/ftp/pub/freebsd-5.4/

    Regards,

    -- 
    Can Berk Guder
    Sabanci University
    Istanbul, Turkey
    Quoting Steven Friedrich <FreeBSD@InsightBB.com>:
    > I believe I read a posting over a year ago, that stated that you could mount
    > 
    > an ISO file directly with mount.
    > 
    > I searched the archives but couldn't find it.
    > I searched the FAQ and handbook as well.
    > 
    > I do see a section in the handbook about doing it with vn, but I want to know
    > 
    > if it's possible with mount alone.
    > 
    > -- 
    > i386 FreeBSD 4.11-STABLE
    > There are 10 types of people in this world. Ones that understand binary and
    > 
    > then, the others.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Tomas Quintero: "Re: Testing a DHCP server without jeopardizing my IP configuration?"

    Relevant Pages

    • Re: is this possible? (let user able to access two moint points, one beneath another)
      ... I wish to export two directories for other people to mount, ... so I go to read handbook. ... FreeBSD NFS server? ...
      (freebsd-questions)
    • mounting usb flash drive as user
      ... I am trying to mount a usb flash drive as a user under FreeBSD 6.2-RELEASE. ... I have followed the steps in the handbook, but it is not quite working. ... Script started on Fri Mar 9 23:26:53 2007 ...
      (freebsd-questions)
    • Re: Contributing to FreeBSD documentation (was: Re: no ath0 on new system with good card)
      ... > freebsd site. ... IIRC it is mentioned in the Developer's Handbook, ... documentation people hang out. ... The primary method of disabling drivers ...
      (freebsd-questions)
    • Re: FreeBSD and the Internet
      ... >>Hi i am novice to FreeBSD, i would like to connect it to the internet. ... The handbook in various languages is also installed along with FreeBSD. ... "links" is the console-only web browser that I use. ... and set up a script like the above "handbook" ...
      (comp.unix.bsd.freebsd.misc)
    • Re: USB stick access freezing up system?
      ... average but it is choking on "blackhat" networks which have thousands ... would expect the application to fail, but the stick is just a mount in ... Does this mean that if a non RAIDed drive fails a ... FreeBSD box will reboot, ...
      (comp.unix.bsd.freebsd.misc)