文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>mount函数的使用

mount函数的使用

时间:2006-04-22  来源:sword.ch

   这几天在写关于文件管理方面的程序,需要从usb host上挂载文件系统,用system调用mount程序来实现手工挂载,看了看mount函数。觉着用函数调用要好一些。
int  mount(const  char  *source,  const char *target, const char *filesystemtype, unsigned long mountflags, const void *data);
source :设备 /dev/sda等
target :挂载点/mnt/usb等
*filesystemtype:"minix","ext2", "msdos", "proc", "nfs", "iso9660" ,“vfat”etc.
mountflags:MS_MGC_VAL/还有别的参数,但是不知道什么意思。
×data:例如:”codepage=936,iocharset=cp936“
目前只是知道了些皮毛,正在努力中.....
相关阅读 更多 +
排行榜 更多 +
终极街头格斗

终极街头格斗

休闲益智 下载
大炮轰飞机

大炮轰飞机

飞行射击 下载
像素打僵尸

像素打僵尸

飞行射击 下载