BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] File systems that support file cloning
- Subject: [Discuss] File systems that support file cloning
- From: derek at ihtfp.com (Derek Atkins)
- Date: Thu, 17 Nov 2022 08:54:11 -0500
- In-reply-to: <20221117084322.088560dc.Richard.Pieri@gmail.com>
- References: <87fsei9xd9.fsf@hobgoblin.ariadne.com> <20221117084322.088560dc.Richard.Pieri@gmail.com>
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
- Follow-Ups:
- [Discuss] File systems that support file cloning
- From: gaf.linux at gmail.com (Jerry Feldman)
- [Discuss] File systems that support file cloning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] File systems that support file cloning
- References:
- [Discuss] File systems that support file cloning
- From: worley at alum.mit.edu (Dale R. Worley)
- [Discuss] File systems that support file cloning
- From: richard.pieri at gmail.com (Rich Pieri)
- [Discuss] File systems that support file cloning
- Prev by Date: [Discuss] File systems that support file cloning
- Next by Date: [Discuss] File systems that support file cloning
- Previous by thread: [Discuss] File systems that support file cloning
- Next by thread: [Discuss] File systems that support file cloning
- Index(es):
