02-22-2012
HI ,
I need only directories from that mount path ,,not sub directory from those folders .thx
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello All,
I have a question that I think I have the answer to but I'm not sure. All the information I get kind of dance around it. Well, my question is if you have NFS running, automount running, with auto_master and auto_home on a server. If a user logs in form cleint machine that has... (3 Replies)
Discussion started by: larry
3 Replies
2. Solaris
Hi,
I have two solaris 10 servers, and I want a directory (test) in server A be accessible in server B.
I searched the web and the concept should be as follows:
Server A:
# share -F nfs /home/nms/test
Server B:
# mount -F nfs serverA:/home/nms/test /home/nms/test
But when I... (1 Reply)
Discussion started by: racbern
1 Replies
3. AIX
Hi guy's, my first post here on the forum :p
I did a quick search here, but did not find a direct hit, so decided to post my question.
I'm taking my first steps into AIX, and right now I'm trying to install some software that I've downloaded as a zip file, and have this extracted into a mounted... (1 Reply)
Discussion started by: psyduck
1 Replies
4. UNIX for Dummies Questions & Answers
folks;
I have 3 similar Linux SUSE 10 servers A, B & C
I log as root and when i'm on B server & try to mount a directory on A server it works fine, but when i try to mount the same directory when i'm on C it doesn't and i get this error:
Server C# mount 172.32.5.2:/var/local/export/... (4 Replies)
Discussion started by: Katkota
4 Replies
5. UNIX for Dummies Questions & Answers
Question 1) I have directory /home/userme/reports on server 1 and I want to mount that directory anywhere on server 2. How do I make this happen?
Question 2) Server 2 is behind a firewall and server 1 is public...by mounting server 1 on server 2 do I compromise the security of server 2? (3 Replies)
Discussion started by: vincaStar
3 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
I am very new to Linux. I have just started preparation for RHCE.
Can anybody pls tell me the meaning of mount a file or directory.
When we mount particular file at that time what exactly we do with the file. (2 Replies)
Discussion started by: kunalpatil09
2 Replies
7. Red Hat
Greetings,
I have an rsync server that is unable to change the timestamp on any directories inside of cifs mounts. The same thing happens on all of my red hat machines. These machines are all patched, touch -t works on directories inside any other filesystem including NFS mounts.
This is... (0 Replies)
Discussion started by: Create
0 Replies
8. Linux
For my backup , I mount and external hard disk to /mnt/mybackup and then I do an rsync to /mnt/mybackup
If for some reason the rsync fails, I want to prevent it from writing data on the server hard disk itself since the external hard disk will no longer be mounted on it.
I want /mnt/mybackup... (8 Replies)
Discussion started by: coolatt
8 Replies
9. UNIX for Beginners Questions & Answers
guys i would like to know can we have 2 mount point which is same name but on different directory? (3 Replies)
Discussion started by: leecopper
3 Replies
mkdirp(3G) mkdirp(3G)
NAME
mkdirp(), rmdirp() - create, remove directories in a path
SYNOPSIS
DESCRIPTION
creates all the missing directories in the given path with the given mode (see chmod(2) for the values of mode.) The protection part of
the mode argument is modified by the process's file creation mask (see umask(2)).
rmdirp removes directories in path d. This removal starts at the end of the path and moves back toward the root as far as possible. If an
error occurs, the remaining path is stored in d1. returns a 0 only if it is able to remove every directory in the path.
To use these interfaces, link in the libgen library by specifying For example:
RETURN VALUE
If a needed directory cannot be created, returns -1 and sets to one of the error numbers. If all the directories are created, or existed
to begin with, it returns zero.
EXAMPLES
WARNINGS
uses to allocate temporary space for the string.
returns if a "" or "" is in the path. It returns if an attempt is made to remove the current directory. If an error occurs other than one
of these two errors, returns
SEE ALSO
chmod(2), mkdir(2), rmdir(2), umask(2), thread_safety(5).
mkdirp(3G)