I need your help. I am at a new place, just trying to understand what's going on here. When I do df -h, I see many mounts. But most of them are automount, how do I find the real location?
When I go to /home, I see all the directory but that's automap. I can't create any directory. I need the real location, I also tried the /vol /vol/homet2/xyz.... but it doesn't work either.
Please let me know what I am missing here... Thanks.
I understood using "file core" to find out the name of program causes the core file, like the result of "file core" command shows "core: XML", but I have no clue how to implement this in script in order to find out any core file is a real core file? not like a ASCII core file or some file else, can... (0 Replies)
Guys;
I first I thank you for helping me few times in the past;
A job runs every day at 8AM and looks for a file “abcd.txt” in directory “/usr/task/tmp”. How to find the job and its location. I need to change the file name to “abcd.dat”. it is UNIX environment. (2 Replies)
Hi,
Well my title isn't very clear I think. So to understand my goal:
I have a script "test1"
#!/bin/bash
xvkbd -text blabla
with xbindkeys, I bind F5 key in order it runs my test1 script
So when I press F5, test1 runs.
I'm under Emacs/Vi and I press F5 in order to have "blabla" be... (0 Replies)
Hi,
On the server, we have app log files in this location /app/logs/error.log
On the same server, in a real time, we would like to replicate that into /var/ directory.
if someone has already done this, please share the script.
Thanks in advance. (4 Replies)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
Hello All,
Can someone please help me out in creating the find command to search and delete files older than 1 days at a desired location.
Thanks in advance for your help. (3 Replies)
Hi guys
we have come corrected errors and i would like to know where is cpu 23 located physicaly... :(
here the lscpu output (2 socket, 6 cores intel cpu):
# lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): ... (1 Reply)
I'm trying to remotely probe a range of IP addresses. First I need a list of IP addresses for a very small geographic area. I've had a lot of trouble obtaining them. I would like to find a database or something.
Suppose I do get the data. Can I see if that IP address is in use by someone? Can I... (2 Replies)
Hello All,
Was recently working on an requirement where we have to search files more than a specific number, following is the example on same.
Let's say file names are test_40000.txt,test_40001.txt and so on till test_99999.txt.
Now requirement was to search from find command only those... (1 Reply)
Discussion started by: RavinderSingh13
1 Replies
LEARN ABOUT FREEBSD
automount
AUTOMOUNT(8) BSD System Manager's Manual AUTOMOUNT(8)NAME
automount -- update autofs mounts
SYNOPSIS
automount [-D name=value] [-L] [-c] [-f] [-o options] [-v] [-u]
DESCRIPTION
When called without options, the automount command parses the auto_master(5) configuration file and any direct maps that it references, and
mounts or unmounts autofs(4) filesystems to match. These options are available:
-D Define a variable. It is only useful with -L.
-L Do not mount or unmount anything. Instead parse auto_master(5) and any direct maps, then print them to standard output. When specified
more than once, all the maps, including indirect ones, will be parsed and shown. This is useful when debugging configuration problems.
-c Flush caches, discarding possibly stale information obtained from maps and directory services.
-f Force unmount, to be used with -u.
-o Specify mount options to be used along with the ones specified in the maps. It is only useful with -L.
-u Try to unmount filesystems mounted by automountd(8). autofs(5) mounts are not unmounted. To unmount all autofs mounts, use umount -At
autofs.
-v Increase verbosity.
EXIT STATUS
The automount utility exits 0 on success, and >0 if an error occurs.
EXAMPLES
Unmount all filesystems mounted by automountd(8):
automount -u
SEE ALSO auto_master(5), autofs(5), automountd(8), autounmountd(8)HISTORY
The automount command appeared in FreeBSD 10.1.
AUTHORS
The automount was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation.
BSD November 22, 2014 BSD