Am 2007-06-20 11:54:02, schrieb Orestes leal:
On Wed, 20 Jun 2007 16:29:12 +0200
Michelle Konzack [EMAIL PROTECTED] wrote:
Can you tell me which version of fdisk you are using?
fdisk -l returns nothing at all (¶USER or root)
fdisk v2.12r
:-/ I have v2.12p
Thanks, Greetings and nice Day
echo -e ${FDISKOUT} | some_command ...
^^
Do not forget it. :-)
On 20.06.07 10:28, Bob McGowan wrote:
Why is '-e' required? The -e tells 'echo' to -e enable interpretation of
backslash escapes, but there are no backslash escapes in the output of
the 'fdisk -l' to worry
Orestes leal wrote:
On Wed, 20 Jun 2007 12:53:19 -0500
Hugo Vanwoerkom [EMAIL PROTECTED] wrote:
Michelle Konzack wrote:
Not the best way, but it works perfectly
See attached Shell-Script.
This is what I have:
[EMAIL PROTECTED]:~$ df
Filesystem 1K-blocks Used Available Use%
Am 2007-06-14 19:00:47, schrieb Orestes leal:
$fdisk -l | grep dev | gawk -F' *' '{ print $1 }' | gawk -F'/dev/' '{
print $0 }' | grep '/dev/sd' particiones.txt
Can you tell me which version of fdisk you are using?
fdisk -l returns nothing at all (¶USER or root)
Not the best way, but it works perfectly
See attached Shell-Script.
Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
#
On Wed, 20 Jun 2007 16:29:12 +0200
Michelle Konzack [EMAIL PROTECTED] wrote:
Am 2007-06-14 19:00:47, schrieb Orestes leal:
$fdisk -l | grep dev | gawk -F' *' '{ print $1 }' | gawk -F'/dev/' '{
print $0 }' | grep '/dev/sd' particiones.txt
Can you tell me which version of fdisk you
Orestes leal wrote:
On Wed, 20 Jun 2007 16:29:12 +0200
Michelle Konzack [EMAIL PROTECTED] wrote:
Am 2007-06-14 19:00:47, schrieb Orestes leal:
$fdisk -l | grep dev | gawk -F' *' '{ print $1 }' | gawk -F'/dev/' '{
print $0 }' | grep '/dev/sd' particiones.txt
Stripped
echo -e
Michelle Konzack wrote:
Not the best way, but it works perfectly
See attached Shell-Script.
This is what I have:
[EMAIL PROTECTED]:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 7692876 2444696 4857404 34% /
tmpfs
On Wed, 20 Jun 2007 12:53:19 -0500
Hugo Vanwoerkom [EMAIL PROTECTED] wrote:
Michelle Konzack wrote:
Not the best way, but it works perfectly
See attached Shell-Script.
This is what I have:
[EMAIL PROTECTED]:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
Can anyone please recommend the best way to programatically obtain disk
drive information, partition, and format from an install script?
I presume I could parse the output of fdisk -l to get the drive info.
Seems like there has got to be a better or less error prone method for
doing this sort of
On Thu, 14 Jun 2007 17:51:24 -0500
Dallas Clement [EMAIL PROTECTED] wrote:
Can anyone please recommend the best way to programatically obtain disk
drive information, partition, and format from an install script?
I presume I could parse the output of fdisk -l to get the drive info.
Seems
11 matches
Mail list logo