linux ÃüÁî
linux ¹ÒÔØÃüÁî : Mount
http://www.zhiweinet.com/jiaocheng/2009-02/2602.htm
mount¹ÒÔØÃüÁîʹÓ÷½·¨:
mount -t ÀàÐÍ -o ¹Ò½Ó·½Ê½ Ô´ Ä¿±ê
-t ÏêϸѡÏî
¡¡¡¡¹âÅÌ»ò¹âÅ̾µÏñ£ºiso9660
DOS fat16Îļþϵͳ£ºmsdos
¡¡¡¡Windows 9x fat32Îļþϵͳ£ºvfat
¡¡¡¡Windows NT ntfsÎļþϵͳ£ºntfs
¡¡¡¡Mount WindowsÎļþÍøÂç¹²Ïí£ºsmbfs£¨ÐèÄÚºËÖ§³Ö£© ÍƼöcifs
¡¡¡¡UNIX(LINUX) ÎļþÍøÂç¹²Ïí£ºnfs
-o ÏêϸѡÏî
¡¡¡¡loop£ºÓÃÀ´°ÑÒ»¸öÎļþµ±³ÉÓ²ÅÌ·ÖÇø¹Ò½ÓÉÏϵͳ
¡¡¡¡ro£º²ÉÓÃÖ»¶Á·½Ê½¹Ò½ÓÉ豸
¡¡¡¡rw£º²ÉÓöÁд·½Ê½¹Ò½ÓÉ豸
iocharset£ºÖ¸¶¨·ÃÎÊÎļþϵͳËùÓÃ×Ö·û¼¯
ÖÆ×÷¹âÅ̾µÏñ:
µ±CdromÓйâÅÌʱ: cp /dev/cdrom /home/sunky/mydisk.iso
ÖÆ×÷Ö¸¶¨Ä¿Â¼¾µÏñ: mkisofs -r -J -V newdisk -o /usr/mydisk.iso /root/mydir
ʾÀý:
¹ÒÔØwindowsÎļþ¹²Ïí:
mount -t smbfs -o username=admin,password=8888 //192.168.1.2/c$ /mnt/samba
mount -t cifs -o username=xxx,password=xxx //IP/sharedir /mnt/dir
¹ÒÔØLinuxÎļþ¹²Ïí:
mount -t nfs -o rw 192.168.1.2:/usr/www /usr/www
¹ÒÔØISO¾µÏñ:
mount -o loop -t iso9660 /usr/mydisk.iso /root/vcdrom
¹ÒÔØUSBÒƶ¯Ó²ÅÌ:
mount -t ntfs /dev/sdc1 /root/usb
mount -t vfat /dev/sdb1 /mnt/usb
mount /dev/sdb1 /mnt/usb
¹ÒÔØCDROM:
mount /dev/cdrom /root/cd
È¡Ïû¹ÒÔØ:
umount /dev/cdrom /root/cd
Ïà¹ØÎĵµ£º
ÏÈ
·ÅÒ»¶ÎʾÀý³ÌÐò£¬Õâ¶Î³ÌÐòÎÒÔÚRH9ºÍAS4ϱàÒëͨ¹ý£¬³ÌÐò¹¦ÄܾÍÊÇÓôÓ2.2Äں˼ÓÈëµÄPF_PACKETÐÒé×åÀ´½øÐеײãÊý¾Ý°ü²¶»ñ²¢ÏÔʾ¡£
PF_PACKETÐÒé×åÊÇÓëϵͳTCP/IPÐÒéÕ»²¢ÐеÄͬ¼¶±ðÄ£¿é£¬¼´´ÓPF_PACKETÐÒé×åµÃµ½µÄÊý¾Ý°üÊÇûÓо¹ýϵͳTCP/IPÐÒéÕ»´¦Àí
µÄ¡£¶øÇÒ£¬Í¨¹ýÉèÖûìÔÓģʽ£¬¿ÉÒÔºÜÈÝÒ×µÄʵÏÖsniffe ......
http://blog.csdn.net/unbutun/archive/2009/01/21/3847514.aspx
±¾ÎÄÒÔRedHat9.0ºÍi386ƽ̨ΪÀý£¬ÆÊÎöÁË´ÓÓû§´ò¿ªµçÔ´Ö±µ½ÆÁÄ»³öÏÖÃüÁîÐÐÌáʾ·ûµÄÕû¸öLinuxÆô¶¯¹ý³Ì¡£²¢ÇÒ½éÉÜÁËÆô¶¯ÖÐÉæ¼°µ½µÄ¸÷ÖÖÎļþ¡£
¡¡¡¡ÔĶÁLinuxÔ´´úÂ룬ÎÞÒÉÊÇÉîÈëѧϰLinuxµÄ×îºÃ·½·¨¡£ÔÚ±¾ÎĶÔLinuxÆô¶¯¹ý³ÌµÄ½éÉÜÖУ¬ÎÒÃÇÒ²³¢ÊÔ´ÓÔ´´ú ......
ʲôҲ²»ÒªËµ£¬ÏÈÀ´Ò»¸ö³ÌÐò°É¡£
/*
×¢ÒâÒªºÍÄãµÄϵͳһÖÂredhatÊÇÕâÑù/etc/pam.d/check_user
auth required /lib/security/pam_unix_auth.so
account required /lib/security/pam_unix_acct.so
1.Èç¹ûÐèÒª³öÏÖÃÜÂ뵯³ö¿ò»¹ÐèÒªÔÚÌí¼Ó
/etc/security/console.apps/check_user
USER=root
PROGRAM=~/check_use ......
ÔÚÍêÉÆÎҵĿçƽ̨µÄ·¢ÓʼþÀà¿âʱ£¬select×öÑÓʱwindowsûЧ¹û£¬LinuxÕý³££¬»¹ÒÔΪÎÒ´úÂëд´íÁËÄØ£»ÔÚÍøÉÏËÑËØÏÂҲû·¢ÏÖÀàËÆ˵·¨£¬ÓÚÊÇÎÒ¾ÍдÁ˶ÎС²âÁË£¬¹ûÈ»selectÑÓʱÔÚwindowsÉÏËõË®ÁË
#include <iostream>
#include <time.h>
#ifdef WIN32
#include <winsock2.h>
#pragma comment(lib,"w ......
×î½üÔÚѧϰLinuxϵÄC±à³Ì£¬ÂòÁËÒ»±¾½Ð¡¶Linux»·¾³ÏµÄC±à³ÌÖ¸ÄÏ¡·¶Áµ½makefile¾ÍÔ½¿´Ô½ÃÔºý£¬¿ÉÄÜÊÇÎÒµÄÀí½âÄܲ»ÐС£
ÓÚÊÇgoogleµ½ÁËÒÔÏÂÕâƪÎÄÕ¡£Í¨Ë×Ò׶®¡£È»ºó°ÑËüÌù³öÀ´£¬·½±ãѧϰ¡£
& ......