I can't make ntfs progs to work at all here. I cannot figure out what, how to pass for device/ partition I'm refering to to any of the ntfsprogs. Nothing seems to work.
Does it expect some special Windows path?
Under Linux, the ntfs drive would be /dev/sda1.
I'm trying under Win XP using the GnuWin32 ntfsprogs:
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:
I've just built ntfsprogs v 2.0.0 on cygwin (built & linked against cygwin libs), and it works, provided I substitute h for s on my sata harddisk or usb flash, or removables.
So if my Windows partition is /dev/sda1, under cygwin, I use /dev/hda1 for ntfsprogs (they use their own emulation for disks?).
Its awkward but works. I hope future version of ntfsprogs will be more 'alike' to linux/unix disk node mapping
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
I can't make ntfs progs to work at all here. I cannot figure out what, how to pass for device/ partition I'm refering to to any of the ntfsprogs. Nothing seems to work.
Does it expect some special Windows path?
Under Linux, the ntfs drive would be /dev/sda1.
I'm trying under Win XP using the GnuWin32 ntfsprogs:
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
Hello,
I've just built ntfsprogs v 2.0.0 on cygwin (built & linked against cygwin libs), and it works, provided I substitute h for s on my sata harddisk or usb flash, or removables.
So if my Windows partition is /dev/sda1, under cygwin, I use /dev/hda1 for ntfsprogs (they use their own emulation for disks?).
Its awkward but works. I hope future version of ntfsprogs will be more 'alike' to linux/unix disk node mapping
Apparently this version of ntfsprogs does not work for SATA drives. A new release is being ported, but it will take some time before this available.