DCMD_F3S_UMOUNT

Unmount a flash filesystem partition

Synopsis:

#include <sys/dcmd_f3s.h>

#define DCMD_F3S_UMOUNT    __DIOT(_DCMD_F3S, F3S_UMOUNT, f3s_name_t)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening the device.
dcmd DCMD_F3S_UMOUNT
dev_data_ptr A pointer to a f3s_name_t structure (see below)
n_bytes sizeof(f3s_name_t)
dev_info_ptr NULL

Description:

This command unmounts a flash filesystem partition.

Input:

A f3s_name_t structure:

typedef struct f3s_name_s
{
  uint32_t status;       /* mount status */
  uint32_t mount_flags;  /* flags for mount */
  uint32_t name_length;  /* length of name */
/*unit8_t name;             root name */
}
f3s_name_t;

Output:

None.

See also:

DCMD_F3S_MOUNT

devctl() in the QNX Neutrino C Library Reference