mount system call

From: Sid Kas (kernel_i386@hotmail.com)
Date: Sun Jul 16 2000 - 11:38:56 EST


Hi All,

  I am trying to use the "int mount() system call as a super user. Although
it works for floppy, but for cdrom I get the message "permission denied" and
the error code of 13 is set.

  mount("/dev/cdrom", "/mnt/cdrom", "iso9660", MD_RDONLY, NULL);

  Can soemone please give me some suggestions.

   Thnks,
    Sid.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jul 23 2000 - 21:00:08 EST