6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Could anyone please explain Context Managers in Python with some detailed example or any URL that explains in detail?
Initially tried to get some help from google... but not much satisfied.
Thanks in advance...
Regards,
J (1 Reply)
Discussion started by: scriptscript
1 Replies
2. Shell Programming and Scripting
Heyas
At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it.
EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...).
Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies
3. UNIX for Advanced & Expert Users
I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password=""
mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies
4. Solaris
Hello all, I just discovered something weird in my system, well maybe you already knew it, but it's new for me, i was looking for a file when i ended up in the /opt/sfw folder, and well, first i saw the bin folder, so i entered and discovered a bunch of programs that installed with the companion... (0 Replies)
Discussion started by: sx3v1l_1n51de
0 Replies
5. Linux
Does anyone know of an article, or tutorial concerning the development of a window manager ?
I would like to create my own window manager, and maybe even a small lightweight widget set, but I haven't been able to find any texts containing the theory behind the creation of a new window manager.... (4 Replies)
Discussion started by: NanoSec
4 Replies
6. UNIX for Dummies Questions & Answers
Hi...
question is this:
How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure.
... (4 Replies)
Discussion started by: soulshaker
4 Replies
MOUNT(2) System Calls Manual MOUNT(2)
NAME
mount, umount - mount or umount a file system
SYNOPSIS
#include <unistd.h>
#include <sys/mount.h>
int mount(char *special, char *name, int flag)
int umount(char *name)
DESCRIPTION
Mount() tells the system that the file system special is to be mounted on the file name, effectively overlaying name with the file tree on
special. Name may of any type, except that if the root of special is a directory, then name must also be a directory. Special must be a
block special file, except for loopback mounts. For loopback mounts a normal file or directory is used for special, which must be seen as
the root of a virtual device. Flag is 0 for a read-write mount, 1 for read-only.
Umount() removes the connection between a device and a mount point, name may refer to either of them. If more than one device is mounted
on the same mount point then unmounting at the mount point removes the last mounted device, unmounting a device removes precisely that
device. The unmount will only succeed if none of the files on the device are in use.
Both calls may only be executed by the super-user.
SEE ALSO
mount(1), umount(1).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
MOUNT(2)