Results 1 to 3 of 3

Thread: Mount Iso Image on the 5200 Pro

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Question Mount Iso Image on the 5200 Pro

    hi,

    i was really amazed to see that feature on my web interface after i upgraded to the latest firmware ...

    i was even able to mount some iso images (would have been great to get some other formats as well like img, nrg, msd+iso and msd+mdf a.s.o.) but i did not see any way how to use them ....

    the mounted images did not show up in the folder section - where i could probably share them via smb/cif or nfs ...

    any ideas and/or solutions for that and please i am a no-NIX person - so please keep it simple for me

    cheers - ahab666

  2. #2
    Registered+
    Join Date
    Apr 2008
    Posts
    57
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Mount Iso Image on the 5200 Pro

    For a non Unix-User, simple: impossible.
    Thats my opinion, but I am low level Unix-User.
    Let me try to tell why I think so.
    Mount says, giving a file system a place, where it is visible within your system tree of folders. This is called a mount point and may be any folder in your system. A file system has to be known by the kernel directly or through a so called kernel module, that can be loaded or unloaded at runtime if needed. It will be loaded automatically and operate with the desired options, in invoking the mount command. The ordinary mount looks like that: mount -t(file system type) -o(options) /dev/(entry that represents the desired file system) /path/to/mount_point. Of course, every single detail must be present and known to the system. You won't be able to mount on a non existing mountpoint and you won't be able to mount any unknown file system either. That is the problem. CD or DVD have a well known and classified file system and their iso-imgs represent just the content of a CD, so mounting means not much more, than creating an entry that represents this file system in /dev and mount it as usual. I show this detailed for FreeBSD:
    mdconfig -a -t vnode -f '/path/to/my.iso' -u 0
    creates an entry /dev/md0 that represents my.iso, what should be a CD img.
    mount -r -t cd9660 /dev/md0 /path/to/mount_point
    would mount this, just as it would be a CD, -t cd9660 stands for the cd- file system.
    With GNU, there is a nice mount option, -o loop, that can mount those iso-imgs directly without first creating and configuring a device md0.
    Free-BSD and GNU are full featured Unix Systems, GNU normally runs on Linux.
    Thecus has busybox/Linux, what is a limited Unix. In my version, I don't see -o loop and no mdconfig, so I can't say, how they do it with your version now, but I am sure, it will follow the same principal and it will need to know the file system that is wanted. Lets say, you want NTFS, the famous and good M$ file system. You never could mount anything formated in NTFS, without using the right kernel module. It is not enough, to tell the system to use NTFS, the module must be present and known to the system. In full featured Unix Systems, you have a chance to build this modules later, at some point, but with busybox, you will have to integrate this during system build time. If Thecus did so with CD file system, they could do that, because this is well known and common. The same might be true for NTFS or FAT and FAT32(VFAT). But it cannot be true for any desired file system in the world and you still would have to know, what is in the corresponding img-file. You cannot see this by looking at the extension or so.
    If you know, what is used inside this img and if the file system would be supported, you would be able to mount this img. If it is mounted, you could export it. The mount point must than get an entry in your /etc/exports, what lists your NFS shares. But this has to be read by the NFS-server when it starts. You would have to restart that after creating an entry and after mounting the img, than you should get it exported correctly. Its not the img, its the mount point that you have to export. Or this mount point has to be in an already exported folder and this one is exported with the option -alldirs, so that you are able to browse in that iso- mount point. After mounting the iso, you would be able to reach it.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Mount Iso Image on the 5200 Pro

    Quote Originally Posted by pit234a View Post
    For a non Unix-User, simple: impossible.
    Thats my opinion, but I am low level Unix-User.
    Let me try to tell why I think so.
    Mount says, giving a file system a place, where it is visible within your system tree of folders. This is called a mount point and may be any folder in your system. A file system has to be known by the kernel directly or through a so called kernel module, that can be loaded or unloaded at runtime if needed. It will be loaded automatically and operate with the desired options, in invoking the mount command. The ordinary mount looks like that: mount -t(file system type) -o(options) /dev/(entry that represents the desired file system) /path/to/mount_point. Of course, every single detail must be present and known to the system. You won't be able to mount on a non existing mountpoint and you won't be able to mount any unknown file system either. That is the problem. CD or DVD have a well known and classified file system and their iso-imgs represent just the content of a CD, so mounting means not much more, than creating an entry that represents this file system in /dev and mount it as usual. I show this detailed for FreeBSD:
    mdconfig -a -t vnode -f '/path/to/my.iso' -u 0
    creates an entry /dev/md0 that represents my.iso, what should be a CD img.
    mount -r -t cd9660 /dev/md0 /path/to/mount_point
    would mount this, just as it would be a CD, -t cd9660 stands for the cd- file system.
    With GNU, there is a nice mount option, -o loop, that can mount those iso-imgs directly without first creating and configuring a device md0.
    Free-BSD and GNU are full featured Unix Systems, GNU normally runs on Linux.
    Thecus has busybox/Linux, what is a limited Unix. In my version, I don't see -o loop and no mdconfig, so I can't say, how they do it with your version now, but I am sure, it will follow the same principal and it will need to know the file system that is wanted. Lets say, you want NTFS, the famous and good M$ file system. You never could mount anything formated in NTFS, without using the right kernel module. It is not enough, to tell the system to use NTFS, the module must be present and known to the system. In full featured Unix Systems, you have a chance to build this modules later, at some point, but with busybox, you will have to integrate this during system build time. If Thecus did so with CD file system, they could do that, because this is well known and common. The same might be true for NTFS or FAT and FAT32(VFAT). But it cannot be true for any desired file system in the world and you still would have to know, what is in the corresponding img-file. You cannot see this by looking at the extension or so.
    If you know, what is used inside this img and if the file system would be supported, you would be able to mount this img. If it is mounted, you could export it. The mount point must than get an entry in your /etc/exports, what lists your NFS shares. But this has to be read by the NFS-server when it starts. You would have to restart that after creating an entry and after mounting the img, than you should get it exported correctly. Its not the img, its the mount point that you have to export. Or this mount point has to be in an already exported folder and this one is exported with the option -alldirs, so that you are able to browse in that iso- mount point. After mounting the iso, you would be able to reach it.
    Hi and thx for your explanation - i finally see the mounted image file as a folder in my shared folders (no share seems to be possible from within a shared folder) but i was mislead - i thought that the mounting of cd's, dvd's and maybe HD - ISO files like blue ray or HDDVD would have a similar effect like the 'mounting' of that images have with one of the infamous programms like alcohol, daemon tools a.s.o. - virtual devices - that the operating system treats like one has 10 or 20 hardware devices installed. As i use my Thecus primarily for media files of many kinds that would have been a nice treat - because the build it media server is very limited to the formats it can stream.

    thanks again and cheers - ahab666

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding the right XP CD for my CD key
    By idlewild in forum Software
    Replies: 24
    Last Post: 17-03-2008, 01:53 PM
  2. Bargain Herc 9800 Pro and 9700 pro!!!!!
    By GuruJockStrap in forum Retail Therapy and Bargains
    Replies: 10
    Last Post: 18-05-2004, 05:34 PM
  3. Dim monitor image with 9800 pro
    By quimico in forum Graphics Cards
    Replies: 4
    Last Post: 17-11-2003, 03:06 PM
  4. 9800 non pro or 5900 non ultra - Bargins?
    By TiG in forum Graphics Cards
    Replies: 12
    Last Post: 15-10-2003, 09:30 PM

Posting Permissions

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