/l3/users/02-04-2007/nt-ladm/linux1.net.nt/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 |
|
#cd /usr/src/sys/
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls
Makefile compat gdb kern netinet nfs posix4 vm alpha conf geom libkern netinet6 nfs4client powerpc amd64 contrib gnu modules netipsec nfsclient rpc arm crypto i386 net netipx nfsserver security boot ddb i4b net80211 netkey opencrypto sparc64 bsm dev ia64 netatalk netnatm pc98 sys cam doc isa netatm netncp pccard tools coda fs isofs netgraph netsmb pci ufs |
#cd i386/
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls
Makefile bios conf i386 include linux svr4 acpica compile cpufreq ibcs2 isa pci xbox |
#ls co
compile/ conf/ |
#ls conf/
.cvsignore GENERIC Makefile PAE XBOX DEFAULTS GENERIC.hints NOTES SMP |
#cp co
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. compile/ conf/ --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cp conf/GENERIC ~/MY
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#vim ~/MY
|
#kldload snd_driver
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#dmesg
plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] ... acd0: DVDROM <JLMS DVD-ROM LTD-166S/DS0B> at ata1-slave UDMA40 Trying to mount root from ufs:/dev/ad1s1a drmsub0: <Intel i845G GMCH>: (child of agp_i810.c) on agp0 info: [drm] AGP at 0xd0000000 128MB info: [drm] Initialized i915 1.4.0 20060119 pcm0: <Intel ICH4 (82801DB)> port 0xe000-0xe0ff,0xe400-0xe43f mem 0xde081000-0xde0811ff,0xde082000-0xde0820ff irq 17 at device 31.5 on pci0 pcm0: primary codec not ready! pcm0: <Avance Logic ALC200 AC97 Codec> --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cat /dev/sndstat
uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <Intel ICH4 (82801DB)> at io 0xde081000, 0xde082000 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls -l /boot/
uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. GENERIC/ boot0 boot2 device.hints loader loader.help modules/ support.4th beastie.4th boot0sio cdboot frames.4th loader.4th loader.rc pxeboot boot boot1 defaults/ kernel/ loader.conf mbr screen.4th --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls -l /boot/modules/
total 0 |
#ls -l /boot/kernel/
-r-xr-xr-x 1 root wheel 8320 16 ÎÏÑ 07:18 ng_rfc1490.ko -r-xr-xr-x 1 root wheel 16101 16 ÎÏÑ 07:18 ng_socket.ko -r-xr-xr-x 1 root wheel 10387 16 ÎÏÑ 07:18 ng_source.ko -r-xr-xr-x 1 root wheel 4847 16 ÎÏÑ 07:18 ng_split.ko -r-xr-xr-x 1 root wheel 8996 16 ÎÏÑ 07:18 ng_sppp.ko -r-xr-xr-x 1 root wheel 14781 16 ÎÏÑ 07:18 ng_sscfu.ko -r-xr-xr-x 1 root wheel 75244 16 ÎÏÑ 07:18 ng_sscop.ko -r-xr-xr-x 1 root wheel 21007 16 ÎÏÑ 07:18 ng_sync_ar.ko -r-xr-xr-x 1 root wheel 23031 16 ÎÏÑ 07:18 ng_sync_sr.ko -r-xr-xr-x 1 root wheel 9723 16 ÎÏÑ 07:18 ng_tag.ko ... -r-xr-xr-x 1 root wheel 9979 16 ÎÏÑ 07:18 vpd.ko -r-xr-xr-x 1 root wheel 20259 16 ÎÏÑ 07:18 vpo.ko -r-xr-xr-x 1 root wheel 7481 16 ÎÏÑ 07:18 warp_saver.ko -r-xr-xr-x 1 root wheel 122657 16 ÎÏÑ 07:18 wlan.ko -r-xr-xr-x 1 root wheel 8401 16 ÎÏÑ 07:18 wlan_acl.ko -r-xr-xr-x 1 root wheel 25161 16 ÎÏÑ 07:18 wlan_ccmp.ko -r-xr-xr-x 1 root wheel 13354 16 ÎÏÑ 07:18 wlan_tkip.ko -r-xr-xr-x 1 root wheel 8498 16 ÎÏÑ 07:18 wlan_wep.ko -r-xr-xr-x 1 root wheel 3881 16 ÎÏÑ 07:18 wlan_xauth.ko -r-xr-xr-x 1 root wheel 34454 16 ÎÏÑ 07:18 zlib.ko |
#ls -l /boot/kernel/sn
snake_saver.ko snd_cmi.ko snd_ds1.ko snd_fm801.ko snd_mss.ko snd_sbc.ko snd_via8233.ko snd_ad1816.ko snd_cs4281.ko snd_emu10k1.ko snd_ich.ko snd_neomagic.ko snd_solo.ko snd_via82c686.ko snd_als4000.ko snd_csa.ko snd_es137x.ko snd_maestro.ko snd_sb16.ko snd_t4dwave.ko snd_vibes.ko snd_atiixp.ko snd_driver.ko snd_ess.ko snd_maestro3.ko snd_sb8.ko snd_uaudio.ko snp.ko |
#ls -l /boot/kernel/snd*
-r-xr-xr-x 1 root wheel 16854 16 ÎÏÑ 07:18 /boot/kernel/snd_ad1816.ko -r-xr-xr-x 1 root wheel 18019 16 ÎÏÑ 07:18 /boot/kernel/snd_als4000.ko -r-xr-xr-x 1 root wheel 19844 16 ÎÏÑ 07:18 /boot/kernel/snd_atiixp.ko -r-xr-xr-x 1 root wheel 17312 16 ÎÏÑ 07:18 /boot/kernel/snd_cmi.ko -r-xr-xr-x 1 root wheel 18722 16 ÎÏÑ 07:18 /boot/kernel/snd_cs4281.ko -r-xr-xr-x 1 root wheel 30846 16 ÎÏÑ 07:18 /boot/kernel/snd_csa.ko -r-xr-xr-x 1 root wheel 10069 16 ÎÏÑ 07:18 /boot/kernel/snd_driver.ko -r-xr-xr-x 1 root wheel 46031 16 ÎÏÑ 07:18 /boot/kernel/snd_ds1.ko -r-xr-xr-x 1 root wheel 27423 16 ÎÏÑ 07:18 /boot/kernel/snd_emu10k1.ko -r-xr-xr-x 1 root wheel 26027 16 ÎÏÑ 07:18 /boot/kernel/snd_es137x.ko ... -r-xr-xr-x 1 root wheel 68822 16 ÎÏÑ 07:18 /boot/kernel/snd_neomagic.ko -r-xr-xr-x 1 root wheel 17230 16 ÎÏÑ 07:18 /boot/kernel/snd_sb16.ko -r-xr-xr-x 1 root wheel 15738 16 ÎÏÑ 07:18 /boot/kernel/snd_sb8.ko -r-xr-xr-x 1 root wheel 15557 16 ÎÏÑ 07:18 /boot/kernel/snd_sbc.ko -r-xr-xr-x 1 root wheel 19685 16 ÎÏÑ 07:18 /boot/kernel/snd_solo.ko -r-xr-xr-x 1 root wheel 18757 16 ÎÏÑ 07:18 /boot/kernel/snd_t4dwave.ko -r-xr-xr-x 1 root wheel 36042 16 ÎÏÑ 07:18 /boot/kernel/snd_uaudio.ko -r-xr-xr-x 1 root wheel 21758 16 ÎÏÑ 07:18 /boot/kernel/snd_via8233.ko -r-xr-xr-x 1 root wheel 15947 16 ÎÏÑ 07:18 /boot/kernel/snd_via82c686.ko -r-xr-xr-x 1 root wheel 18739 16 ÎÏÑ 07:18 /boot/kernel/snd_vibes.ko |
#kld
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. kldconfig kldload kldstat kldunload kldxref --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#kldstat
7 1 0xc6d69000 2000 snd_driver.ko 8 1 0xc6d6b000 5000 snd_vibes.ko 9 29 0xc6d70000 1c000 sound.ko 10 1 0xc6d94000 4000 snd_via82c686.ko 11 1 0xc6d98000 5000 snd_via8233.ko 12 1 0xc6d9d000 4000 snd_t4dwave.ko 13 1 0xc6da1000 5000 snd_solo.ko 14 4 0xc6da6000 4000 snd_sbc.ko 15 1 0xc6daa000 4000 snd_sb8.ko 16 1 0xc6dbf000 4000 snd_sb16.ko ... 25 1 0xc6e1f000 6000 snd_emu10k1.ko 26 1 0xc6e25000 b000 snd_ds1.ko 27 2 0xc6e30000 6000 snd_csa.ko 28 1 0xc6e36000 5000 snd_cs4281.ko 29 1 0xc6e3b000 4000 snd_cmi.ko 30 1 0xc6e3f000 5000 snd_atiixp.ko 31 1 0xc6e44000 4000 snd_als4000.ko 32 1 0xc6e58000 4000 snd_ad1816.ko --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#apropos modules | grep info
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. openpam_borrow_cred(3), openpam_free_data(3), openpam_free_envlist(3), openpam_get_option(3), openpam_log(3), openpam_nullconv(3), openpam_readline(3), openpam_restore_cred(3), openpam_set_option(3), openpam_ttyconv(3), pam_error(3), pam_get_authtok(3), pam_info(3), pam_prompt(3), pam_setenv(3), pam_verror(3), pam_vinfo(3), pam_vprompt(3) - Pluggable Authentication Modules Library --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#apropos modules | less
|
#whatis kldload
kldload(2) - load KLD files into the kernel kldload(8) - load a file into the kernel |
#man kldload
|
#ls
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. Makefile bios conf i386 include linux svr4 acpica compile cpufreq ibcs2 isa pci xbox --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cd conf
|
#ls
.cvsignore GENERIC Makefile PAE XBOX DEFAULTS GENERIC.hints NOTES SMP |
#grep snd* GENERIC.hints
Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. hint.sn.0.at="isa" hint.sn.0.disabled="1" hint.sn.0.port="0x300" hint.sn.0.irq="10" --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#grep snd* GENERIC.hints
|
#grep snd* DEFAULTS
|
#grep snd_ich DEFAULTS
|
#grep -r snd_ich .
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. ./XBOX:device snd_ich # nForce audio --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls XBOX
XBOX |
#ls -l XBOX
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. -rw-r--r-- 1 root wheel 3389 23 Á×Ç 2006 XBOX --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmerâs Manual MOUNT(8) |
#ls -l XBOX/
ls: XBOX/: Not a directory |
#ls
.cvsignore GENERIC Makefile PAE XBOX DEFAULTS GENERIC.hints NOTES SMP |
#file XBOX
XBOX: ASCII English text |
#vim XBOX
|
#grep snd GENERIC
|
#ls
.cvsignore GENERIC Makefile PAE XBOX DEFAULTS GENERIC.hints NOTES SMP |
#make LINT
^[[3~cat ../../conf/NOTES NOTES | sed -E -n -f ../../conf/makeLINT.sed > LINT |
#ls
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. .cvsignore GENERIC LINT NOTES SMP DEFAULTS GENERIC.hints Makefile PAE XBOX --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#grep snd_ich LINT
device snd_ich |
#vim ~/MY
|
#pwd
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. /usr/src/sys/i386/conf --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cd /usr/src/
|
#make buildkernel KERNCONF=/root/MY
setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. ERROR: Missing kernel configuration file(s) (/root/MY). *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#vim ~/MY
|
#echo $HO
$HOME $HOSTNAME $HOSTTYPE |
#echo $HOME
/root |
#ls -l /root/
total 47850 -rw-r--r-- 1 root wheel 1126 6 ÄÅË 2003 .Xresources -rw-r--r-- 1 root wheel 5335 5 ÁÐÒ 12:42 .bash_history -rw-r--r-- 1 root wheel 24 6 ÄÅË 2003 .bash_logout -rw-r--r-- 1 root wheel 318 2 ÁÐÒ 07:17 .bash_profile -rw-r--r-- 1 root wheel 181 2 ÁÐÒ 07:17 .bashrc -rw-r--r-- 2 root wheel 210 6 ÄÅË 2003 .cshrc drwx------ 2 root wheel 512 6 ÄÅË 2003 .gconfd drwxr-xr-x 2 root wheel 512 6 ÄÅË 2003 .gnome drwxr-xr-x 2 root wheel 512 17 ÄÅË 2003 .gstreamer ... -rw-r--r-- 1 root wheel 10745 5 ÁÐÒ 13:31 MY -rw-r--r-- 1 root wheel 0 5 ÁÐÒ 10:21 a -rw-r--r-- 1 root wheel 0 5 ÁÐÒ 10:21 b -rw-r--r-- 1 root wheel 0 5 ÁÐÒ 10:21 c -rw-r--r-- 1 root wheel 0 5 ÁÐÒ 10:21 d -rw-r--r-- 1 root wheel 48852992 5 ÁÐÒ 11:26 g4l-v0.22.iso -rw-r--r-- 1 root wheel 79 6 ÄÅË 2003 mymotd -rw-r--r-- 1 root wheel 86 6 ÄÅË 2003 mynologin drwxr-xr-x 2 root wheel 512 7 ÍÁÒ 2004 mytgz -rw-r--r-- 1 root wheel 2665 2 ÁÐÒ 17:04 xorg.conf.new |
#cp /root/MY .
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#make buildkernel KERNCONF=/usr/src/MY
ERROR: Missing kernel configuration file(s) (/usr/src/MY). *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. |
#vim MY
|
#vim MY
|
#vim ~/MY
|
#make buildkernel KERNCONF=/root/MY
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. ^C --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#screen
|
#nohup make buildkernel KERNCONF=/root/MY &
uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. [1] 5419 appending output to nohup.out [1]+ Exit 1 nohup make buildkernel KERNCONF=/root/MY --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
ERROR: Missing kernel configuration file(s) (/root/MY). *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ^C |
#vim ~/MY
|
#cp /root/MY /sys/i386/co
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. compile/ conf/ --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cp /root/MY /sys/i386/conf/
|
#nohup make buildkernel KERNCONF=MY &
[1] 5483 appending output to nohup.out |
#tail -f nohup.out
rm -f export_syms digi_Xem.ko digi_Xem.kld Xem.o @ machine digi_Xem.ko.debug rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> digi/digi_Xr (cleandir) rm -f export_syms digi_Xr.ko digi_Xr.kld Xr.o @ machine digi_Xr.ko.debug rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> dpt (cleandir) rm -f export_syms dpt.ko dpt.kld dpt_scsi.o dpt_pci.o @ machine dpt.ko.debug opt_dpt.h opt_cam.h opt_scsi.h pci_if.h bus_if.h device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> drm (cleandir) ===> drm/drm (cleandir) ... ===> drm/mga (cleandir) rm -f export_syms mga.ko mga.kld mga_drv.o mga_state.o mga_warp.o mga_dma.o mga_irq.o @ machine mga.ko.debug opt_drm.h pci_if.h bus_if.h device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> drm/r128 (cleandir) rm -f export_syms r128.ko r128.kld r128_cce.o r128_drv.o r128_irq.o r128_state.o @ machine r128.ko.debug opt_drm.h pci_if.h bus_if.h device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> drm/radeon (cleandir) ^C --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ps aux | grep make
root 5483 0,0 0,0 552 440 p6 I 13:36 0:00,01 make buildkernel KERNCONF=MY root 5496 0,0 0,1 792 680 p6 I 13:36 0:00,03 make -m /usr/src/share/mk -f Makefile.inc1 buildkernel root 5521 0,0 0,3 2696 2584 p6 I 13:36 0:00,13 make KERNEL=kernel cleandir root 5525 0,0 0,1 696 584 p6 I 13:36 0:00,02 make cleandir |
#ps aux | grep make
root 6088 1,0 0,0 596 484 p6 S 13:36 0:00,01 make cleandir DIRPRFX=geom/ root 6090 1,0 0,1 632 524 p6 S 13:36 0:00,02 make cleandir DIRPRFX=geom/geom_apple/ root 5483 0,0 0,0 552 440 p6 I 13:36 0:00,01 make buildkernel KERNCONF=MY root 5496 0,0 0,1 792 680 p6 I 13:36 0:00,03 make -m /usr/src/share/mk -f Makefile.inc1 buildkernel root 5521 0,0 0,3 2696 2584 p6 I 13:36 0:00,13 make KERNEL=kernel cleandir root 5525 0,0 0,1 696 584 p6 I 13:36 0:00,02 make cleandir root 6095 0,0 0,1 1604 1092 p6 S+ 13:36 0:00,01 grep make |
#tail -f nohup.out
rm -f export_syms if_harp.ko if_harp.kld if_harp.o @ machine if_harp.ko.debug device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> hatm (cleandir) rm -f export_syms if_hatm.ko if_hatm.kld if_hatm.o if_hatm_intr.o if_hatm_ioctl.o if_hatm_tx.o if_hatm_rx.o @ machine if_hatm.ko.debug opt_inet.h opt_natm.h pci_if.h bus_if.h device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> hfa (cleandir) ===> hfa/hfa (cleandir) rm -f export_syms hfa.ko hfa.kld hfa_freebsd.o fore_buffer.o fore_init.o fore_receive.o fore_vcm.o fore_command.o fore_intr.o fore_stats.o fore_globals.o fore_timer.o fore_if.o fore_output.o fore_transmit.o @ machine hfa.ko.debug bus_if.h device_if.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> hfa/pci (cleandir) ... ===> ipdivert (cleandir) rm -f export_syms ipdivert.ko ipdivert.kld ip_divert.o @ machine ipdivert.ko.debug rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> ipfilter (cleandir) rm -f export_syms ipl.ko ipl.kld mlfk_ipl.o ip_nat.o ip_frag.o ip_state.o ip_proxy.o ip_auth.o ip_log.o ip_fil_freebsd.o fil.o ip_lookup.o ip_pool.o ip_htable.o ip_sync.o @ machine ipl.ko.debug opt_bpf.h opt_inet6.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ===> ipfw (cleandir) rm -f export_syms ipfw.ko ipfw.kld ip_fw2.o ip_fw_pfil.o @ machine ipfw.ko.debug opt_inet6.h opt_ipsec.h opt_mac.h rm -f .depend GPATH GRTAGS GSYMS GTAGS ^C |
#nohup make buildkernel KERNCONF=MY &
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#exit
Connection to fbsd2 closed. |
#ssh clint@net.nt
Connection to net.nt closed. |
#ls
backup dbootstrap_settings hello-vi.txt install-report.template mi.sh mynologin soft test2 unixoid.err.txt cat Desktop install linux-2.6.19.2.tar.bz2 mymotd mytgz test1 test3 unixoid.orig.txt |
#tar xvjfC linux-2.6.19.2.tar.bz2 /usr/src/
linux-2.6.19.2/arch/alpha/boot/Makefile linux-2.6.19.2/arch/alpha/boot/bootloader.lds linux-2.6.19.2/arch/alpha/boot/bootp.c linux-2.6.19.2/arch/alpha/boot/bootpz.c linux-2.6.19.2/arch/alpha/boot/head.S linux-2.6.19.2/arch/alpha/boot/main.c linux-2.6.19.2/arch/alpha/boot/misc.c linux-2.6.19.2/arch/alpha/boot/tools/ linux-2.6.19.2/arch/alpha/boot/tools/mkbb.c linux-2.6.19.2/arch/alpha/boot/tools/objstrip.c ... linux-2.6.19.2/arch/alpha/kernel/core_irongate.c linux-2.6.19.2/arch/alpha/kernel/core_lca.c linux-2.6.19.2/arch/alpha/kernel/core_marvel.c linux-2.6.19.2/arch/alpha/kernel/core_mcpcia.c linux-2.6.19.2/arch/alpha/kernel/core_polaris.c linux-2.6.19.2/arch/alpha/kernel/core_t2.c linux-2.6.19.2/arch/alpha/kernel/core_titan.c linux-2.6.19.2/arch/alpha/kernel/core_tsunami.c --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#cd /usr/src/linux-2.6.19.2/
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#pwd
/usr/src/linux-2.6.19.2 |
#make menuconfig
scripts/kconfig/lxdialog/checklist.c:116: error: `list' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:116: warning: left-hand operand of comma expression has no effect scripts/kconfig/lxdialog/checklist.c:129: warning: implicit declaration of function `getmaxy' scripts/kconfig/lxdialog/checklist.c:129: error: `stdscr' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:130: error: `KEY_MAX' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:131: warning: implicit declaration of function `getmaxx' scripts/kconfig/lxdialog/checklist.c:137: error: `COLS' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:138: error: `LINES' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:142: warning: implicit declaration of function `newwin' scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function `keypad' ... scripts/kconfig/lxdialog/checklist.c:221: warning: implicit declaration of function `scrollok' scripts/kconfig/lxdialog/checklist.c:222: warning: implicit declaration of function `wscrl' scripts/kconfig/lxdialog/checklist.c:293: warning: implicit declaration of function `delwin' scripts/kconfig/lxdialog/checklist.c:297: error: `KEY_LEFT' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:298: error: `KEY_RIGHT' undeclared (first use in this function) scripts/kconfig/lxdialog/checklist.c:312: error: `KEY_RESIZE' undeclared (first use in this function) make[1]: *** [scripts/kconfig/lxdialog/checklist.o] Ошибка 1 make: *** [menuconfig] Ошибка 2 --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#make menuconfig | less
|
#dpkg -l | grep libncurces*
|
#apt-cache search libncurces5-dev
tively). See also /usr/src/linux/Documentation/filesystems/adfs.txt. Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#apt-cache search libncur
centericq-utf8 - A text-mode multi-protocol instant messenger client libncurses-ruby - ruby Extension for the ncurses C library libncurses-ruby1.8 - ruby Extension for the ncurses C library libncurses-ruby1.9 - ruby Extension for the ncurses C library libncurses4 - Shared libraries for terminal handling libncurses5 - Shared libraries for terminal handling libncurses5-dbg - Debugging/profiling libraries for ncurses libncurses5-dev - Developer's libraries and docs for ncurses libncursesw5 - Shared libraries for terminal handling (wide character support) libncursesw5-dbg - Debugging/profiling libraries for ncurses libncursesw5-dev - Developer's libraries for ncursesw kernel-source-2.4.27 - Linux kernel source for version 2.4.27 with Debian patches |
#dpkg -l | grep libncu
ii libncurses5 5.5-5 Shared libraries for terminal handling ii libncursesw5 5.5-5 Shared libraries for terminal handling (wide |
#apt-get install libncurses5-dev
protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. Чтение списков пакетов... Готово Построение дерева зависимостей... Готово ... Необходимо скачать 1396kБ архивов. После распаковки объем занятого дискового пространства возрастёт на 6136kB. Получено:1 http://debian.org.ua etch/main libncurses5-dev 5.5-5 [1396kB] Получено 1396kB за 24s (56,4kB/c) Выбор ранее не выбранного пакета libncurses5-dev. (Чтение базы данных... на данный момент установлено 75690 файлов и каталогов.) Распаковывается пакет libncurses5-dev (из файла .../libncurses5-dev_5.5-5_i386.deb)... Настраивается пакет libncurses5-dev (5.5-5) ... --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#dpkg -l | grep gcc
value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. ii gcc 3.3.5-3 The GNU C compiler ii gcc-3.3 3.3.5-13 The GNU C compiler ii gcc-3.3-base 3.3.5-13 The GNU Compiler Collection (base package) ii gcc-4.1-base 4.1.1-21 The GNU Compiler Collection (base package) ii libgcc1 4.1.1-21 GCC support library --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#make menuconfig
| | | | +----------------------------------------------------- Linux Kernel Configuration -----------------------------------------------------+ | Arrow keys navigate the menu. <Enter> selects submenus --->. Highlighted letters are hotkeys. Pressing <Y> includes, <N> | | excludes, <M> modularizes features. Press <Esc><Esc> to exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] excluded | | <M> module < > module capable | <Select> < Exit > < Help > | | Loadable module support ---> +-- Block layer ---> --+ Processor type and features ---> ... Instrumentation Support ---> Kernel hacking ---> Security options ---> Cryptographic options ---> Library routines ---> --- Load an Alternate Configuration File Save an Alternate Configuration File --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ls -l .config
-rw-r--r-- 1 root root 72608 2007-04-05 14:02 .config |
#nohup make && make modules_install && make install &
Mount options for affs uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. [1] 15896 nohup: вывод добавляется в `nohup.out' --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
prefix=string Prefix used before volume name, when following a link. HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-i386 CC arch/i386/kernel/asm-offsets.s ... SHIPPED scripts/genksyms/parse.c HOSTCC scripts/genksyms/parse.o HOSTLD scripts/genksyms/genksyms CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. CC arch/i386/kernel/acpi/cstate.o CC arch/i386/kernel/acpi/processor.o LD arch/i386/kernel/acpi/built-in.o CC arch/i386/kernel/cpu/common.o CC arch/i386/kernel/cpu/proc.o ... CC arch/i386/kernel/cpu/intel.o CC arch/i386/kernel/cpu/intel_cacheinfo.o CC arch/i386/kernel/cpu/rise.o CC arch/i386/kernel/cpu/nexgen.o CC arch/i386/kernel/cpu/umc.o LD arch/i386/kernel/cpu/cpufreq/built-in.o CC [M] arch/i386/kernel/cpu/cpufreq/powernow-k6.o CC [M] arch/i386/kernel/cpu/cpufreq/powernow-k7.o --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. arch/i386/kernel/apm.c:1270: warning: `pm_send_all' is deprecated (declared at include/linux/pm_legacy.h:20) arch/i386/kernel/apm.c: In function `check_events': ... CC arch/i386/mm/init.o CC arch/i386/mm/pgtable.o CC arch/i386/mm/fault.o CC arch/i386/mm/ioremap.o CC arch/i386/mm/extable.o CC arch/i386/mm/pageattr.o CC arch/i386/mm/mmap.o CC arch/i386/mm/highmem.o --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. CC [M] drivers/infiniband/core/addr.o CC [M] drivers/infiniband/core/cm.o ... CC [M] drivers/infiniband/core/verbs.o CC [M] drivers/infiniband/core/sysfs.o CC [M] drivers/infiniband/core/device.o CC [M] drivers/infiniband/core/fmr_pool.o CC [M] drivers/infiniband/core/cache.o CC [M] drivers/infiniband/core/mad.o CC [M] drivers/infiniband/core/smi.o CC [M] drivers/infiniband/core/agent.o --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#tail -f nohup.out
CC [M] drivers/infiniband/core/ud_header.o CC [M] drivers/infiniband/core/verbs.o CC [M] drivers/infiniband/core/sysfs.o CC [M] drivers/infiniband/core/device.o CC [M] drivers/infiniband/core/fmr_pool.o CC [M] drivers/infiniband/core/cache.o CC [M] drivers/infiniband/core/mad.o CC [M] drivers/infiniband/core/smi.o CC [M] drivers/infiniband/core/agent.o CC [M] drivers/infiniband/core/mad_rmpp.o CC [M] drivers/infiniband/core/sa_query.o CC [M] drivers/infiniband/core/ucm.o |
#tail -f nohup.out
LD [M] drivers/isdn/hardware/eicon/divas.o LD [M] drivers/isdn/hardware/eicon/diva_mnt.o LD [M] drivers/isdn/hardware/eicon/diva_idi.o LD [M] drivers/isdn/hardware/eicon/divacapi.o LD drivers/isdn/hardware/built-in.o LD drivers/isdn/hisax/built-in.o CC [M] drivers/isdn/hisax/config.o CC [M] drivers/isdn/hisax/isdnl1.o CC [M] drivers/isdn/hisax/tei.o CC [M] drivers/isdn/hisax/isdnl2.o ... CC [M] drivers/isdn/hisax/l3_1tr6.o CC [M] drivers/isdn/hisax/teles0.o CC [M] drivers/isdn/hisax/isac.o CC [M] drivers/isdn/hisax/arcofi.o CC [M] drivers/isdn/hisax/hscx.o CC [M] drivers/isdn/hisax/teles3.o CC [M] drivers/isdn/hisax/telespci.o CC [M] drivers/isdn/hisax/s0box.o --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
#ssh fbsd2
Password: Last login: Thu Apr 5 13:11:27 2007 from linux1.net.nt Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.2-RC1 (SMP) #0: Thu Nov 16 05:12:08 UTC 2006 Welcome to FreeBSD! Before seeking technical support, please use the following resources: o Security advisories and updated errata information for all releases are at http://www.FreeBSD.org/releases/ - always consult the ERRATA section for your release first as it's updated frequently. ... http://www.FreeBSD.org/search/. If the doc distribution has been installed, they're also available formatted in /usr/share/doc. If you still have a question or problem, please take the output of `uname -a', along with any relevant error messages, and email it as a question to the questions@FreeBSD.org mailing list. If you are unfamiliar with FreeBSD's directory layout, please refer to the hier(7) manual page. If you are not familiar with manual pages, type `man man'. You may also use sysinstall(8) to re-enter the installation and configuration utility. Edit /etc/motd to change this login announcement. Removing stale pidfile |
#tail -f /usr/src/nohup.out
===> zlib (all) cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/MY/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -I/usr/obj/usr/src/sys/MY -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-ex ld -d -warn-common -r -d -o zlib.kld zlib.o :> export_syms awk -f /usr/src/sys/modules/zlib/../../conf/kmod_syms.awk zlib.kld export_syms | xargs -J% objcopy % zlib.kld ld -Bshareable -d -warn-common -o zlib.ko.debug zlib.kld objcopy --strip-debug zlib.ko.debug zlib.ko -------------------------------------------------------------- >>> Kernel build for MY completed on Thu Apr 5 14:23:47 EEST 2007 -------------------------------------------------------------- ^C |
#less /usr/src/nohup.out
|
#ls -l /boot/
total 608 drwxr-xr-x 2 root wheel 9728 30 ÍÁÒ 20:23 GENERIC -r--r--r-- 1 root wheel 7638 16 ÎÏÑ 04:11 beastie.4th -r--r--r-- 1 root wheel 8192 16 ÎÏÑ 04:11 boot -r--r--r-- 1 root wheel 512 16 ÎÏÑ 04:11 boot0 -r--r--r-- 1 root wheel 512 16 ÎÏÑ 04:11 boot0sio -r--r--r-- 1 root wheel 512 16 ÎÏÑ 04:11 boot1 -r--r--r-- 1 root wheel 7680 16 ÎÏÑ 04:11 boot2 -r--r--r-- 1 root wheel 1200 16 ÎÏÑ 04:11 cdboot drwxr-xr-x 2 root wheel 512 30 ÍÁÒ 20:23 defaults ... -r-xr-xr-x 1 root wheel 217088 16 ÎÏÑ 04:11 loader -r--r--r-- 1 root wheel 7772 16 ÎÏÑ 04:11 loader.4th -rw-r--r-- 1 root wheel 0 30 ÍÁÒ 20:30 loader.conf -r--r--r-- 1 root wheel 15219 16 ÎÏÑ 04:11 loader.help -r--r--r-- 1 root wheel 389 16 ÎÏÑ 04:11 loader.rc -r--r--r-- 1 root wheel 512 16 ÎÏÑ 04:11 mbr drwxr-xr-x 2 root wheel 512 16 ÎÏÑ 04:09 modules -r--r--r-- 1 root wheel 219136 16 ÎÏÑ 04:11 pxeboot -r--r--r-- 1 root wheel 692 16 ÎÏÑ 04:11 screen.4th -r--r--r-- 1 root wheel 36440 16 ÎÏÑ 04:11 support.4th |
#ls -l /boot/kernel/
-r-xr-xr-x 1 root wheel 8320 16 ÎÏÑ 07:18 ng_rfc1490.ko -r-xr-xr-x 1 root wheel 16101 16 ÎÏÑ 07:18 ng_socket.ko -r-xr-xr-x 1 root wheel 10387 16 ÎÏÑ 07:18 ng_source.ko -r-xr-xr-x 1 root wheel 4847 16 ÎÏÑ 07:18 ng_split.ko -r-xr-xr-x 1 root wheel 8996 16 ÎÏÑ 07:18 ng_sppp.ko -r-xr-xr-x 1 root wheel 14781 16 ÎÏÑ 07:18 ng_sscfu.ko -r-xr-xr-x 1 root wheel 75244 16 ÎÏÑ 07:18 ng_sscop.ko -r-xr-xr-x 1 root wheel 21007 16 ÎÏÑ 07:18 ng_sync_ar.ko -r-xr-xr-x 1 root wheel 23031 16 ÎÏÑ 07:18 ng_sync_sr.ko -r-xr-xr-x 1 root wheel 9723 16 ÎÏÑ 07:18 ng_tag.ko ... -r-xr-xr-x 1 root wheel 9979 16 ÎÏÑ 07:18 vpd.ko -r-xr-xr-x 1 root wheel 20259 16 ÎÏÑ 07:18 vpo.ko -r-xr-xr-x 1 root wheel 7481 16 ÎÏÑ 07:18 warp_saver.ko -r-xr-xr-x 1 root wheel 122657 16 ÎÏÑ 07:18 wlan.ko -r-xr-xr-x 1 root wheel 8401 16 ÎÏÑ 07:18 wlan_acl.ko -r-xr-xr-x 1 root wheel 25161 16 ÎÏÑ 07:18 wlan_ccmp.ko -r-xr-xr-x 1 root wheel 13354 16 ÎÏÑ 07:18 wlan_tkip.ko -r-xr-xr-x 1 root wheel 8498 16 ÎÏÑ 07:18 wlan_wep.ko -r-xr-xr-x 1 root wheel 3881 16 ÎÏÑ 07:18 wlan_xauth.ko -r-xr-xr-x 1 root wheel 34454 16 ÎÏÑ 07:18 zlib.ko |
#cd /usr/src/
|
#nohup make installkernel KERNCONF=MY &
[1] 35734 appending output to nohup.out |
#tail -f /usr/src/nohup.out
install -o root -g wheel -m 555 if_vx.ko /boot/kernel ===> wb (install) install -o root -g wheel -m 555 if_wb.ko /boot/kernel ===> wi (install) install -o root -g wheel -m 555 if_wi.ko /boot/kernel ===> wlan (install) install -o root -g wheel -m 555 wlan.ko /boot/kernel ===> wlan_acl (install) install -o root -g wheel -m 555 wlan_acl.ko /boot/kernel ===> wlan_ccmp (install) ... install -o root -g wheel -m 555 if_xe.ko /boot/kernel ===> xl (install) install -o root -g wheel -m 555 if_xl.ko /boot/kernel ===> zlib (install) install -o root -g wheel -m 555 zlib.ko /boot/kernel kldxref /boot/kernel ^C [1]+ Done nohup make installkernel KERNCONF=MY --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8) |
uid=value and gid=value Set the owner and group of the root of the file system (default: uid=gid=0, but with option uid or gid without specified value, the uid and gid of the current process are taken). setuid=value and setgid=value Set the owner and group of all files. mode=value Set the mode of all files to value & 0777 disregarding the original permissions. Add search permission to directories that have read permission. The value is given in octal. protect Do not allow any changes to the protection bits on the file system. usemp Set uid and gid of the root of the file system to the uid and gid of the mount point upon the first sync or umount, and then clear this option. Strange... verbose Print an informational message for each successful mount. prefix=string Prefix used before volume name, when following a link. FreeBSD Audio Driver (newpcm) Installed devices: pcm0: <Intel ICH4 (82801DB)> at io 0xde081000, 0xde082000 irq 17 bufsz 16384 kld snd_ich (1p/1r/0v channels duplex default) --------------------------------------------------------------------------------------------------------------------------------------------- MOUNT(8) Linux Programmer’s Manual MOUNT(8)
Время первой команды журнала | 13:12:17 2007- 4- 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 15:08:46 2007- 4- 5 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 11.88 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 0.99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.30 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ find / -name abc find: /home/devi-orig/.gnome2: Keine Berechtigung find: /home/devi-orig/.gnome2_private: Keine Berechtigung find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung find: /home/devi-orig/.metacity: Keine Berechtigung find: /home/devi-orig/.inkscape: Keine Berechtigung ^C |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008