On Miércoles, 27 de junio de 2012 18:19:07 JD escribió:
> On 06/27/2012 05:38 PM, Jose Alberto Reguero wrote:
> > On Miércoles, 27 de junio de 2012 16:10:50 JD escribió:
> >> On 06/27/2012 04:01 PM, Jose Alberto Reguero wrote:
> >>> I have a usb3.0 disk. With ntfscp I reach very high write rates,  but
> >>> with
> >>> ntfs-3g mount I have write rates like with usb 2.0.
> >>> 
> >>> Any ideas why the difference?
> >>> 
> >>> Thanks.
> >>> 
> >>> Jose Alberto
> >> 
> >> So, when you are using ntfscp, is your usb3 disk mounted or not?
> >> If mounted, show output of the command mount and only copy and
> >> paste what it reports about your disk.
> > 
> > ntfscp need that the driver was not mounted.
> 
> Interesting. The man page says:
>   ntfscp  will  copy  file  to  an  NTFS volume. destination can be
> either file or directory. In case if destination is
>         directory specified by name then source_file is copied into this
> directory, in case if destination is  directory  and
>         specified  by  inode  number  then unnamed data attribute is
> created for this inode and source_file is copied into it
>         (WARNING: it's unusual to have unnamed data streams in the
> directories, think twice before  specifying  directory  by
>         inode number).
> 
> So, ntfscp needs a destination filename (ostensibly, within a directory
> of the MOUNTED drive), or a directory residing within the MOUNTED drive.
> 
> So, are you 1000000% sure that you are actually copying a file from/to
> the usb3 drive
> WITHOUT mounting it first? Linux desktop will automount a usb drive.
> I think you must be unaware that your drive get's automounted as type
> fuseblk (another name for mounting ntfs drives in user space). Without
> mounting, I see no way that ntfscp will copy anything
> to an ntfs partition without first mounting it, or unless you have write
> permissions on the block device - which would not be a wise thing to do.
>
I am sure. ntfscp warn about the drive mounted, and don't work if it is 
mounted. I umount the drive by hand. Yes, I must be root, to have write 
permisions to the device. I copy one single file. 

Jose Alberto

>  From your followoup post, your drive us mounted as fuseblk.
> 
> "fuseblk" is just how an ntfs partition is reported via the "mount"
> command, among others.  "fuse" stands for file system in userspace.
> The Linux fs type ntfs and associated utils is provided via the ntfs-3g
> package.
> 
> >> When you say you use ntfs-3g mount, and then you copy, correct?
> >> What command or method do you use to copy?
> > 
> > Whith ntfs-3g mount I use cp.
> 
> OK.
> You have to re-examine your first assertion that
> 
> >  I have a usb3.0 disk. With ntfscp I reach very high write rates,  but
> >  with
> >  ntfs-3g mount I have write rates like with usb 2.0.
> 
> ----------------------------------------------------------------------------
> -- Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> ntfs-3g-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
ntfs-3g-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel

Reply via email to