Comments (8)
@bingel74 Could you comment about how to reproduce it (commands, labs, etc.) and information about the host OS ?
from netkit-ng-core.
OS: Ubuntu Desktop 12.04 (updated)
After downloading and installing netkit-ng I executed check script "check_configuration.sh". All cecks passed except following:
###########################################################
Checking filesystem type... failed!
*** Warning: You appear to be running Netkit on a filesystem ()
that does not support sparse files. This may result in dramatic performance
loss and disk space consumption. It is strongly advised to run Netkit
on a filesystem that supports sparse files (e.g., extX, NTFS, ReiserFS do;
FAT32 does not).###########################################################
However my file system obviously supports sparse files because it is ext4.
from netkit-ng-core.
However I found the bug. It is in script "netkit-ng/check_configuration.d/08-check_filesystem.sh". I have seen the command that check file system type is the following:
stat -f . | grep -w Type
Since my bash output is in localized language, voilà the error.
Using this command to run check script:
LANG=C ./check_configuration.sh
bash returns no errors.
from netkit-ng-core.
Maybe I'm wrong, however I think this is a weak way to check if user uses a file system that supports sparse files because labs could be created on others partitions and not perforce in same partition where netkit is installed.
from netkit-ng-core.
There is two problems:
- Localization problems: a simple idea would be to force export LANG=C at the start of each script.
- Weak check to test support for sparse fs: no idea for a better solution at the present time
from netkit-ng-core.
Fix proposal pushed in bfb5344 to force english language for called commands.
from netkit-ng-core.
Fix proposal pushed in 77296af for checking filesystem support for sparse file for model fs or fs.
from netkit-ng-core.
Fixes released in version 3.0.4.
from netkit-ng-core.
Related Issues (9)
- modules are not mounted at boot
- /etc/resolv.conf is a link to a file that does not exist
- Missing dynamic library dependency when calling vhalt HOT 6
- Some processes are present in the host after exit by halt command
- Cannot start second console HOT 8
- Mount netkit-fs-i386-F7.0 HOT 1
- System appears not to be able to run the linux kernel HOT 2
- Build amd64 netkit-ng
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netkit-ng-core.