10-02-2012
It's a symlink. To find the destination, it has to contain it. If the user can't find it, neither can the kernel.
You can do mount --bind /path/to/something /path/to/something/else to attach two folders in a manner ls can't trace though.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I want to add a default path /bin/mycommands along with others to be loaded as default path for all new accounts created on my system . With out the new accounts not having to change thie manually to /bin/mycommands.Do I change the /etc/profile ? is there any better way?
Please throw some... (2 Replies)
Discussion started by: sravusa
2 Replies
2. UNIX for Advanced & Expert Users
Looking for a command which shows the current path of other users.
Similiar to the PWD command.
Need to be able to see which part of the system the user is logged on to.
Thanks
G (1 Reply)
Discussion started by: Gandalf77
1 Replies
3. UNIX for Dummies Questions & Answers
hi...
I have a folder<abc> under /root folder. I want to create a symlink such that when i click on folder<abc> under root, should display my home folder (home/krish).
Immediate inputs appreciated..... (1 Reply)
Discussion started by: rama.honge
1 Replies
4. Shell Programming and Scripting
Hi Forums,
I got a little problem, I made a few modifications to the code of the launch script of a testing server(minecraft) and now updating is broken aswell as the automatic directory creation.
These Lines somehow create an endless symlink that refers to itself and I don't know how to fix... (0 Replies)
Discussion started by: Xaymar
0 Replies
5. Ubuntu
Hi All,
Is there any way to create a symlink that will point to last 1000 line of a log file. My symlink will always point to "tail -1000 logfile".
This can be achieved by writing a script and scheduling with high frequency, but I am looking for some other alternatives.
Please let me know... (8 Replies)
Discussion started by: sussus2326
8 Replies
6. HP-UX
Hello friends,
I need to set PATH variable for all HP-UX users. I tried to implement it using /etc/profile and /etc/sshrc both none of them work.
I don't see sshrc file anywhere.
Please advise!
TIA (4 Replies)
Discussion started by: prvnrk
4 Replies
7. Programming
Hi,
I need to somehow pipe the password to a command and run some SQL, for example, something like echo $password | sqlplus -s system @query01.sql
To make it not so obvious, I decided to try out writing a small C program that basically just do echo $password. So now I just do x9.out | sqlplus... (8 Replies)
Discussion started by: newbie_01
8 Replies
8. UNIX for Dummies Questions & Answers
i would like to remove a directory and also symlink target inside.
my_directory
-- file1 -> /targetpath/file1
-- file2 -> /targetpath/file2
rm -rf my_directory will not remove symlink target.
rm -rf "`readlink -f file1`" will only remove target if specifying the symlink is specified
... (4 Replies)
Discussion started by: lsy
4 Replies
9. Shell Programming and Scripting
I am trying to setup my plex server to use symlinks rather than host the movie files.
in my storage directory, i have both movies(some in subdirectory of the name and some just in the parent directory) and tvshows, which have subdirectories for each season, which contains the episodes
i would... (3 Replies)
Discussion started by: bandion
3 Replies
10. UNIX for Beginners Questions & Answers
I know how to create a symlink but I am getting an error message that the file already exists. Also, my symlink doesn't point from target directory to the path correctly,
Here is an example of the path to my folder structure
path: cd /wkspce/wff/DEV/jobs/DEL
the folder structure is:
... (3 Replies)
Discussion started by: dellanicholson
3 Replies
LEARN ABOUT DEBIAN
vfs_mount
VFS_MOUNT(9) BSD Kernel Developer's Manual VFS_MOUNT(9)
NAME
vfs_mount -- generic file system mount function
SYNOPSIS
#include <sys/param.h>
#include <sys/mount.h>
int
vfs_mount(struct thread *td, const char *fstype, char *fspath, int fsflags, void *fsdata);
DESCRIPTION
The vfs_mount() function handles the generic portion of mounting a file system, and calls the file system specific mount function after veri-
fying its parameters and setting up the structures expected by the underlying mount code.
vfs_mount() is called directly by the mount(2) system call.
Its arguments are:
td The thread responsible for this call.
fstype The type of file system being mounted.
fspath The path to the mount point of the file system.
fsflags Flags controlling the mount. See mount(2) for details.
MNT_EXPORTED, MNT_NOSUID, MNT_UPDATE, MNT_RELOAD, MNT_FORCE, MNT_ASYNC, MNT_SYNCHRONOUS, MNT_UNION, MNT_NOATIME, MNT_SNAPSHOT,
MNT_NOCLUSTERR, MNT_NOCLUSTERW, MNT_IGNORE, MNT_UNION, MNT_NOSYMFOLLOW
fsdata File system specific data structure. It is in userspace when passed to vfs_mount() and is left untouched when passed to file sys-
tem's mount().
RETURN VALUES
A 0 value is returned on success.
ERRORS
[ENAMETOOLONG] The fs type or the mount point path is too long or any individual path component is too long.
[EPERM] Permission denied. There are a number of reason this can occur ranging from the user not having permission to mount a
file system to the securelevel being to high to load the fstype module.
[EINVAL] Invalid operation (ex: trying to update a non mount-point).
[ENOENT] The mount point does not exist (from namei()).
[ELOOP] The mount point is a muddle of links (from namei()).
[EOPNOTSUPP] The operation is not supported (ex: reloading a r/w file system).
[EBUSY] The mount point is busy or is not really a mount point (on update).
[ENOTDIR] The mount point is not a directory.
[ENODEV] The kernel linker was unable to load the specified fstype or was unable to find the specified fstype module.
Other errors can be returned by the file system's mount() and you should check the specific file system for details. Also this call relies
on a large number of other kernel services whose errors it returns so this list may not be exhaustive.
SEE ALSO
mount(2), mount(8)
vfs.usermount
AUTHORS
This manual page was written by Chad David <davidc@acns.ab.ca>.
BSD
November 26, 2004 BSD