mianhong@mianhong-desktop:~$ mkfs.ext3 /dev/sda3
mke2fs 1.40.8 (13-Mar-2008)
/dev/sda3 is mounted; will not make a filesystem here!
mianhong@mianhong-desktop:~$ umount -v /dev/sda3
umount: 只有 root 能从 /windows/sda3 卸下 /dev/sda3
mianhong@mianhong-desktop:~$ sudo umount -v /dev/sda3
[sudo] password for mianhong:
/dev/sda3 已卸下
mianhong@mianhong-desktop:~$ mkfs.ext3 /dev/sda3
mke2fs 1.40.8 (13-Mar-2008)
mkfs.ext3: Permission denied while trying to determine filesystem size
mianhong@mianhong-desktop:~$ sudo mkfs.ext3 /dev/sda3
mke2fs 1.40.8 (13-Mar-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
5758976 inodes, 23021568 blocks
1151078 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
703 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
mianhong@mianhong-desktop:~$ sudo mount /dev/sda3 /widows/sda3
mount: 挂载点 /widows/sda3 不存在
mianhong@mianhong-desktop:~$ sudo mount /dev/sda3 /widows
mount: 挂载点 /widows 不存在
mianhong@mianhong-desktop:~$ sudo mount /dev/sda3 /windows/sda3
mianhong@mianhong-desktop:~$ sudo gnome-open /windows/
mianhong@mianhong-desktop:~$