[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Pytanko liliowe oraz Re: skrypcik uparty



----- Original Message -----
From: "Marcin Owsiany" <porridge@debian.org>
To: <debian-user-polish@lists.debian.org>
Sent: Wednesday, February 05, 2003 10:14 PM
Subject: Re: skrypcik uparty


> On Wed, Feb 05, 2003 at 09:51:25PM +0100, Aleksander Różyło wrote:
> > jesli wielkosc pliku wynosi wiecej niz np. 5 bytes to zrob (cos tam)
> > jak to zapisac?
>
> Na przykład:
>
> size=`ls -l plik|awk '{ print $5 }'`
> if [ "$size" -gt 5 ]
> then
> zrob '(cos tam)'
> fi
>
> Marcin
> PS: Proszę respektować mój nagłówek Mail-Followup-To, ja naprawdę czytam
> tą listę.
> --
> Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
> GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216

Hail :)

Dzieki wielkie za przykladziki, dzialaja pieknie i o to chodzilo :)

widze ze nie zgine skoro zawsze moge liczyc na taka pomoc !!
a problemow wiele :) im dalej w las tym wiecej drzew jak to mowia - i tu
nastepny zonk mi wyskoczyl przy upgrejdzie pakietow (to chyba bedzie
pierwszy moj post dotyczacy debiana :)

(dodam ze to serwer poczty i boje sie sam ruszac bo nie moze pasc - powiesza
mnie :)


Setting up lilo (22.4-2) ...
Running /usr/sbin/liloconfig

LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

You already have a LILO configuration in the file /etc/lilo.conf

Checking your /etc/lilo.conf for incompatible options...

Install a boot block using your current LILO configuration? [Yes]


==========================================================================
WARNING: Even if lilo runs successfully, see /usr/share/doc/lilo/INCOMPAT.gz
         for changes in the usage of the /etc/lilo.conf file.
         If needed: edit /etc/lilo.conf and rerun '/sbin/lilo -v'

Running lilo...
LILO version 22.4, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2002 John Coffman
Released 24-Jan-2003 and compiled at 14:14:40 on Jan 26 2003.

Reading boot sector from /dev/sda
Fatal: creat /boot/map~: Read-only file system

ERROR: correct /etc/lilo.conf manually and rerun /sbin/lilo

dpkg: error processing lilo (--configure):



nie mam pojecia co mu nie pasi (na 10 serwerow 3 maja ten sam problem) - nie
wiem co powinienem dodac aby skompletowac prosbe o pomoc wiec dodam co mysle
ze moze sie przydac -

/etc/lilo.conf

lba32
disk=/dev/sda
    bios=0x80
boot=/dev/sda
root=/dev/sda3
install=menu
map=/boot/map
delay=20
vga=normal
default=Linux
image=/vmlinuz
        label=Linux
        read-only
image=/vmlinuz.old
        label=LinuxOLD
        read-only
        optional

[nie mam pojecia jaki kernel teraz siedzi i czy to ma jakies znaczenie w tym
momencie?]

poza tym:


root@tsunami:~# fdisk -l

Disk /dev/scsi/host0/bus0/target0/lun0/disc: 9105 MB, 9105018880 bytes
255 heads, 63 sectors/track, 1106 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

                                 Device Boot    Start       End    Blocks
Id  System
/dev/scsi/host0/bus0/target0/lun0/part1             1        11     88326
83  Linux
/dev/scsi/host0/bus0/target0/lun0/part2            12        75    514080
83  Linux
/dev/scsi/host0/bus0/target0/lun0/part3   *        76       329   2040255
83  Linux
/dev/scsi/host0/bus0/target0/lun0/part4           330      1106   6241252+
83  Linux
root@tsunami:~# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda  (for the first IDE disk)
  or: fdisk /dev/sdc  (for the third SCSI disk)
  or: fdisk /dev/eda  (for the first PS/2 ESDI drive)
  or: fdisk /dev/rd/c0d0  or: fdisk /dev/ida/c0d0  (for RAID devices)
  ...


Wszelka pomoc w tej sprawie jest most wanted..

Pozdrawiam !

Mako


ps. czy ma ktos moze zainstalowanego i dzialajacego ez3 publisha?



Reply to: