红联Linux门户
Linux帮助

fdisk -l

发布时间:2013-08-06 16:33:24来源:红联作者:419225893@qq.co
fdisk -l 看不到任何信息
文章评论

共有 5 条评论

  1. gh131461 于 2013-12-21 20:13:00发表:

    ..

  2. irongeek 于 2013-08-09 01:21:43发表:

    # fdisk -l

    Disk /dev/sda: 40.0 GB, 40027029504 bytes
    255 heads, 63 sectors/track, 4866 cylinders, total 78177792 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x31363135

  3. yinzinuo 于 2013-08-07 09:25:05发表:

    我用实验证明你用的账户如果是普通账户那么将看不到 fdisk -l 执行结果

    [root@wowoo ~]# su - wowoo
    [wowoo@wowoo ~]$ fdisk -l
    [wowoo@wowoo ~]$ fdisk -l /dev/sda
    Cannot open /dev/sda
    [wowoo@wowoo ~]$ su -
    Password:
    [root@wowoo ~]# fdisk -l

    Disk /dev/sda: 10.7 GB, 10737418240 bytes
    255 heads, 63 sectors/track, 1305 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000be81d

  4. features 于 2013-08-07 08:54:00发表:

    顶上楼

  5. 相思爱文 于 2013-08-06 23:36:40发表:

    用root身份运行,指定磁盘,不要不加参数

    fdisk -l /dev/sda