[Discuss] File systems that support file cloning

Jerry Feldman gaf.linux at gmail.com
Thu Nov 17 15:01:31 EST 2022


I have successfully shrunk fat and ntfs file systems along with ext 2,3 and
4.

--
Jerry Feldman <gaf.linux at gmail.com>
Boston Linux and Unix http://www.blu.org
PGP key id: 6F6BB6E7
PGP Key fingerprint: 0EDC 2FF5 53A6 8EED 84D1  3050 5715 B88D 6F6
B B6E7

On Thu, Nov 17, 2022, 8:56 AM Derek Atkins <derek at ihtfp.com> wrote:

>
> On Thu, November 17, 2022 8:43 am, Rich Pieri wrote:
>
> [snip]
> >> The only feature that I desire that xfs doesn't have is file system
> >> shrinking.  It does have file system expansion, and oddly, it is
> >> *only* available when the file system is mounted.  I'm a little
> >> surprised that nobody has implemented shrinking yet.
> >
> > Because it's hard. The only file system I can recall supporting volume
> > shrinking is IBM's JFS.
>
> I am pretty sure that ext2/3/4 supports shrinking.
>
> Certainly (V)FAT supports shrinking (although I am certainly not
> recommending that).
>
> Shrinking a FS can sometimes be important.  For example, I was working on
> a device firmware image and the device they gave me to work with had a
> 128GB eMMC whereas the "production" devices have a 32G eMMC.  So the
> filesystem image I created was for 128G, which meant it couldn't flash
> onto a 32G device without shrinking.
>
> So yes, shrinking *IS* important (in some circumstances).
>
> -derek
>
> --
>        Derek Atkins                 617-623-3745
>        derek at ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant
>
> _______________________________________________
> Discuss mailing list
> Discuss at lists.blu.org
> http://lists.blu.org/mailman/listinfo/discuss
>


More information about the Discuss mailing list