#include <hiker/types.h>
#include <hiker/volumesvcs_types.h>
#include <fcntl.h>
Go to the source code of this file.
Functions | |
| alp_status_t | alp_volumesvcs_bind (const gchar *name, const gchar *path) |
| Mount a directory as if it were a file system (bind mounts) This entry will be assgined a udi which may be looked up in fsinfo and explicitly umounted but the entry can not be removed until the volumesvcsd server is restarted. | |
| alp_status_t | alp_volumesvcs_check_disk_free_space (guint64 requested_size, gboolean dialog_on_error) |
| Check Disc Free Space. The Free space is cheked on the disc if available free space is less than the defined buffer free space then return error and show a attention dialog if required. | |
| alp_status_t | alp_volumesvcs_fallocate (int fd, off_t offset, off_t len, const char *file_path) |
| Allocate space for file. The purpose of the function is to allocate enough storage so that future writes to the file in the range [offset,offset+len] cannot fail because the storage device has no room. | |
| alp_status_t | alp_volumesvcs_fsinfo_array (AlpVolumeSvcsKind kind, GArray **fsinfo_array) |
| Get information on all pluggable devices and any mounted file systems on them. | |
| alp_status_t | alp_volumesvcs_fsinfo_array_free (GArray *fsinfo_array) |
| Free the array of AlpVolumeSvcsFSinfo struct's. | |
| alp_status_t | alp_volumesvcs_fsinfo_for_udi (AlpVolumeSvcsFSinfo **fsinfo, const gchar *udi) |
| Allocates and returns an AlpVolumeSvcsFSinfo* matching the _udi parameter passed in. | |
| alp_status_t | alp_volumesvcs_fsinfo_free (AlpVolumeSvcsFSinfo *fsinfo) |
| Frees AlpVolumeSvcsFSinfo* allocated by alp_volumesvcs_fsinfo_for_udi(). | |
| alp_status_t | alp_volumesvcs_fstypes (GPtrArray **fstypes) |
| return a list of filesystem types that may be used as input to alp_volumesvcs_makefs Other formats MAY be supported for mounting a pre-formated volume, but only these may be used to format a volume ON the ALP device. | |
| alp_status_t | alp_volumesvcs_makefs (const gchar *device_udi, const gchar *name, const gchar *fstype) |
| Initialzie a volume, Create a 1 part partition table and make a msdos file system in it. | |
| alp_status_t | alp_volumesvcs_mount (const gchar *device_udi) |
| Mount a volume. | |
| alp_status_t | alp_volumesvcs_rename_volume (const char *udi, const gchar *name) |
| Reanme a volume. The volume name (part of the vfat format) is changed. The volume can be mounted or unmounted when the call is made. If mounted it will be UNmounted as part of the call. The renamed volume is always mounted on return from this call (barrying errors that prevent such). | |
| alp_status_t | alp_volumesvcs_umount (const gchar *device_udi) |
| UNmount a volume. | |
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.