LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unknown filesystem type 'hostfs' (https://www.linuxquestions.org/questions/linux-newbie-8/unknown-filesystem-type-hostfs-4175460294/)

Sun Sky 05-01-2013 09:10 AM

unknown filesystem type 'hostfs'
 
Hi

When I want to do "mount none /mnt/tmp -t hostfs -o /home/imada_login/Desktop", I see this error message:
unknown filesystem type 'hostfs'

what should I do to solve this problem.
thanks!

Beryllos 05-01-2013 11:06 AM

First, let me say I have not used hostfs or UML, but I'll try to help.

Are you attempting to do this mount on a UML (User-Mode Linux) virtual machine? If not, that may be the problem; hostfs is not one of the standard mount options for Linux (try 'man mount' on your system, scrolling down to the -t options, to be sure), but exists as a mount option in UML.

If you are not using UML and you just want to create an alternative location for a directory, use a symbolic link:
Code:

ln -s /home/imada_login/Desktop /mnt/tmp
Later on, when you wish, you can unlink it with:
Code:

rm /mnt/tmp


All times are GMT -5. The time now is 11:20 AM.