mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
hdd_menu: only offer filesystems with kernel support
This commit is contained in:
committed by
Jacek Jendrzej
parent
42c2323135
commit
141872565e
@@ -64,6 +64,7 @@ class CHDDMenuHandler : public CMenuTarget
|
||||
bool mounted;
|
||||
};
|
||||
std::vector<hdd_s> hdd_list;
|
||||
std::set<std::string> kernel_fs_list;
|
||||
struct cmp_hdd_by_name: public binary_function <const struct hdd_s, const struct hdd_s, bool>
|
||||
{
|
||||
bool operator() (const struct hdd_s c1, const struct hdd_s c2)
|
||||
@@ -84,6 +85,7 @@ class CHDDMenuHandler : public CMenuTarget
|
||||
bool add_dev(std::string dev, std::string part);
|
||||
bool waitfordev(std::string dev, int maxwait);
|
||||
void check_dev_tools();
|
||||
void check_kernel_fs();
|
||||
devtool_s * get_dev_tool(std::string fmt);
|
||||
|
||||
int showDeviceMenu(std::string dev);
|
||||
|
Reference in New Issue
Block a user