Sponsored Content
Full Discussion: Normal LOFS behaviour?
Operating Systems Solaris Normal LOFS behaviour? Post 302300039 by blowtorch on Monday 23rd of March 2009 04:23:00 AM
Old 03-23-2009
I tested out on another system (a test box), and this is apparently normal LOFS behaviour.

Q. 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?

A. Yes. To be able to access mountpoint z for a different filesystem that uses either x or y as part of the pathname, z will have to contain the pathname x when it gets mounted. Then you can access it via either /x/z or /y/z.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Lofs

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)
Discussion started by: Lomic
7 Replies

2. UNIX for Advanced & Expert Users

Lofs

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)
Discussion started by: Sowser
7 Replies

3. UNIX for Advanced & Expert Users

auto mount lofs

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)
Discussion started by: mdjuarsa
1 Replies

4. Solaris

lofs

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)
Discussion started by: wrapster
1 Replies

5. Solaris

lofs

Hi all, I am unable to comprehend these instructions. please help if ; then /usr/sbin/mount -O -F lofs $MOE /lib/libc.so.1 Thanks (1 Reply)
Discussion started by: wrapster
1 Replies

6. Solaris

LOFS file system

Hi All, Can you please help me in understanding the lofs file system or point me towards some link which can help ? Thanks (1 Reply)
Discussion started by: kumarmani
1 Replies

7. Solaris

df error for lofs file system in local zone.

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)
Discussion started by: fugitive
7 Replies

8. Solaris

Solaris zones - checking processes and lofs file system

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)
Discussion started by: javanoob
1 Replies

9. Solaris

LOFS in Solaris zone, privileges

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
FINDMNT(8)						      System Manager's Manual							FINDMNT(8)

NAME
findmnt - find a filesystem SYNOPSIS
findmnt [options] findmnt [options] device|mountpoint findmnt [options] [--source] device [--target] mountpoint DESCRIPTION
findmnt will list all mounted filesytems or search for a filesystem. The findmnt command is able to search in /etc/fstab, /etc/fstab.d, /etc/mtab or /proc/self/mountinfo. If device or mountpoint is not given, all filesystems are shown. The command prints all mounted filesystems in the tree-like format by default. OPTIONS
-h, --help Print help and exit. -s, --fstab Search in /etc/fstab and /etc/fstab.d. The output is in the list format (see --list). -m, --mtab Search in /etc/mtab. The output is in the list format (see --list). -k, --kernel Search in /proc/self/mountinfo. The output is in the tree-like format. This is the default. -c, --canonicalize Canonicalize all printed paths. -d, --direction word The search direction - forward or backward. -e, --evaluate Convert all tags (LABEL or UUID) to the device names. -f, --first-only Print the first matching filesystem only. -i, --invert Invert the sense of matching. -l, --list Use the list output format. This output format is automatically enabled if the output is restricted by -t, -O, -S or -T option and the option --submounts is not used. -v, --nofsroot Do not print a [/dir] in the SOURCE column for bind-mounts or btrfs subvolumes. -n, --noheadings Do not print a header line. -u, --notruncate Do not truncate text in columns. The default is to not truncate the TARGET, SOURCE, UUID and LABEL columns. This option disables text truncation also in all other columns. -O, --options list Used to limit the set of printed filesystems. More than one option may be specified in a comma-separated list. The -t and -O options are cumulative in effect. It is different from -t in that each option is matched exactly; a leading no at the beginning of one option does not negate the rest. For more details see mount(8). -o, --output list Define output columns. Currently supported are SOURCE, TARGET, FSTYPE, OPTIONS, VFS-OPTIONS, FS-OPTIONS, LABEL and UUID. The TAR- GET column contains tree formatting if the --list or --raw options are not specified. -r, --raw Use raw output format. -a, --ascii Use ascii characters for tree formatting. -t, --types list Used to limit the set of printed filesystems. More than one type may be specified in a comma-separated list. The list of filesys- tem types can be prefixed with no to specify the filesystem types on which no action should be taken. For more details see mount(8). -R, --submounts Print recursively all submounts for the selected filesystems. The restrictions defined by options -t, -O, -S, -T and --direction are not applied to submounts. All submounts are always printed in tree-like order. The option enables the tree-like output format by default. This option has no effect for --mtab or --fstab. -S, --source spec Explicitly define the mount source. Supported are device, LABEL= or UUID=. -T, --target dir Explicitly define the mount target (mountpoint directory). EXAMPLES
findmnt --fstab -t nfs Prints all nfs filesystems defined in /etc/fstab. findmnt --fstab /mnt/foo Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo. It also prints bind mounts where /mnt/foo is a source. findmnt --fstab --target /mnt/foo Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo. findmnt --fstab --evaluate Prints all /etc/fstab filesystems and converts LABEL= and UUID= tags to the real device names. findmnt -n --raw --evaluate --output=target LABEL=/boot Prints only the mountpoint where the filesystem with label "/boot" is mounted. AUTHORS
Karel Zak <kzak@redhat.com> SEE ALSO
mount(8), fstab(5) AVAILABILITY
The findmnt command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. Version 1.0 Apr 2010 FINDMNT(8)
All times are GMT -4. The time now is 03:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy