Bug#277205: valid_filesystems mishandles third argument
Package: partman-newworld
Version:
According to the partman manual,
Packages that provide support for some file system should install a
script in the directory
<file>/lib/partman/valid_filesystems</file>. The first argument given
to this script is some device directory, the second argument is the
id of some partition and the third argument is one of the strings
`formatable' and `existing'. If it is `formatable' then the job of
the script is to check if the specified partition can be formatted
and used. If the third argument is `existing' then the job of the
script is to check if the partition can be used without formatting.
In either case if the partition can be used then the script should
print a line with the identifier of the type of the file system.
partman-newworld's valid_filesystem script prints nothing unless the
third argument is "newworld", in which case it prints "newworld".
--
Matt
Reply to: