[Toybox] blkid fixed for strict-alias

Isaac ibid.ag at gmail.com
Fri Oct 11 21:50:28 PDT 2013


On Tue, Oct 08, 2013 at 09:01:32PM -0500, Rob Landley wrote:
> By the way:
> 
> $ cd linux/fs
> $ grep -l FS_REQUIRES_DEV */*.[ch] | sed 's@/.*@@' | sort -u | xargs
> echo
> adfs affs befs bfs btrfs cramfs efs ext2 ext3 ext4 f2fs fat freevxfs
> fuse gfs2 hfs hfsplus hpfs isofs jfs logfs minix nfsd nilfs2 ntfs
> ocfs2 omfs qnx4 qnx6 reiserfs romfs squashfs sysv udf ufs xfs
> 
> That should be all the block backed filesystems in the linux kernel,
> so if we cover all those we're good. (I'm not hugely interested in
> fuse-only filesystems, that could be anything.)
> 
> The ones we _don't_ currently have are:
> affs befs efs freevxfs fuse gfs2 hfs hfsplus hpfs isofs logfs minix
> nfsd ocfs2 omfs qnx4 qnx6 sysv udf ufs
> 
> What's 'xiafs'? It's not in that list. Apparently portions of it are
> used in fs/qnx4...
> http://en.wikipedia.org/wiki/Xiafs
> Removed in the 2.1 development series. Uh-huh. That's more than a
> decade ago now, I think we can yank support for that.

http://time.to.pullthepl.ug/blog/2013/6/24/porting-an-ancient-filesystem-to-modern-linux/
https://github.com/ctdk/modern-xiafs

(I don't think that's worth adding support, though.)

nfs...does that work via devices? I know it's network based, but not if
it shows up in /dev.
ocfs2 and gfs2 are clustered filesystems.
omfs is the Rio Karma fs, which is to say very few users.
(It got merged because it was well written, simple, and all that.)
affs is Amiga Fast File System.
befs is the Be File System.
(Both rather niche and old...though BFS is more so, since it's the boot
filesystem for SCO UnixWare!)
hpfs is the old OS/2 fs; it was ~ the last code to use the BKL...which
says a bit about how active maintenance is.
It also is supposed to be very similar to NTFS.
efs is the old IRIX fs (pre XFS)
hfsplus is OS X. It's probably needed.
hfs, on the other hand, is the old Mac OS fs; since OS X 10.6, it's RO.
So it's deprecated.
logfs may well be desireable. (Flash memory, sponsored by the CE Linux
Forum, ...)
UFS is not well-supported on Linux, but IIRC it's used on OS X (non-default),
and on many of the BSDs.

So I'd say:
include: hfsplus isofs udf logfs minix
maybe: ufs qnx6 hfs ocfs2 gfs2 nfs qnx4 hpfs
unlikely: omfs affs befs sysv efs freevxfs

Thanks,
Isaac Dunham

 1381553428.0


More information about the Toybox mailing list