rule-list
[Top][All Lists]
Advanced

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

Re: [Rule-list] finding hard disk size


From: Devon
Subject: Re: [Rule-list] finding hard disk size
Date: Mon, 8 Apr 2002 20:49:18 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 08 April 2002 09:17 pm, address@hidden wrote:

> Here's a script we can check. It works for me.
>
> -----
>
> #!/bin/sh
>
> factor1=$(fdisk -l | grep Disk | cut -d , -f 3 | cut -d c -f 1 )
> factor2=$(fdisk -l | grep Units | cut -b 22- | cut -d '*' -f 1 )
> factor3=$(fdisk -l | grep Units | cut -b 22- | cut -d '*' -f 2 | cut -d
> b -f 1 )

But it won't work in the shell available in the installer. :)
Refer to my previous post for syntax the installer will handle.

# /mnt/floppy/test.sh
syntax error
#

- -D

- -- 

pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
Red Hat Linux 7.2 in 8M of RAM: http://www.freesoftware.fsf.org/rule/

- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8skieeMAUbzJhSVcRAtbPAKCrQC6VVgdNoPcAZV+YNKmJL3+c1wCgvoS7
HgWOXnN6cPWTNYQ3NPzA31I=
=nsMe
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]