mount system call

Sid Kas (kernel_i386@hotmail.com)
Sun, 16 Jul 2000 12:38:56 EDT


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/