10 More Discussions You Might Find Interesting
1. Emergency UNIX and Linux Support
When I am trying to mount my windows partitions in REDHAT Enterprise Linux 5 using these command
mount -t ntfs-3g /dev/sda1 /mnt/ntfs
I have encountered with the problem mentioned below
FATAL: Module fuse not found.
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
I have... (3 Replies)
Discussion started by: dearanik
3 Replies
2. Red Hat
Need a little help here.
I am having trouble mounting an NTFS volume in RHEL5, here are the commands.
root # mount -t ntfs-3g /dev/sda1 /media/my-volume
FATAL: Module fuse not found.
ntfs-3g-mount: fuse device is missing, try 'modprobe fuse' as root
root # modprobe fuse
FATAL: Module fuse... (5 Replies)
Discussion started by: etcpasswd
5 Replies
3. Filesystems, Disks and Memory
Just some info about my hard drive setup. I have a 150GB WD Raptor X as my boot drive with partitions for Ubuntu and Windows. I have 500GB hard drive for my home partition (mainly to keep my movie and music collections since the Raptor is too small) and I also have an external 500GB hard drive... (0 Replies)
Discussion started by: pyroguysf
0 Replies
4. SCO
Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies
5. OS X (Apple)
Does anyone know an easy way to mount an NTFS (NT File System) external backup drive R/W on OSX?
I use one backup drive for both my XP and OSX files via a USB interface.
On XP it mounts R/W.
On OSX it mounts Read Only :-(
I'm growing weary of using flash drives and burning CDs to... (4 Replies)
Discussion started by: Neo
4 Replies
6. BSD
I'm having problem mounting ext3 & ntfs partitions on my PC-BSD OS.
Can anyone please help me out here.
What are the changes required to be done in fstab??
Are there any patches to be installed?? (1 Reply)
Discussion started by: void_man()
1 Replies
7. UNIX for Advanced & Expert Users
Just inherited a windows server to support. Windows 2003 Enterprise edition
I can view driver / folders on the windows NTFS volume by mapping a drive from my windows laptop..
Can I mount this from a unix server also?
I heard you can use Microsoft Services for Network File System... (3 Replies)
Discussion started by: frustrated1
3 Replies
8. Red Hat
I'm currently running dual boot Linux & Windows. Linux is Fedora core 3. I've downloaded and installed the rmp that was needed so that I could mount a NTFS filesystem. But when I go to mount the filesystem I'm still getting error's stating it does not support the NTFS filesystem.
Also the... (9 Replies)
Discussion started by: woofie
9 Replies
9. Filesystems, Disks and Memory
can someone help tell me how to mount NTFS drive in redhat 7.1
1. is this correct ?
dev/hda1 mnt/c ntfs-t defaults 0 0
2.is the mount file etc/fstab
thanking you all
... (3 Replies)
Discussion started by: immanuelgangte
3 Replies
10. UNIX for Advanced & Expert Users
Hi all,
I wonder if there is any possibility to mount NTFS or FAT32 from remote Windows* machine to, let's say, OpenBSD or RedHat??? Like Samba, but reverse.
Thank you all. (6 Replies)
Discussion started by: solvman
6 Replies
CURLOPT_UNIX_SOCKET_PATH(3) curl_easy_setopt options CURLOPT_UNIX_SOCKET_PATH(3)
NAME
CURLOPT_UNIX_SOCKET_PATH - set Unix domain socket
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UNIX_SOCKET_PATH, char *path);
DESCRIPTION
Enables the use of Unix domain sockets as connection endpoint and sets the path to path. If path is NULL, then Unix domain sockets are dis-
abled. An empty string will result in an error at some point, it will not disable use of Unix domain sockets.
When enabled, curl will connect to the Unix domain socket instead of establishing a TCP connection to a host. Since no TCP connection is
created, curl does not need to resolve the DNS hostname in the URL.
The maximum path length on Cygwin, Linux and Solaris is 107. On other platforms it might be even less.
Proxy and TCP options such as CURLOPT_TCP_NODELAY(3) are not supported. Proxy options such as CURLOPT_PROXY(3) have no effect either as
these are TCP-oriented, and asking a proxy server to connect to a certain Unix domain socket is not possible.
The application does not have to keep the string around after setting this option.
DEFAULT
Default is NULL, meaning that no Unix domain sockets are used.
PROTOCOLS
All protocols except for file:// and FTP are supported in theory. HTTP, IMAP, POP3 and SMTP should in particular work (including their
SSL/TLS variants).
EXAMPLE
Given that you have an nginx server running, listening on /tmp/nginx.sock, you can request a HTTP resource with:
curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, "/tmp/nginx.sock");
curl_easy_setopt(curl_handle, CURLOPT_URL, "http://localhost/");
If you are on Linux and somehow have a need for paths larger than 107 bytes, you could use the proc filesystem to bypass the limitation:
int dirfd = open(long_directory_path_to_socket, O_DIRECTORY | O_RDONLY);
char path[108];
snprintf(path, sizeof(path), "/proc/self/fd/%d/nginx.sock", dirfd);
curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, path);
/* Be sure to keep dirfd valid until you discard the handle */
AVAILABILITY
Since 7.40.0.
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO
CURLOPT_OPENSOCKETFUNCTION(3), unix(7),
libcurl 7.54.0 December 21, 2016 CURLOPT_UNIX_SOCKET_PATH(3)