vavavr00m / boto

Automatically exported from code.google.com/p/boto
1 stars 0 forks source link

manage.Volume only appears to support XFS #274

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The code in manage.Volume ( http://code.google.com/p/boto/source/browse/
trunk/boto/manage/volume.py ) supports snapshots only on volumes which are 
formatted with xfs: the freeze and mount methods both call xfs programs. 
Could this be abstracted? I'm probably going to just modify the methods at 
runtime for the time being.

What version of the product are you using? On what operating system?
boto-svn

Original issue reported on code.google.com by macwri...@gmail.com on 17 Sep 2009 at 4:48

GoogleCodeExporter commented 9 years ago
That's true, only because that's all that I use and so far not many other 
people are
using this part of boto.  However, it seems like the right way to handle this 
would
be to create an "abstract" base Volume class, refactor the current XFSVolume to 
be a
subclass of that and then allow other subclasses to be created for other file 
systems.

Original comment by Mitch.Ga...@gmail.com on 17 Sep 2009 at 5:13