Hi! On 08/12/2013 07:53 PM, [email protected] wrote: > Hi! >>> Now this is getting a bit out of hand. >>> >>> What about we change the tests (we have) to take only device to work >>> with and let each test prepare the filesystem it needs? This will >>> simplify the runltp script to only prepare loop device. >>> >>> If we agree on that I can write the tst_mkfs() function and convert >>> current usages. >> >> What about the progress of this work? :) > > I've just pushed a patchset that implements this functionality. > (It has been finished previous week but I hold it util I had time to > test it properly) > > Everybody please test this change and report any problems.
I got a little problem when using this function. Defaultly, the command mkfs.xfs will not write to the device if it suspects that there is a filesystem or partition table on the device already. So, i need to add the "-f" option for mkfs.xfs to force the formatting. But, the command "mkfs dev -t xfs -f" does not work as expected. Could you please change it to "mkfs -t fs_type fs_opts dev" in tst_mkfs()? Regards, DAN LI > ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
