tar: use utime() to restore timestamps
[minix.git] / servers / vfs / vmnt.h
blob2d3156e5f69ddf250facaf056cf95405056a6d6a
1 #ifndef __VFS_VMNT_H__
2 #define __VFS_VMNT_H__
4 #include "tll.h"
5 #include "comm.h"
7 EXTERN struct vmnt {
8 int m_fs_e; /* FS process' kernel endpoint */
9 tll_t m_lock;
10 comm_t m_comm;
11 dev_t m_dev; /* device number */
12 unsigned int m_flags; /* mount flags */
13 struct vnode *m_mounted_on; /* vnode on which the partition is mounted */
14 struct vnode *m_root_node; /* root vnode */
15 char m_label[LABEL_MAX]; /* label of the file system process */
16 char m_mount_path[PATH_MAX]; /* path on which vmnt is mounted */
17 char m_mount_dev[PATH_MAX]; /* path on which vmnt is mounted */
18 } vmnt[NR_MNTS];
20 /* vmnt flags */
21 #define VMNT_READONLY 01 /* Device mounted readonly */
22 #define VMNT_CALLBACK 02 /* FS did back call */
23 #define VMNT_MOUNTING 04 /* Device is being mounted */
24 #define VMNT_FORCEROOTBSF 010 /* Force usage of none-device */
26 /* vmnt lock types mapping */
27 #define VMNT_READ TLL_READ
28 #define VMNT_WRITE TLL_READSER
29 #define VMNT_EXCL TLL_WRITE
31 #endif