Sponsored Content
Operating Systems Solaris how to install packages into specific dirs!!! Post 302174592 by jlliagre on Tuesday 11th of March 2008 02:10:59 PM
Old 03-11-2008
Actually, a symlink won't work as pkgadd will remove it before installing the files. You can use a lofs mount instead.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to install rpm to specific directory

Hi, For example, I want to install abc.rpm to /abc directory. How can I do that? Please help. (2 Replies)
Discussion started by: beeloo
2 Replies

2. UNIX for Dummies Questions & Answers

how to install new packages when disk space is full

during installation i created four partitions mainly / 5GB /home 1GB /boot 100MB swap 2GB now since i didnt make the /usr partition all of the packages were being installed in the / partition ..now all the space in the / partition is filled ...i ran du -h... (3 Replies)
Discussion started by: tarunicon
3 Replies

3. Solaris

error during install jdk 5.0.11 packages

hi all i tried to install jdk on solaris 10 2008 and i used these packages in installation pkgadd -d SUNWj5cfg SUNWj5dmo SUNWj5dev SUNWj5rt SUNWj5jmp SUNWj5man all was good except one (SUNWj5rt) some of the output ERROR: attribute verification of... (3 Replies)
Discussion started by: maxim42
3 Replies

4. Solaris

Help required to install packages

Hi All, I was told to install multiple packages on my solaris server. Is it possible to install multiple packages from a directory or CD. Or I need to install one by one. Please suggest. Thanks, Deepak (1 Reply)
Discussion started by: naw_deepak
1 Replies

5. Programming

How to install openGL packages?

Hi, Any one help me regarding how to install openGL packages to work in linux. And i installed some of the packages(gl,glu), but i don't know whether they are installed are not .. Which command is should use to check whether openGL is installed are not .. I am Thankful for any kind of... (3 Replies)
Discussion started by: Ravikishore
3 Replies

6. Red Hat

Install Fedora core 10.0 packages

Hello All, I hv installed fedora 10 on my PC. At the time of installation, i skipped some of the other packages. Now i wanted to install the other packages from the DVD. How sholud i install the other packages. My DVD is bootable one which i got thru software magazines. So it contains FC 10 and... (1 Reply)
Discussion started by: phpalerts
1 Replies

7. AIX

How to install a specific OS Patch

Hello everyone: I want to install oracle in AIX 6.1, however the installer requires some patches (IZ41855, IZ51456 and IZ52319) I've downloaded the fixes but I don't know which specific filesets contain the patches I need, how could I determine this? (1 Reply)
Discussion started by: edgarvm
1 Replies

8. UNIX for Dummies Questions & Answers

**HELP** how to do a listing of dirs and all sub dirs only

I am trying to get a listing of ALL directories only under /export (as an example). I can get all the dirs directly under /export but I need any sub dirs under those dirs. I've looked (here and google) but can not find anything that works (4 Replies)
Discussion started by: bbraml
4 Replies

9. Solaris

How to install .p51 packages in Solaris 11.4?

Does anyone know how to install a package that comes in a p5i file in Solaris 11.4? The first thing the Oracle documentation says is to "launch packagemanager". Well they removed packagemanager from 11.4 (and you can't install it yourself). I want a package from... (7 Replies)
Discussion started by: Michele31416
7 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) NOTES
All access to entries in lofs mounted file systems map to their underlying file system. If a mount point is made available in multiple locations via lofs and is busy in any of those locations, an attempt to mount a file system at that mount point fails unless the overlay flag is specified. See mount(1M). Examples of a mount point being busy within a lofs mount include having a file system mounted on it or it being a processes' current working directory. WARNINGS
Because of the potential for confusing users and applications, you should use loopback mounts with care. 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.11 10 Apr 2001 lofs(7FS)
All times are GMT -4. The time now is 06:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy