12-09-2013
It might be the mac doing some sort of timeout. I know NFS sometimes is done with an automount so it appears when it's used the same way -- the first try will return a blank ls, anything after will show the contents. The solution is to ls, wait a few seconds for it to attach, and continue.
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Is there an issue with it? (2 Replies)
Discussion started by: Spetnik
2 Replies
2. HP-UX
Hello,
I have the following problem. I made a directory /mnt/appserv and
mounted it on a windows server. The line in /etc/fstab to do this is the following :
winoracle:/environments10g /mnt/appserv cifs defaults 0 0
I have mounted this dir as root-user.
The rights on the directory are... (1 Reply)
Discussion started by: bdb78451
1 Replies
3. IP Networking
I have a Linux server connected to the Internet like so:
Server (66.77.88.130) -> /29 VLAN Gateway (66.77.88.129) -> Core Router (64.0.0.1) -> Internet
If I run a traceroute from my server to an arbitrary site on the internet I get a result like this:
# traceroute some-other-server... (2 Replies)
Discussion started by: ramnet
2 Replies
4. Homework & Coursework Questions
im making c code in linux and im having problems with one command, id should bring up a list but instead id doesnt do nothing, there are no error's, can anyone solve whats wrong ?
void environ()
{
extern char **environ;
int i=0;
for (i = 0; environ !=NULL;i++)
{
... (1 Reply)
Discussion started by: figureout
1 Replies
5. UNIX for Dummies Questions & Answers
Hi Team,
I have a couple of questions. I happen to come across a code like this which i was asked to trouble shoot.
Any idea what these two do?
1.
cat $(file?File doesn't exist);
2.
mydir=/home/user/axa032;
echo $(mydir-/home/a2self);
Can some one help me with this ?
... (2 Replies)
Discussion started by: kinny
2 Replies
6. UNIX for Advanced & Expert Users
I'm trying to compile vim73 with the Motif Toolkit.
./configure --enable-gui=motif
make
./src/vim -g
Vim runs in a window, without the standard toolbar and
menu bar.
I tried to recompile with
./configure --enable-gui=gnome2It compiled with GTK2 toolkit, but still no menubar, nor toolbar.... (0 Replies)
Discussion started by: mghis
0 Replies
7. Emergency UNIX and Linux Support
Hi guys.
I have installed Acronis disk director in windows XP and allocate some free space to install Debian beside fedora.
after completion i rebooted and now grub is in command line mode and does not show the menu list.
(I didn't remove the fedora partition. I just allocate some space from... (1 Reply)
Discussion started by: majid.merkava
1 Replies
8. UNIX for Dummies Questions & Answers
When I do sudo -i isn't that like creating a root login shell session? Why isn't motd displayed? motd=message of the day.
---------- Post updated at 09:54 AM ---------- Previous update was at 09:25 AM ----------
I think I answered it myself, it is only called for remote login sessions, once... (2 Replies)
Discussion started by: glev2005
2 Replies
9. UNIX for Dummies Questions & Answers
Before I did
mount /dev/sdc1 /mnt/ll
xsi ll # ls
xsi ll # cd .
xsi ll # ls
NEWGAME.GM2 install md5sum.txt syslinux.cfg ubnkern
.... (1 Reply)
Discussion started by: Xcislav
1 Replies
LEARN ABOUT FREEBSD
mac_prepare_file_label
MAC_PREPARE(3) BSD Library Functions Manual MAC_PREPARE(3)
NAME
mac_prepare, mac_prepare_type, mac_prepare_file_label, mac_prepare_ifnet_label, mac_prepare_process_label -- allocate appropriate storage for
mac_t
SYNOPSIS
#include <sys/mac.h>
int
mac_prepare(mac_t *mac, const char *elements);
int
mac_prepare_type(mac_t *mac, const char *name);
int
mac_prepare_file_label(mac_t *mac);
int
mac_prepare_ifnet_label(mac_t *mac);
int
mac_prepare_process_label(mac_t *mac);
DESCRIPTION
The mac_prepare family of functions allocates the appropriate amount of storage and initializes *mac for use by mac_get(3). When the result-
ing label is passed into the mac_get(3) functions, the kernel will attempt to fill in the label elements specified when the label was pre-
pared. Elements are specified in a nul-terminated string, using commas to delimit fields. Element names may be prefixed with the '?' char-
acter to indicate that a failure by the kernel to retrieve that element should not be considered fatal.
The mac_prepare() function accepts a list of policy names as a parameter, and allocates the storage to fit those label elements accordingly.
The remaining functions in the family make use of system defaults defined in mac.conf(5) instead of an explicit elements argument, deriving
the default from the specified object type.
mac_prepare_type() allocates the storage to fit an object label of the type specified by the name argument. The mac_prepare_file_label(),
mac_prepare_ifnet_label(), and mac_prepare_process_label() functions are equivalent to invocations of mac_prepare_type() with arguments of
"file", "ifnet", and "process" respectively.
RETURN VALUES
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the
error.
SEE ALSO
mac(3), mac_free(3), mac_get(3), mac_is_present(3), mac_set(3), mac(4), mac.conf(5), maclabel(7)
STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing
list. To join this list, see the FreeBSD POSIX.1e implementation page for more information.
HISTORY
Support for Mandatory Access Control was introduced in FreeBSD 5.0 as part of the TrustedBSD Project. Support for generic object types first
appeared in FreeBSD 5.2.
BSD
August 22, 2003 BSD