guess_fstype: 120911: btrfs support

A little while ago (120705), I fixed ext4 detection in guess_fstype. Now, technosaurus has added btrfs detection, bugfixed adfs, and replaced printf() with write() for smaller size:

I have uploaded the x86 PET (7KB):

The source can be found here:

This utility is compiled statically with dietlibc, and is also in Woof, in the initrd. This update will be in the next commit of Woof.

Note, I need to compile for ARM boards, will do that soon.

Posted on 15 Sep 2012, 7:10


Posted on 15 Sep 2012, 10:54 by Ted Dog
Since you have that part of the code freshly gone over would you add a check for UDF (blu-ray) for booting and mounting. Everything is in place in recent puppies but never checked for. At booting a blu-ray fails but kernel/ environment is fully functional, I can type in the mount code and access the blu-ray data. Also If mounted as UDF the files show the correct size in Rox and elsewhere. UDF should attempted before iso9600 (older cd/DVD type)to get passed the file size truncation that occur when UDF filesystem is accessed as the older type.

Posted on 16 Sep 2012, 6:05 by technosaurus
re: udf
Can you point to a project(s) that has it working?

Posted on 16 Sep 2012, 14:35 by Ted Dog
UDF used for BluRay
udf file system projects
About 370,000 results
Is that a list O'Dino can use?
or is it more what is UDF used for, or is it useful?
DVD, Blu-ray Video and Data >4G in size.

Linux supports UDF up to version 2.60

UDF should be supported in booting and mounting so that puppylinux and keep its lead in linux use of multisesson, as a storage option. ISO9660 was replaced by UDF.