Журнал лабораторных работ

Содержание

Журнал

Суббота (05/30/09)

/dev/pts/8
11:11:26
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
прошло 25 минут
/dev/pts/5
11:37:08
#man sfdisk
/dev/pts/8
11:37:08
#man sfdisk
/dev/pts/5
11:38:09
#echo ';' | sfdisk /dev/sdb1
Checking that no-one is using this disk right now ...
BLKRRPART: Invalid argument
OK
Warning: start=63 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[Use the --force option if you really want this]
/dev/pts/8
11:38:09
#echo ';' | sfdisk /dev/sdb1
Checking that no-one is using this disk right now ...
BLKRRPART: Invalid argument
OK
Warning: start=63 - this looks like a partition rather than
the entire disk. Using fdisk on it is probably meaningless.
[Use the --force option if you really want this]
/dev/pts/5
11:38:50
#echo ';' | sfdisk /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 9729 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+   9728    9729-  78148161    7  HPFS/NTFS
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
...
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/dev/pts/8
11:38:50
#echo ';' | sfdisk /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 9729 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+   9728    9729-  78148161    7  HPFS/NTFS
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
...
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/dev/pts/5
11:39:08
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148192   83  Linux
^C
q
^C
^C
/dev/pts/8
11:39:08
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148192   83  Linux
^C
q
^C
^C
/dev/pts/7
11:40:34
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
...
   w   write table to disk and exit
   x   extra functionality (experts only)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available
Command (m for help): ^C
/dev/pts/10
11:40:34
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
...
   w   write table to disk and exit
   x   extra functionality (experts only)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available
Command (m for help): ^C
/dev/pts/5
11:42:35
#dmesg | tail
[ 8323.372127] Buffer I/O error on device etherd/e1.1, logical block 0
[ 8323.372133] Buffer I/O error on device etherd/e1.1, logical block 1
[ 8323.372137] Buffer I/O error on device etherd/e1.1, logical block 2
[ 8323.372140] Buffer I/O error on device etherd/e1.1, logical block 3
[ 8323.372143] Buffer I/O error on device etherd/e1.1, logical block 4
[ 8323.372146] Buffer I/O error on device etherd/e1.1, logical block 5
[ 8323.372149] Buffer I/O error on device etherd/e1.1, logical block 6
[ 8323.372152] Buffer I/O error on device etherd/e1.1, logical block 7
[ 8323.372157] Buffer I/O error on device etherd/e1.1, logical block 8
[ 8323.372160] Buffer I/O error on device etherd/e1.1, logical block 9
/dev/pts/8
11:42:35
#dmesg | tail
[ 8323.372127] Buffer I/O error on device etherd/e1.1, logical block 0
[ 8323.372133] Buffer I/O error on device etherd/e1.1, logical block 1
[ 8323.372137] Buffer I/O error on device etherd/e1.1, logical block 2
[ 8323.372140] Buffer I/O error on device etherd/e1.1, logical block 3
[ 8323.372143] Buffer I/O error on device etherd/e1.1, logical block 4
[ 8323.372146] Buffer I/O error on device etherd/e1.1, logical block 5
[ 8323.372149] Buffer I/O error on device etherd/e1.1, logical block 6
[ 8323.372152] Buffer I/O error on device etherd/e1.1, logical block 7
[ 8323.372157] Buffer I/O error on device etherd/e1.1, logical block 8
[ 8323.372160] Buffer I/O error on device etherd/e1.1, logical block 9
/dev/pts/5
11:43:11
#rmmod aoe

/dev/pts/8
11:43:11
#rmmod aoe

/dev/pts/5
11:43:43
#dmesg | tail
[ 8323.372127] Buffer I/O error on device etherd/e1.1, logical block 0
[ 8323.372133] Buffer I/O error on device etherd/e1.1, logical block 1
[ 8323.372137] Buffer I/O error on device etherd/e1.1, logical block 2
[ 8323.372140] Buffer I/O error on device etherd/e1.1, logical block 3
[ 8323.372143] Buffer I/O error on device etherd/e1.1, logical block 4
[ 8323.372146] Buffer I/O error on device etherd/e1.1, logical block 5
[ 8323.372149] Buffer I/O error on device etherd/e1.1, logical block 6
[ 8323.372152] Buffer I/O error on device etherd/e1.1, logical block 7
[ 8323.372157] Buffer I/O error on device etherd/e1.1, logical block 8
[ 8323.372160] Buffer I/O error on device etherd/e1.1, logical block 9
/dev/pts/8
11:43:43
#dmesg | tail
[ 8323.372127] Buffer I/O error on device etherd/e1.1, logical block 0
[ 8323.372133] Buffer I/O error on device etherd/e1.1, logical block 1
[ 8323.372137] Buffer I/O error on device etherd/e1.1, logical block 2
[ 8323.372140] Buffer I/O error on device etherd/e1.1, logical block 3
[ 8323.372143] Buffer I/O error on device etherd/e1.1, logical block 4
[ 8323.372146] Buffer I/O error on device etherd/e1.1, logical block 5
[ 8323.372149] Buffer I/O error on device etherd/e1.1, logical block 6
[ 8323.372152] Buffer I/O error on device etherd/e1.1, logical block 7
[ 8323.372157] Buffer I/O error on device etherd/e1.1, logical block 8
[ 8323.372160] Buffer I/O error on device etherd/e1.1, logical block 9
/dev/pts/5
11:43:51
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148192   83  Linux
/dev/pts/8
11:43:51
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        9729    78148192   83  Linux
/dev/pts/5
11:43:54
#echo ';' | sfdisk /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 9729 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+   9728    9729-  78148192   83  Linux
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
...
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/dev/pts/8
11:43:54
#echo ';' | sfdisk /dev/sdb
Checking that no-one is using this disk right now ...
OK
Disk /dev/sdb: 9729 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1          0+   9728    9729-  78148192   83  Linux
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
...
/dev/sdb2          0       -       0          0    0  Empty
/dev/sdb3          0       -       0          0    0  Empty
/dev/sdb4          0       -       0          0    0  Empty
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
Successfully wrote the new partition table
Re-reading the partition table ...
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes:  dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
/dev/pts/5
11:46:33
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/8
11:46:33
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/7
11:46:35
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available
Command (m for help): ^C
/dev/pts/10
11:46:35
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
No free sectors available
Command (m for help): ^C
/dev/pts/7
11:46:51
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
...
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        3651     9775552+  83  Linux
/dev/sdb4            3652        9729    48821535    5  Extended
Command (m for help): Ñn
First cylinder (3652-9729, default 3652): ^C
/dev/pts/10
11:46:51
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
...
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        3651     9775552+  83  Linux
/dev/sdb4            3652        9729    48821535    5  Extended
Command (m for help): Ñn
First cylinder (3652-9729, default 3652): ^C
/dev/pts/7
11:50:42
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
...
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
/dev/pts/10
11:50:42
#fdisk /dev/sdb
The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
...
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
/dev/pts/7
11:52:28
#mkdir /mntflash

/dev/pts/10
11:52:28
#mkdir /mntflash

/dev/pts/5
11:52:45
#fdisk /dev/sda
The number of cylinders for this disk is set to 9964.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
...
Using default value 2433
Last cylinder or +size or +sizeM or +sizeK (2433-9964, default 9964):
Using default value 9964
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
/dev/pts/8
11:52:45
#fdisk /dev/sda
The number of cylinders for this disk is set to 9964.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
...
Using default value 2433
Last cylinder or +size or +sizeM or +sizeK (2433-9964, default 9964):
Using default value 9964
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.
/dev/pts/5
11:55:27
#apt-get install parted
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libparted1.8-10
Suggested packages:
  libparted1.8-dev libparted1.8-i18n parted-doc
...
Get:2 http://192.168.15.13 sid/main parted 1.8.8.git.2008.03.24-11.1 [64.5kB]
Fetched 262kB in 0s (5176kB/s)
Selecting previously deselected package libparted1.8-10.
(Reading database ... 55786 files and directories currently installed.)
Unpacking libparted1.8-10 (from .../libparted1.8-10_1.8.8.git.2008.03.24-11.1_i386.deb) ...
Selecting previously deselected package parted.
Unpacking parted (from .../parted_1.8.8.git.2008.03.24-11.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libparted1.8-10 (1.8.8.git.2008.03.24-11.1) ...
Setting up parted (1.8.8.git.2008.03.24-11.1) ...
/dev/pts/8
11:55:27
#apt-get install parted
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libparted1.8-10
Suggested packages:
  libparted1.8-dev libparted1.8-i18n parted-doc
...
Get:2 http://192.168.15.13 sid/main parted 1.8.8.git.2008.03.24-11.1 [64.5kB]
Fetched 262kB in 0s (5176kB/s)
Selecting previously deselected package libparted1.8-10.
(Reading database ... 55786 files and directories currently installed.)
Unpacking libparted1.8-10 (from .../libparted1.8-10_1.8.8.git.2008.03.24-11.1_i386.deb) ...
Selecting previously deselected package parted.
Unpacking parted (from .../parted_1.8.8.git.2008.03.24-11.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libparted1.8-10 (1.8.8.git.2008.03.24-11.1) ...
Setting up parted (1.8.8.git.2008.03.24-11.1) ...
/dev/pts/5
11:55:46
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/8
11:55:46
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/5
11:56:09
#part
parted     partprobe  partx
/dev/pts/8
11:56:09
#part
parted     partprobe  partx
/dev/pts/5
11:56:09
#partprobe

/dev/pts/8
11:56:09
#partprobe

/dev/pts/5
11:56:29
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/8
11:56:29
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/5
12:05:04
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/8
12:05:04
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/5
12:05:12
#man fdisk
/dev/pts/8
12:05:12
#man fdisk
/dev/pts/5
12:06:58
#fdisk -lu /dev/sdb1
Disk /dev/sdb1: 10.0 GB, 10010133504 bytes
255 heads, 63 sectors/track, 1216 cylinders, total 19551042 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb1 doesn't contain a valid partition table
/dev/pts/8
12:06:58
#fdisk -lu /dev/sdb1
Disk /dev/sdb1: 10.0 GB, 10010133504 bytes
255 heads, 63 sectors/track, 1216 cylinders, total 19551042 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x00000000
Disk /dev/sdb1 doesn't contain a valid partition table
/dev/pts/5
12:07:04
#mkfs.ext3 /dev/sdb5
mke2fs 1.41.5 (23-Apr-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3662848 inodes, 14649264 blocks
732463 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
448 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
/dev/pts/8
12:07:04
#mkfs.ext3 /dev/sdb5
mke2fs 1.41.5 (23-Apr-2009)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3662848 inodes, 14649264 blocks
732463 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
448 block groups
32768 blocks per group, 32768 fragments per group
8176 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000, 7962624, 11239424
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
/dev/pts/5
12:08:33
#blkid /dev/sdb1
/dev/sdb1: UUID="3fb4ed89-4529-46e9-b1cd-79ec8f913ff7" SEC_TYPE="ext2" TYPE="ext3"
/dev/pts/8
12:08:33
#blkid /dev/sdb1
/dev/sdb1: UUID="3fb4ed89-4529-46e9-b1cd-79ec8f913ff7" SEC_TYPE="ext2" TYPE="ext3"
/dev/pts/5
12:08:43
#blkid /dev/sdb2

/dev/pts/8
12:08:43
#blkid /dev/sdb2

/dev/pts/5
12:08:50
#blkid /dev/sdb5
/dev/sdb5: UUID="4b4ca4f8-2bac-4f59-9811-f0ee094db8ec" SEC_TYPE="ext2" TYPE="ext3"
/dev/pts/8
12:08:50
#blkid /dev/sdb5
/dev/sdb5: UUID="4b4ca4f8-2bac-4f59-9811-f0ee094db8ec" SEC_TYPE="ext2" TYPE="ext3"
/dev/pts/5
12:08:53
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/8
12:08:53
#fdisk -l
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2432    19535008+  83  Linux
/dev/sda2            2433        9964    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1217     9775521   83  Linux
/dev/sdb2            1218        2434     9775552+  83  Linux
/dev/sdb3            2435        9729    58597087+   5  Extended
/dev/sdb5            2435        9729    58597056   83  Linux
/dev/pts/5
12:09:00
#fdisk -lu
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    39070079    19535008+  83  Linux
/dev/sda2        39070080   160071659    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    19551104     9775521   83  Linux
/dev/sdb2        19551105    39102209     9775552+  83  Linux
/dev/sdb3        39102210   156296384    58597087+   5  Extended
/dev/sdb5        39102273   156296384    58597056   83  Linux
/dev/pts/8
12:09:00
#fdisk -lu
Disk /dev/sda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders, total 160086528 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x337073c8
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    39070079    19535008+  83  Linux
/dev/sda2        39070080   160071659    60500790    5  Extended
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x4cf22bff
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    19551104     9775521   83  Linux
/dev/sdb2        19551105    39102209     9775552+  83  Linux
/dev/sdb3        39102210   156296384    58597087+   5  Extended
/dev/sdb5        39102273   156296384    58597056   83  Linux
/dev/pts/5
12:09:04
#vol_id /dev/sdb1
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=3fb4ed89-4529-46e9-b1cd-79ec8f913ff7
ID_FS_UUID_ENC=3fb4ed89-4529-46e9-b1cd-79ec8f913ff7
ID_FS_LABEL=
ID_FS_LABEL_ENC=
/dev/pts/8
12:09:04
#vol_id /dev/sdb1
ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=3fb4ed89-4529-46e9-b1cd-79ec8f913ff7
ID_FS_UUID_ENC=3fb4ed89-4529-46e9-b1cd-79ec8f913ff7
ID_FS_LABEL=
ID_FS_LABEL_ENC=
/dev/pts/5
12:11:22
#tune2fs /dev/sdb1 -U 3fb4ed891-4529-46e9-b1cd-79ec8f913ff7
tune2fs 1.41.5 (23-Apr-2009)
tune2fs: Invalid UUID format
/dev/pts/8
12:11:22
#tune2fs /dev/sdb1 -U 3fb4ed891-4529-46e9-b1cd-79ec8f913ff7
tune2fs 1.41.5 (23-Apr-2009)
tune2fs: Invalid UUID format
/dev/pts/5
12:11:48
#tune2fs /dev/sdb1 -U 3fb4ed89-4521-46e9-b1cd-79ec8f913ff7
tune2fs 1.41.5 (23-Apr-2009)
/dev/pts/8
12:11:48
#tune2fs /dev/sdb1 -U 3fb4ed89-4521-46e9-b1cd-79ec8f913ff7
tune2fs 1.41.5 (23-Apr-2009)
/dev/pts/5
12:12:26
#uuidgen
cdcd11dd-ec3d-480a-8638-4dd5216e3c35
/dev/pts/8
12:12:26
#uuidgen
cdcd11dd-ec3d-480a-8638-4dd5216e3c35
/dev/pts/5
12:12:35
##LABEL=ROOT

/dev/pts/8
12:12:35
##LABEL=ROOT

/dev/pts/5
12:12:45
##UUID=cdcd11dd-ec3d-480a-8638-4dd5216e3c35

/dev/pts/8
12:12:45
##UUID=cdcd11dd-ec3d-480a-8638-4dd5216e3c35

/dev/pts/5
12:12:56
#e2label /dev/Ñsab MFEARDATA1

/dev/pts/8
12:12:56
#e2label /dev/Ñsab MFEARDATA1

/dev/pts/5
12:14:43
#сÑcat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/pts/8
12:14:43
#сÑcat /etc/fstab
# UNCONFIGURED FSTAB FOR BASE SYSTEM
/dev/pts/5
12:22:06
#vi /etc/fstab
/dev/pts/8
12:22:06
#vi /etc/fstab
--- /tmp/l3-saved-4219.10026.10727	2009-05-30 12:22:16.000000000 +0300
+++ /etc/fstab	2009-05-30 12:31:36.000000000 +0300
@@ -1 +1,2 @@
 # UNCONFIGURED FSTAB FOR BASE SYSTEM
+LABEL=FEARDATA1 /data ext3 defaults 1 0
/dev/pts/5
12:31:36
#umount /mnt
umount: /mnt: not mounted
/dev/pts/8
12:31:36
#umount /mnt
umount: /mnt: not mounted
/dev/pts/5
12:31:41
#mount -a
mount: mount point /data does not exist
/dev/pts/8
12:31:41
#mount -a
mount: mount point /data does not exist
/dev/pts/5
12:31:45
#cd /data
bash: cd: /data: No such file or directory
/dev/pts/8
12:31:45
#cd /data
bash: cd: /data: No such file or directory
/dev/pts/5
12:31:54
#mkdir /data

/dev/pts/8
12:31:54
#mkdir /data

/dev/pts/5
12:31:58
#mount -a

/dev/pts/8
12:31:58
#mount -a

/dev/pts/5
12:32:00
#mount -a

/dev/pts/8
12:32:00
#mount -a

/dev/pts/5
12:32:06
#cd /data

/dev/pts/8
12:32:06
#cd /data

/dev/pts/5
12:32:19
#ls
lost+found
/dev/pts/8
12:32:19
#ls
lost+found
/dev/pts/5
12:32:20
#vi /etc/fstab
/dev/pts/8
12:32:20
#vi /etc/fstab
--- /tmp/l3-saved-4219.3576.25905	2009-05-30 12:39:07.000000000 +0300
+++ /etc/fstab	2009-05-30 12:39:48.000000000 +0300
@@ -1,2 +1,4 @@
 # UNCONFIGURED FSTAB FOR BASE SYSTEM
 LABEL=FEARDATA1 /data ext3 defaults 1 0
+/dev/sdc1 /mnt/flash auto user,noauto 0 0
+
/dev/pts/5
12:39:48
#vi /etc/fstab
/dev/pts/8
12:39:48
#vi /etc/fstab
--- /tmp/l3-saved-4219.14936.7488	2009-05-30 12:39:50.000000000 +0300
+++ /etc/fstab	2009-05-30 12:41:24.000000000 +0300
@@ -1,4 +1,4 @@
 # UNCONFIGURED FSTAB FOR BASE SYSTEM
 LABEL=FEARDATA1 /data ext3 defaults 1 0
-/dev/sdc1 /mnt/flash auto user,noauto 0 0
+/dev/sdc1 /mnt/flash auto owner,noauto 0 0
 
/dev/pts/7
12:40:40
#ls /dev/|sd
bash: sd: command not found
/dev/pts/10
12:40:40
#ls /dev/|sd
bash: sd: command not found

Статистика

Время первой команды журнала11:11:26 2009- 5-30
Время последней команды журнала12:40:40 2009- 5-30
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %13.86
Процент синтаксически неверно набранных команд, % 1.98
Суммарное время работы с терминалом *, час 1.49
Количество командных строк в единицу времени, команда/мин 1.13
Частота использования команд
fdisk28|=======================| 23.53%
mount7|=====| 5.88%
'6|=====| 5.04%
echo6|=====| 5.04%
vi6|=====| 5.04%
sfdisk6|=====| 5.04%
blkid6|=====| 5.04%
mkdir4|===| 3.36%
man4|===| 3.36%
tune2fs4|===| 3.36%
cd4|===| 3.36%
dmesg4|===| 3.36%
tail4|===| 3.36%
ls4|===| 3.36%
sd2|=| 1.68%
umount2|=| 1.68%
сÑcat2|=| 1.68%
#LABEL=ROOT2|=| 1.68%
vol_id2|=| 1.68%
part2|=| 1.68%
mkfs.ext32|=| 1.68%
e2label2|=| 1.68%
rmmod2|=| 1.68%
uuidgen2|=| 1.68%
#UUID=cdcd11dd-ec3d-480a-8638-4dd5216e3c352|=| 1.68%
apt-get2|=| 1.68%
partprobe2|=| 1.68%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ 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
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$