vmnt - mathfur/minix GitHub Wiki

呼出元

vnode

概要

  • servers/vfs/vmnt.hにて定義
  • has_many vnode (2種類)

実装

EXTERN struct vmnt {
  int m_fs_e;			/* FS process' kernel endpoint */
  tll_t m_lock;
  comm_t m_comm;
  dev_t m_dev;			/* device number */
  unsigned int m_flags;		/* mount flags */
  struct vnode *m_mounted_on;	/* vnode on which the partition is mounted */
  struct vnode *m_root_node;	/* root vnode */
  char m_label[LABEL_MAX];	/* label of the file system process */
  char m_mount_path[PATH_MAX];	/* path on which vmnt is mounted */
  char m_mount_dev[PATH_MAX];	/* path on which vmnt is mounted */
} vmnt[NR_MNTS(==16)];

コメント