from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209789

userrating:


May 25th. 2007:
Words

486

Views

258781

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

150098

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





ioctl_fat

Section: System Calls (2)
Updated: 202-0-17
Index Return to Main Contents
 

NAME

ioctl_fat - manipulating the FAT filesystem  

LIBRARY

Standard C library (libc,~-lc)  

SYNOPSIS

#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);
 

DESCRIPTION

The ioctl(2) system call can be used to read and write metadata of FAT filesystems that are not accessible using other system calls. The following op values are available.  

Reading and setting file attributes

FAT_IOCTL_GET_ATTRIBUTES(2const)
FAT_IOCTL_SET_ATTRIBUTES(2const)
 

Reading the volume ID

FAT_IOCTL_GET_VOLUME_ID(2const)
 

Reading short filenames of a directory

VFAT_IOCTL_READDIR_BOTH(2const)
VFAT_IOCTL_READDIR_SHORT(2const)
 

RETURN VALUE

On success, a nonnegative value is returned. On error, -1 is returned, and errno is set to indicate the error.  

ERRORS

ENOTTY
The file descriptor fd does not refer to an object in a FAT filesystem.
 

STANDARDS

Linux.  

SEE ALSO

ioctl(2)


 

Index

NAME
LIBRARY
SYNOPSIS
DESCRIPTION
Reading and setting file attributes
Reading the volume ID
Reading short filenames of a directory
RETURN VALUE
ERRORS
STANDARDS
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 13.0 ms