File system mount issue

Saket Sinha saket.sinha89 at gmail.com
Mon Jul 1 14:36:29 EDT 2013


Even even when I try
mount   -t    HEPunion    none    /mnt/sak

I get the same error. Is it something to do with my driver code? I mean I
have implemented the system call for mounting the fs then why such an error
is coming?


Regards,
Saket Sinha


On Tue, Jul 2, 2013 at 12:01 AM, Grzegorz Dwornicki <gd1100 at gmail.com>wrote:

> Your file system has nodev in fikesystems soo it does not require block
> device. Try none instead /dev/sda1
> 1 lip 2013 20:29, "Saket Sinha" <saket.sinha89 at gmail.com> napisał(a):
>
> As suggested
>>
>> now when I do-
>> mount -t HEPunion    /dev/sda1    /mnt/sak
>>
>> Now I am getting an error message-
>>
>> mount:wrong fs, bad option, bad superblock on /dev/sda1, Missing codepage
>> or other error.
>>
>> Regards,
>> Saket Sinha
>>
>>
>>
>> On Mon, Jul 1, 2013 at 11:54 PM, Grzegorz Dwornicki <gd1100 at gmail.com>wrote:
>>
>>> Then use HEPunion with -t switch
>>>
>>> Greg
>>> 1 lip 2013 20:18, "Saket Sinha" <saket.sinha89 at gmail.com> napisał(a):
>>>
>>>>  Hi Daniel,
>>>>
>>>> It shows
>>>> nodev         HEPunion
>>>>
>>>> Regards,
>>>> Saket Sinha
>>>>
>>>>
>>>> On Mon, Jul 1, 2013 at 11:37 PM, Daniel Baluta <daniel.baluta at gmail.com
>>>> > wrote:
>>>>
>>>>> On Mon, Jul 1, 2013 at 8:28 PM, Saket Sinha <saket.sinha89 at gmail.com>
>>>>> wrote:
>>>>> >  This is to discuss the problems I am facing with mounting our fs in
>>>>> > 2.6.18.8 kernel in RHEL5.
>>>>> >
>>>>> > I have written the entire fs driver(hepunion) built it and generated
>>>>> my
>>>>> > driver excutable file hepunion.ko.
>>>>> > Now after this hepunion.ko gets generated, I insmod it and then so
>>>>> lsmod to
>>>>> > see that it is there.
>>>>> >
>>>>> > Now how do I mount it? The man page of mount says
>>>>> > mount  -t  filesystem-type  dev  directory
>>>>> >
>>>>> > So I created a mount point directory like /mnt/sak. Now I issue a
>>>>> command
>>>>> > mount -t  hepunion  /dev/sda1 /mnt sak
>>>>> >
>>>>> > ERROR: no filesystem of type  hepunion
>>>>>
>>>>> What does "cat /proc/filesystems" says after you insert your module?
>>>>>
>>>>> thanks,
>>>>> daniel.
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Kernelnewbies mailing list
>>>> Kernelnewbies at kernelnewbies.org
>>>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>>>
>>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130702/4dc7abbe/attachment.html 


More information about the Kernelnewbies mailing list