Re: File system mount issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> wrote:

Then use HEPunion with -t switch

Greg

1 lip 2013 20:18, "Saket Sinha" <saket.sinha89@xxxxxxxxx> napisał(a):
Hi Daniel,

It shows
nodev         HEPunion

Regards,
Saket Sinha


On Mon, Jul 1, 2013 at 11:37 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx> wrote:
On Mon, Jul 1, 2013 at 8:28 PM, Saket Sinha <saket.sinha89@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux