submountd.h

来自「linux下mount各种文件系统的程序submount的源代码」· C头文件 代码 · 共 48 行

H
48
字号
/***************************************************************************                           submountd.h                             -------------------    begin                : Wed May 14 12:29:05 EDT 2003    copyright            : (C) 2003-2004 by Eugene S. Weiss    email                : eweiss@sbcglobal.net ***************************************************************************//*************************************************************************** *                                                                         * *   This program is free software; you can redistribute it and/or modify  * *   it under the terms of the GNU General Public License as published by  * *   the Free Software Foundation; either version 2 of the License, or     * *   (at your option) any later version.                                   * *                                                                         * ***************************************************************************/#define MOUNT_LIST "/proc/mounts"#ifndef SPINUP_DELAY#define SPINUP_DELAY 2#endif#ifndef INTERVAL#define INTERVAL 1#endifchar *do_guess_fstype(const char *device);struct fs_options {	char *name;	int iocharset;	int umask;	int uid;};struct mount_params {	char *device;	char *mountpoint;	char *fstype;	char *options;	unsigned long flags;};#define ERR(arguments...) \syslog(LOG_ERR,arguments)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?