AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 396703
Accepted
Steve Bennett
Steve Bennett
Asked: 2012-06-08 17:19:12 +0800 CST2012-06-08 17:19:12 +0800 CST 2012-06-08 17:19:12 +0800 CST

找出自动挂载设备的类型

  • 772

我在一个系统(Ubuntu Precise)上工作,其挂载定义/etc/fstab如下:

/dev/vdb        /mnt    auto    defaults,nobootwait,comment=cloudconfig 0       2

最初我只是想知道它是否是 NFS(由于潜在的 MySQL 锁定问题)。从 来看man mount,不是:

If no -t option is given, or if the auto type is specified, mount will try to guess the desired type.  Mount uses the blkid library for guessing  the
filesystem type; if that does not turn up anything that looks familiar, mount will try to read the file /etc/filesystems, or, if that does not exist,
/proc/filesystems.  All of the filesystem types listed there will be tried, except for those that are labeled "nodev" (e.g., devpts, proc  and  nfs).
If /etc/filesystems ends in a line with a single * only, mount will read /proc/filesystems afterwards.

但是,出于好奇,我怎样才能更多地了解它到底是什么类型的设备?(对于上下文,这是一个在 OpenStack 上运行的虚拟机。该设备是从某处安装的 60Gb 分配 - 但我不知道如何安装。)`

编辑包括这里的答案:

$ mount
/dev/vdb on /mnt type ext3 (rw,_netdev)

$ df -T
/dev/vdb                       ext3        61927420     2936068   55845624   5% /mnt
ubuntu mount fstab automount
  • 1 1 个回答
  • 210 Views

1 个回答

  • Voted
  1. Best Answer
    poige
    2012-06-08T18:18:01+08:002012-06-08T18:18:01+08:00

    你满意df -T /mnt吗?:)

    • 3

相关问题

  • 无法通过 Ubuntu VPN 访问外部网络

  • ubuntu apt-get upgrade - 如何在 shell 中单击确定?

  • VirtualBox 上 Ubuntu 的访客优化技巧 [关闭]

  • 外部硬盘上的 virtualbox 虚拟硬盘驱动器(Vista 主机上的 ubuntu 客户机)

  • 如何在 Ubuntu 上挂载 LVM 分区?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve