[root@FreeBSD ~]#/sbin/mount -t cd9660 /dev/acd0 /cdrom
在/etc/fstab里让系统自动挂载光驱:
[root@FreeBSD ~]#vi /etc/fstab
[root@FreeBSD ~]#more /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1d /usr ufs rw 2 2
/dev/da0s1d /bak ufs rw 1 1
/dev/acd0 /cdrom cd9660 ro,-C=GBK,noauto 0 0
挂接光驱
mount -t cd9660 /dev/acd0 /cdrom
卸载光驱
umount -f /cdrom
挂接USB
mount -t msdos /dev/da0s1 /mnt/usb
卸载USB
umount /dev/da0s1
阅读(7465) | 评论(0) | 转发(0) |