[opensuse-factory] fdisk / YaST partitionning
Hello, I'm writing a new http://wiki.tldp.org/Partition-Mass-Storage-Tools-HOWTO and so do a scan of the various partitionning tools available. 1) I noticed that openSUSE only provide util-linux fdisk (kernel) when the prefered one seems to be GNU-fdisk, parted based fdisk (http://www.gnu.org/software/fdisk/). is there any important reason to do so? 2) Is the YaST partitionner based on parted? if not, are the libraries specific or coming from...? thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sat, May 09, 2009 at 05:31:39PM +0200, jdd wrote:
Hello, I'm writing a new http://wiki.tldp.org/Partition-Mass-Storage-Tools-HOWTO
and so do a scan of the various partitionning tools available.
1) I noticed that openSUSE only provide util-linux fdisk (kernel) when the prefered one seems to be GNU-fdisk, parted based fdisk (http://www.gnu.org/software/fdisk/).
is there any important reason to do so?
2) Is the YaST partitionner based on parted? if not, are the libraries specific or coming from...?
Yes, YaST uses exclusively parted (as external program, not as a library) for partitioning. ciao Arvin -- Arvin Schnell, <aschnell@suse.de> Senior Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Arvin Schnell a écrit :
Yes, YaST uses exclusively parted (as external program, not as a library) for partitioning.
does this mean YaST collect infos on hes GUI then send line command options to parted? Is there a way to have printed these options (debug mode?) when using YaST? thanks jdd -- http://www.dodin.net http://valerie.dodin.org http://news.opensuse.org/2009/04/13/people-of-opensuse-jean-daniel-dodin/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Sat, May 09, 2009 at 06:38:53PM +0200, jdd wrote:
Arvin Schnell a écrit :
Yes, YaST uses exclusively parted (as external program, not as a library) for partitioning.
does this mean YaST collect infos on hes GUI then send line command options to parted?
It's not the GUI directly that calls parted but libstorage (which is part of YaST).
Is there a way to have printed these options (debug mode?) when using YaST?
You can look at the YaST log in /var/log/YaST/y2log. All commands libstorage calls are logged including their output. You can e.g. search for "/usr/sbin/parted" or for "SystemCmd Executing". ciao Arvin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Arvin Schnell
-
jdd