GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FS_MOUNT(3) FreeBSD Library Functions Manual FS_MOUNT(3)

fs_mount, fs_unmount, —
simplified file system mounting

PDEL Library (libpdel, -lpdel)

#include <pdel/sys/fs_mount.h>

int
fs_mount(const char *path, int flags);

int
fs_unmount(const char *path, int flags);

These functions provide a simplified interface to mount(2) and unmount(2).

fs_mount() attempts to mount the filesystem on the directory path. The device to be mounted must be described in /etc/fstab. The flags are passed unchanged to mount(2).

fs_ummount() attempts to unmount the filesystem mounted on the directory path. The flags are passed unchanged to unmount(2).

fs_mount() and fs_unmount() return 0 if successful, otherwise -1 is returned and errno is set accordingly; see mount(2) for the possible values for errno.

mount(2), libpdel(3)

The PDEL library was developed at Packet Design, LLC. http://www.packetdesign.com/

Archie Cobbs ⟨archie@freebsd.org⟩
April 22, 2002 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.