Based on a patch by Tom Callaway <tcallawa@xxxxxxxxxx>, this adds supporting for using ntfs-3g (and thus fuse) to mount filesystems. --- fsset.py | 6 ++++++ scripts/mk-images | 2 +- scripts/upd-instroot | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fsset.py b/fsset.py index 497ccfa..3472b94 100644 --- a/fsset.py +++ b/fsset.py @@ -128,6 +128,7 @@ class FileSystemType: self.checked = 0 self.name = "" self.linuxnativefs = 0 + self.fusefs = 0 self.partedFileSystemType = None self.partedPartitionFlags = [] self.maxSizeMB = 8 * 1024 * 1024 @@ -266,6 +267,8 @@ class FileSystemType: def isMountable(self): if not FileSystemType.kernelFilesystems: self.readProcFilesystems() + if self.fusefs: + return FileSystemType.kernelFilesystems.has_key("fuse") return FileSystemType.kernelFilesystems.has_key(self.getMountName()) or self.getName() == "auto" @@ -982,6 +985,9 @@ class NTFSFileSystem(FileSystemType): if len(filter(lambda d: os.path.exists("%s/ntfsresize" %(d,)), os.environ["PATH"].split(":"))) > 0: self.resizable = True + if len(filter(lambda d: os.path.exists("%s/mount.ntfs-3g" %(d,)), + os.environ["PATH"].split(":"))) > 0: + self.fusefs = 1 def resize(self, entry, size, progress, chroot='/'): devicePath = entry.device.setupDevice(chroot) diff --git a/scripts/mk-images b/scripts/mk-images index 9e68fac..32da48e 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -112,7 +112,7 @@ FIREWIREMODS="ohci1394 sbp2 fw-ohci fw-sbp2 firewire-sbp2 firewire-ohci" SDMODS="mmc-block sdhci sdhci-pci" IDEMODS="ide-cd ide-cd_mod" SCSIMODS="sr_mod sg st sd_mod scsi_mod iscsi_tcp iscsi_ibft" -FSMODS="fat msdos vfat ext2 ext3 ext4 reiserfs jfs xfs gfs2 cifs" +FSMODS="fat msdos vfat ext2 ext3 ext4 reiserfs jfs xfs gfs2 cifs fuse" LVMMODS="dm-mod dm-zero dm-snapshot dm-mirror dm-multipath dm-round-robin dm-crypt" RAIDMODS="raid0 raid1 raid5 raid6 raid456 raid10 linear" CRYPTOMODS="sha256_generic cbc xts lrw aes_generic crypto_blkcipher crc32c ecb arc4" diff --git a/scripts/upd-instroot b/scripts/upd-instroot index b7bef0e..5d9cc34 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -171,7 +171,7 @@ PACKAGES="GConf2 NetworkManager ORBit2 PolicyKit VLGothic-fonts acl anaconda lohit-fonts-gujarati lohit-fonts-hindi lohit-fonts-kannada lohit-fonts-oriya lohit-fonts-punjabi lohit-fonts-tamil lohit-fonts-telugu lvm2 mdadm mesa-dri-drivers mkinitrd module-init-tools nash ncurses neon net-tools - newt newt-python nfs-utils nspr nss pam pango parted pciutils pcre + newt newt-python nfs-utils nspr nss ntfs-3g pam pango parted pciutils pcre policy policycoreutils popt prelink procps pycairo pygobject2 pygtk2 pygtk2-libglade pykickstart pyparted pyspi python python-bugzilla python-elementtree python-libs python-pyblock python-sqlite @@ -291,6 +291,7 @@ bin/ls bin/mkdir bin/mount bin/mv +bin/ntfs-3g bin/ps bin/rm bin/rpm @@ -386,6 +387,7 @@ sbin/mkraid sbin/mkreiserfs sbin/mkswap sbin/mount.nfs* +sbin/mount.ntfs* sbin/parted sbin/pcmcia-socket-startup sbin/pdisk -- 1.5.4.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list