Search:

Type: Posts; User: rak1986

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,545

    support for ext4 filesystem

    I need to write a backup/restore utility for Linux. Even the ext4 file-system will be supported. While I download Fedora 11 using the ext4 file-system I had a question.

    Will the existing API's on...
  2. Hello people, need some help here..

    Hello people, need some help here..
  3. Mac OS X 10.4: getattrlist() to know the File-system type

    Hello All,
    I need to identify via a program the file-system types of all mounted volumes. There are 2 options : using getattrlist() or getmntinfo().

    With getattrlist() ATTR_VOL_FSTYPE gives the...
  4. Replies
    2
    Views
    1,213

    effective hardware resources management

    Hello All,
    I maintain a set of servers running Windows, Linux, Solaris. Few machines are used frequently while most are rarely used.

    I need to identify different ways in which resource...
  5. How to know if a volume is mounted with ACL enabled

    Hello,
    Sorry this is a question related to Mac OS X programming, but this forum was the closest.

    I need to identify programatically information about a volume, its type flags. I can get...
  6. Replies
    0
    Views
    1,787

    ioctl on SCSI drive failing

    Hello,
    I am trying to communicate with a tape drive using ioctl and SCSI_IOCTL_SEND_COMMAND as ioctl(fd, SCSI_IOCTL_SEND_COMMAND, buffer);

    I read that the buffer should be of the form :


    ...
  7. Replies
    1
    Views
    3,004

    HI guys, I need some help here. Is it...

    HI guys,
    I need some help here.
    Is it possible to write a generic function to support all SCSI commands?

    Thanks....
  8. Replies
    1
    Views
    3,004

    SCSI programming

    Hello,
    I am trying to communicate with a tape drive using ioctl and SCSI_IOCTL_SEND_COMMAND as ioctl(fd, SCSI_IOCTL_SEND_COMMAND, buffer);

    I read that the buffer should be of the form :
    ...
  9. running binaries built on Mac OS X 10.4 on Mac OS X 10.5

    Hello All,
    Can I run binaries built on an x86 Mac OS X 10.4 machine on a 10.5 x86 machine?

    I am using gcc

    Thanks in advance...
  10. building an i386 binary on a ppc machine using gcc

    hello all,
    using gcc 4.0.1 on a Mac OS X 10.4 (i386) i am able to produce successfully a "ppc" binary
    # gcc -arch ppc -o prg prg.c

    But I am not able to produce an i386 binary on a "ppc"...
  11. Replies
    3
    Views
    3,394

    i replaced value with xattr_size and its working...

    i replaced value with xattr_size and its working now

    thanks.......
  12. Replies
    3
    Views
    3,394

    Why is setxattr failing?

    This program has been written under Mac OS X 10.4



    #include<stdio.h>
    #include<unistd.h>
    #include<sys/types.h>
    #include<sys/stat.h>
    #include<errno.h>
    #include<sys/syslimits.h>
  13. Replies
    4
    Views
    2,469

    It identifies the alias as a regular file and not...

    It identifies the alias as a regular file and not a sym link

    I tried out a program using both S_ISLNK and S_ISREG
  14. Replies
    3
    Views
    1,131

    Oh, I completely overlooked that. Thanks a lot...

    Oh, I completely overlooked that.

    Thanks a lot for pointing out. Works fine now :)
  15. Replies
    4
    Views
    2,469

    Mac OS X aliases

    Hi all,
    This question is specific to the Mac OS X platform. So Mac OS users please help.

    Mac OS X / HFS+ filesystem has aliases.

    How can I identify them through a program?
    I read that...
  16. Replies
    3
    Views
    1,131

    This is the output I get : # ./acl_prg 1.txt...

    This is the output I get :

    # ./acl_prg 1.txt 2.txt
    File copy complete
    setting ACL's for file
    Bus error
  17. Replies
    3
    Views
    1,131

    bus error on using acl_get_fd , acl_set_fd

    Hi all,
    I am trying to write a program to copy a file and also its ACL's. However, though the program compiles I get a bus error after acl_set_fd
    Here is the program


    #include<stdio.h>...
  18. Replies
    1
    Views
    4,534

    Using asynchoronous I/O : readv and writev

    Hi,
    I am trying to write a program to copy files using aync I/O in unix.
    I have written this code :



    #include<stdio.h>
    #include<sys/types.h>
    #include<sys/uio.h>
    #include<unistd.h>
  19. Replies
    2
    Views
    1,108

    Issue with const int

    Hi,
    I tried the following program :


    #include<stdio.h>
    #include<string.h>

    int main()
    {
    const int PI=3;
  20. I want to use file inodes to open, read, write,...

    I want to use file inodes to open, read, write, seek files etc. This can be used for file copying. The reason why I asked whether these FILE I/O operations can be performed using Inode number instead...
  21. Performing File operations using File Inode number

    Hi all,
    Is it possible to perform file I/O operations in Unix like open,read,write etc. using the file inode number?

    Thanks
  22. Replies
    2
    Views
    2,343

    Copying all files in a directory

    Hi all,
    I need to write a C program to copy all files in a directory to another directory. Only the directory name will be specified as the source. Can anyone tell me how I should go about...
Results 1 to 22 of 22