It's stdout:

sh-2.05b# parted -s -- /dev/sda print 2>/dev/null
Warning: Unable to align partition properly.  This probably means that another 
partitioning tool generated an incorrect partition table, because it didn't 
have the correct BIOS geometry.  It is safe to ignore,but ignoring may cause 
(fixable) problems with some boot loaders.
Disk geometry for /dev/sda: 0.000-69878.000 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.000    284.195  primary   ext2        boot
2        284.195   2236.366  primary   linux-swap  
3       2236.367  69878.000  primary   xfs  

Just to be sure....:
       
sh-2.05b# parted -s -- /dev/sda print 1>/dev/null
sh-2.05b# 

Andrea Righi wrote:
> Right.. it's a common behaviour for a lot of distros... and what about
> the output, is it printed to stdout or stderr?
> 
> Cheers,
> -Andrea
> 
> Mitch Sako wrote:
> 
>>I checked again.  The RH RPM is parted-1.6.3-29.5 if that makes any
>>difference.  RH usually doesn't change the minor release number and just
>>appends patches to it.
>>
>>Mitch
>>
>>Andrea Righi wrote:
>>
>>>Mitch Sako wrote:
>>>
>>>
>>>>$ parted --version
>>>>GNU Parted 1.6.3
>>>
>>>
>>>it's a very old version... have you tried to update it to a newer
>>>release (at least 1.6.23)?
>>>
>>>
>>>
>>>>$ parted -s -- /dev/sda print
>>>>Warning: Unable to align partition properly.  This probably means that
>>>>another partitioning tool generated an incorrect partition table,
>>>>because it didn't have the correct BIOS geometry.  It is safe to
>>>>ignore,but ignoring may cause (fixable) problems with some boot loaders.
>>>>Disk geometry for /dev/sda: 0.000-76324.500 megabytes
>>>>Disk label type: msdos
>>>>Minor    Start       End     Type      Filesystem  Flags
>>>>1          0.000    271.074  primary   ext2        boot
>>>>2        271.075  53022.036  primary   xfs         3      53022.037 
>>>>76324.438  primary   linux-swap
>>>>
>>>
>>>
>>>Anyway, the output seems correct... can you check if it is printed to
>>>stdout or stderr? for example what happens if you run:
>>>
>>># parted -s -- /dev/sda print 2>/dev/null
>>>
>>>If the commands doesn't print anything we can fix it redirecting all to
>>>stdout... let me know..
>>>
>>>Cheers,
>>>-Andrea
>>>
>>>
>>
>>
> 
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sisuite-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-users

Reply via email to