Re: [PATCH] Make save to usb work.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, April 14 2009, Chris Lumens said:
> > >  storage/__init__.py |    6 +++---
> > >  1 files changed, 3 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/storage/__init__.py b/storage/__init__.py
> > > index 4c365f7..8678b6e 100644
> > > --- a/storage/__init__.py
> > > +++ b/storage/__init__.py
> > > @@ -470,11 +470,11 @@ class Storage(object):
> > >                  if part.active and \
> > >                     not part.getFlag(parted.PARTITION_RAID) and \
> > >                     not part.getFlag(parted.PARTITION_LVM) and \
> > > -                   part.fileSystemType in ("ext3", "ext2", "fat16", "fat32"):
> > > -                    dests.append(part.path, device.name)
> > > +                   part.fileSystem.type in ("ext3", "ext2", "fat16", "fat32"):
> > > +                    dests.append([part.path, device.name])
> > 
> > Perhaps a dumb question, but do we care about ext4 here too?
> 
> Yes, yes we do.
> 
> We really need a better test here than keeping a static list.  Perhaps
> we should make this the sum of linux filesystems and msdos filesystems?

Maybe we should just go for a blacklist of things which aren't mountable
rather than having a list of things which are?  ntfs and swap would be
the two I'd then add to the not allowed list

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux