Chinaunix首页 | 论坛 | 博客
  • 博客访问: 385720
  • 博文数量: 74
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 695
  • 用 户 组: 普通用户
  • 注册时间: 2009-06-21 17:34
文章分类
文章存档

2011年(1)

2010年(1)

2009年(72)

我的朋友

分类: LINUX

2009-07-09 10:55:53


 
【用户登录】
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel 2.6.18-8.el5 on an i686
login: root
Password:
Last login: Tue Jul  7 19:23:00 from 10.10.10.10
 
【查看设备信息】

[root@mylove /]# fdisk -l

Disk /dev/sda: 72.8 GB, 72838283264 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14      8601  68983110   83  Linux
/dev/sda3          8602      8855   2040255   82  Linux swap
 
Disk /dev/sdb: 4005 MB, 4005560320 bytes
21 heads, 21 sectors/track, 17740 cylinders
Units = cylinders of 441 * 512 = 225792 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1            19     17741   3907648    b  Win95 FAT32
[root@mylove /]#  //*(mount -t msdos /dev/sdb1 /mnt/usb)*//


【光驱挂载】

[root@mylove /]# mount /dev/cdrom /mnt/cdrom
mount: block device /dev/cdrom is write-protected, mounting read-only
[root@mylove /]# ls  /mnt/cdrom
cd.txt            installralus.pl  perl            RALUSx86       uninstallralus      uninstallrams.pl
DOCS              installrams      pkgs            ramsinst.conf  uninstallralus.cmd  VxIF
installralus      installrams.pl   RALUS64         scripts        uninstallralus.pl   winnt
installralus.cmd  messages         ralusinst.conf  tools          uninstallrams


【光驱卸载】

[root@mylove /]#umount /mnt/cdrom


【弹出光盘】
[root@mylove /]#eject
 
【USB挂载】

[root@mylove /]#mkdir mnt/usb
[root@mylove mnt]# mount -t vfat /dev/sdb1 /mnt/usb

阅读(1626) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~