I've got one directory LOFS mounted on top of another (this is to help move from an older standard that we used to follow to a newer one that we will be).
Something like this:
Now,
which is fine.
But,
The thing to note here is that /app/dbatools is a separate filesystem as opposed to just being a directory.
The DBAs have scripts that are referring to /x/dbatools and expecting to find other scripts/commands to execute under that directory, and the lack of any directory structure under /x/dbatools is causing them to fail.
Is this normal behaviour for LOFS mounted filesystems? If I mount x on top of y, and create a mountpoint z that uses x as part of the directory name, will I not be able to access the mountpoint z by using y as part of the directory name?
Hi gang!
I've just tried to build a Loopback FS, and I used the option "ro" not knowing what it was meaning, as in the example I have for this feature...
mount -F lofs -o ro /my_rep /my_image_rep
and of course now I'm stuck with my LOFS which is read-only... not really what I want to have... (7 Replies)
Does anyone use lofs (loopback file systems)? I'm not looking for any deep details, but are there actually any advantages to using lofs? If anyone knows, what are the basic advantages?
Thanks.
-S (7 Replies)
Hi All,
I want to mount one directory to other.
i.e /export/home/dju to /dju
It's like a link ( link -s ). but I don't want to use this( link method ) .
I try to use : mount -F lofs /export/home/dju /dju
the question is,
how do I use this mount method with automount ,... (1 Reply)
hi all,
I was going through the /lib/svc/methods/fs-root file
and found this command
/usr/sbin/mount -O -F lofs $MOE /lib/libc.so.1
can anyone please explain to me what it does.
i know what lofs does what lib.so.1 and what mount is , but am not able to interpret it as its written in the... (1 Reply)
I 've a zone which is running oracle db instance. We have exported the SAN file system from the global zone as following
fs:
dir: /oradb
special: /oradb
raw not specified
type: lofs
options:
from global zone
#df -h | grep oradb... (7 Replies)
Hi all,
q1) If i am in a global-zone, is there any command or anyway to check if a particular process in "ps -ef" output is running in which zone ?
q2) if i have created and mount a lofs filesystem/mountpoint for my non-global zone, can i say the following
e.g.
/dev/md/dsk/d60 /data --... (1 Reply)
Hi all
Can i check, if I have a lofs filesystem in my local zone (myzone) for - e.g.
global-zone -> /db/myzone (/dev/dsk/c0t0d0s6 ufs)
myzone-> /myzone (lofs filesystem)
zonecfg -z myzone
(add fs
set dir=/myzone
set special=/db/myzone
set type=lofs
)q1) If I have install... (0 Replies)
Discussion started by: javanoob
0 Replies
LEARN ABOUT POSIX
libbash
LIBBASH(7) libbash Manual LIBBASH(7)NAME
libbash -- A bash shared libraries package.
DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may
want to load and use in scripts of your own.
It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries.
Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded
using
ldbash(1) must answer 4 requirments:
1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash).
2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library
exports. I.e. all the function that will be usable after loading that library will be listed in that line.
3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are
required for our library. I.e. every bash library that is in use in our bash library must be listed there.
4. The library must be listed (For more information, see ldbashconfig(8)).
Basic guidelines for writing library of your own:
1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions.
2. Try to declare all variables intended for internal use as local.
3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with:
__<library_name>_
For example, internal function myfoosort of hashstash library should be named as
__hashstash_myfoosort
This helps to avoid conflicts in global name space when using libraries that come from different vendors.
4. See html manual for full version of this guide.
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <ril@ran4.net>
SEE ALSO ldbash(1), ldbashconfig(8), getopts(1), hashstash(1)colors(1)messages(1)urlcoding(1)locks(1)Linux Epoch Linux