On 24 Apr 2012 at 18:18, Alain Knaff wrote:
Date sent: Tue, 24 Apr 2012 18:18:38 +0200
From: Alain Knaff <alain(a)knaff.lu>
To: Molnar Bence <molbence(a)gmail.com>
Copies to: udpcast(a)udpcast.linux.lu
Subject: Re: [Udpcast] ntfs-3g
On 24/04/12 16:19, Molnar Bence wrote:
[...]
Both client boots fine. After transfer, on the
destination client, i
try to mount the partiton with ntfs-3g, and fails. (mkdir /mnt && cp
/bin/fuse.ko /lib/modules/3.1.6udpcast/kernel/ && depmod -a &&
modprobe fuse && /bin/ntfs-3g /dev/sda1 /mnt)
Failed to write lock '/dev/sda1': Permission denied
Error opening '/dev/sda1': Permission denied
Failed to mount '/dev/sda1': Permission denied
By googling for the error messages, I found out that this was issued
by the last of your commands (/bin/ntfs-3g /dev/sda1 /mnt)
Why is the ntfs partition being mounted? It would seem that
neither the partition being copied or the partition being written
should be mounted during the copy process.
With my g4l project, I've used udpcast to copy partition to
partitions or an image to partitions both ntfs and ext? with no
issues.
Most forums talking about this issue suggest that
maybe the lock fails
because the device is already mounted.
You can find out whether this is actually the case by looking at
/proc/mounts .
I also tried to compile ntfs-3g with external fuse without results.
Thanks for help.
Now i tried to compile the entire udpcast and create an own image,
but its failed also. Buildroot is compiled, but the compilation of
busybox failed, it misses cc1 (i386-unknown-linux-uclibc-gcc: error
trying to exec 'cc1': execvp: No such file or directory). But its a
different stroy, if first problem solved, i dont care about this
story.
Udpcast's busybox is now compiled with uclibc, in order to generate a
more compact executable. You need to install an uclibc environment
first (such as buildroot :http://buildroot.uclibc.org/ )
When compiling uclibc, make sure you chose "large file support" in
make menuconfig (ToolChain -> Toolchain Options, scroll way down, then
check "Enable large file (files > 2GB) support")
regards,
Bence
Regards,
Alain
_______________________________________________
Udpcast mailing list
Udpcast(a)udpcast.linux.lu
https://udpcast.linux.lu/cgi-bin/mailman/listinfo/udpcast
+----------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor
Guam Community College Computer Center
mailto:mikes@kuentos.guam.net
mailto:msetzerii@gmail.com
http://www.guam.net/home/mikes
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC@HOME CREDITS
SETI 12131643.859473 | EINSTEIN 7731075.459852
ROSETTA 4462451.611965 | ABC 12504726.087187