Can you send me the file mentioned?
guy keren wrote:
On Sun, 6 Nov 2005, David Harel wrote:
I am trying to mount a vfat file system (digital camera on a USB port).
Something like:
if (mount(dev, mpoint, fstype, mountflags, mopts) == -1)
{
...
}
Looking at strace mount: strace -s64 mount -t vfat -o uid=harel \
/dev/sda1 /mnt/camera 2>/tmp/mount.trace
I can see the mount system call:
mount("/dev/sda1", "/mnt/camera", "vfat",
MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0x805ce70) = 0
The problem is I can't find the above flags in any include file.
Tried:
> find /tmp/util-linux-2.12r -type f | xargs grep -l MS_POSIXACL
> find /usr/include -name '*.h' | xargs grep -l MS_POSIXACL
/usr/include/linux/fs.h - on an SLES9 machine.
--
Thanks.
David Harel,
==================================
Home office +972 77 4422234
Fax: +972 77 4422234
Cellular: +972 54 4534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email: [EMAIL PROTECTED]
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]