01-11-2002
I am not familiar with AIX, but on some systems, you can pass the "-o loop" option to the mount command in order to mount a file as a device to a folder (whew!). For example, I have used:
mount -o loop -t iso9660 ./my.iso ./mnt
, and it works just fine.... Check your man page for mount to look for your exact options, etc...
Hope this helps.
10 More Discussions You Might Find Interesting
1. Tips and Tutorials
Many software packages can be downloaded in the form of an ISO image. ISO images can also be created from CD and saved as ISO images:
$ cat /dev/somecd > somename.iso
Rather than burning the image to a CD-ROM to access its contents, it is easy to mount the image directly into the filesystem... (0 Replies)
Discussion started by: kduffin
0 Replies
2. AIX
Hi Guys,
How to mount ISO images in AIX environment.
I know how to do it in Solaris.
Thanks
Manu (0 Replies)
Discussion started by: b_manu78
0 Replies
3. Red Hat
Hi Guys,
I'm having a bit of trouble and im not sure what is the deal, I'm trying to mount an ISO on my RHEL box and it is not letting me...
mount -o loop -t iso9660 /home/bgalante/rhel-5-server-i386-disc3.iso /mnt
mount: Not a directory
any idea what i am doing wrong? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
4. AIX
Hi,
I've got a recent problem with 2 file systems on an AIX 5.3 server. The fs's are marked to auto mount at startup and do show as being mounted after a a restart however if you cd to the mount point and 'df -g .' it shows the fs hasn't actually mounted.
$ mount |grep SQLT0001.0
... (2 Replies)
Discussion started by: m223464
2 Replies
5. Solaris
Hello.
When I use format command - It shows:
/dev/dsk/c0d0s4 is normally mounted on /u02 according to /etc/vfstab. Please remove this entry to use this device.
What does it mean? (4 Replies)
Discussion started by: panchpan
4 Replies
6. Solaris
Hi all,
Kind of an emergency situation, I have to NFS mount an AIX filesystem on to a Sun Solaris OS (5.10).
Typically from Sun to Sun is:
mount -F nfs <remote file system>/dir <mount point>
Which of course doesn't work if the remote file system is another OS (like AIX).
Is there... (1 Reply)
Discussion started by: jeffpas
1 Replies
7. UNIX for Dummies Questions & Answers
Say, we are going to mount a remote file system on our server. I am not too sure about how will data be transferred back to original host when it is written to the mounted FS. Could you please share an article or your knowledge on this?
Thanks in advance;
Stephen W. (2 Replies)
Discussion started by: swmk
2 Replies
8. AIX
Hi all,
Can anyone get the link to download the iso image of AIX as i am new to AIX need to study and work on the concepts of AIX.
Thnx in advance...
VINU:) (3 Replies)
Discussion started by: vinuvinod
3 Replies
9. UNIX for Dummies Questions & Answers
Hi Team ,
Team Can any give me a good explanation of mount file system.:wall:if we have do a df -k it show /var/orcl/abc/txt mounted on /var/orcl.
example :
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 4021876 0 ... (2 Replies)
Discussion started by: kkabc789
2 Replies
10. Red Hat
Hi gurus,
Need your help ,
Am facing some issue with one of the ext3 file system.while rebooting it failed to mount fs after running fsck i tried manuall but still no luck.However i made the machine up but am unable to mount file system can some one please help me.
root@vm258902]~# cat... (2 Replies)
Discussion started by: kapil514
2 Replies
lofs(7FS) File Systems lofs(7FS)
NAME
lofs - loopback virtual file system
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
int mount (const char* dir, const char* virtual, int mflag, lofs, NULL, 0);
DESCRIPTION
The loopback file system device allows new, virtual file systems to be created, which provide access to existing files using alternate
pathnames. Once the virtual file system is created, other file systems can be mounted within it, without affecting the original file sys-
tem. However, file systems which are subsequently mounted onto the original file system are visible to the virtual file system, unless or
until the corresponding mount point in the virtual file system is covered by a file system mounted there.
virtual is the mount point for the virtual file system. dir is the pathname of the existing file system. mflag specifies the mount options;
the MS_DATA bit in mflag must be set. If the MS_RDONLY bit in mflag is not set, accesses to the loop back file system are the same as
for the underlying file system. Otherwise, all accesses in the loopback file system will be read-only. All other mount(2) options are
inherited from the underlying file systems.
A loopback mount of '/' onto /tmp/newroot allows the entire file system hierarchy to appear as if it were duplicated under /tmp/newroot,
including any file systems mounted from remote NFS servers. All files would then be accessible either from a pathname relative to '/' or
from a pathname relative to /tmp/newroot until such time as a file system is mounted in /tmp/newroot, or any of its subdirectories.
Loopback mounts of '/' can be performed in conjunction with the chroot(2) system call, to provide a complete virtual file system to a
process or family of processes.
Recursive traversal of loopback mount points is not allowed. After the loopback mount of /tmp/newroot, the file /tmp/newroot/tmp/newroot
does not contain yet another file system hierarchy; rather, it appears just as /tmp/newroot did before the loopback mount was performed
(for example, as an empty directory).
Examples
lofs file systems are mounted using:
mount -F lofs /tmp /mnt
SEE ALSO
lofiadm(1M), mount(1M), chroot(2), mount(2), sysfs(2), vfstab(4), lofi(7D)
WARNINGS
Loopback mounts must be used with care; the potential for confusing users and applications is enormous. A loopback mount entry in
/etc/vfstab must be placed after the mount points of both directories it depends on. This is most easily accomplished by making the loop-
back mount entry the last in /etc/vfstab.
SunOS 5.10 10 Apr 2001 lofs(7FS)