Menu

Example on how to use ntfsinfo

Help
2006-03-31
2012-07-26
  • Nobody/Anonymous

    On Win 2000, I could not get ntfsinfo to
    work. For examples,

    ntfsinfo -m -dc
    ==>
    Failed to set locale, using default '(null)'.
    win32_io.c(199): ntfs_device_win32_open The handle is invalid.
    ioctl failed
    Couldn't mount device '-dc': No error

    ntfsinfo -m -d c:
    ==>
    Failed to set locale, using default '(null)'.
    win32_io.c(199): ntfs_device_win32_open The handle is invalid.
    ioctl failed
    Couldn't mount device 'c:': No error

    Thanks,

    Pham, Binh

     
    • Denis R

      Denis R - 2009-03-02

      Hi there,

      I can't make ntfs progs to work at all here.

      My windows C drive should be sda1.

      bin>ntfsinfo.exe -v -m -d /dev/sda1
      Failed to set locale, using default '(null)'.
      win32_io.c(199): ntfs_device_win32_open The handle is invalid.
      ioctl failed
      Couldn't mount device '/dev/sda1': No error

      Just in case I tried with hda1:

      bin>ntfsinfo.exe -v -m -d /dev/hda1
      Failed to set locale, using default '(null)'.
      Couldn't mount device '/dev/hda1': Invalid argument

      I also have a (separate from gnuwin32 progs) cygwin installation, and this is what it shows in /proc/partitions:

      $ cat /proc/partitions
      major minor #blocks name

      8     0 244198584 sda
      8     1   5092573 sda1
      8     2 239095395 sda2
      

      sda1 is my windows installation, using ntfs.

      So, what am I doing wrong?

      I really would like to get ntfsprogs working here, so I hope you could help me here:)

      Thank you

       
    • GnuWin

      GnuWin - 2006-04-02

      One must use the Linux names of hard disks and partitions. For example,

      ntfsinfo -v -m -d /dev/hda1

      lists info about the first logical partition (usually C:) of the first physical hard drive (hda).

       
MongoDB Logo MongoDB