Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Rich on September 18, 2012, 09:55:40 PM

Title: Duplicate executables in ntfsprogs
Post by: Rich on September 18, 2012, 09:55:40 PM
Hi juanito
Code: [Select]
tc@box:~$ ls -l /tmp/tcloop/ntfsprogs/usr/local/sbin/m*
-rwxr-xr-x 2 root root 67692 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mkfs.ntfs
-rwxr-xr-x 2 root root 67692 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mkntfs
-rwxr-xr-x 3 root root 32516 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mount.fuse.ntfs
-rwxr-xr-x 3 root root 32516 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mount.ntfs-fuse
Aside from identical file sizes, a diff reports no difference between the files.
Title: Re: Duplicate executables in ntfsprogs
Post by: bmarkus on September 18, 2012, 10:02:29 PM
Do not know the package, but probably a symlink was replaced by a full copy during package building.
Title: Re: Duplicate executables in ntfsprogs
Post by: tinypoodle on September 18, 2012, 10:48:20 PM
What does "ls -li" show?
Title: Re: Duplicate executables in ntfsprogs
Post by: Rich on September 18, 2012, 10:58:42 PM
Hi tinypoodle
Code: [Select]
tc@box:~$ ls -li /tmp/tcloop/ntfsprogs/usr/local/sbin/m*
53 -rwxr-xr-x 2 root root 67692 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mkfs.ntfs
53 -rwxr-xr-x 2 root root 67692 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mkntfs
15 -rwxr-xr-x 3 root root 32516 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mount.fuse.ntfs
15 -rwxr-xr-x 3 root root 32516 Oct 26  2009 /tmp/tcloop/ntfsprogs/usr/local/sbin/mount.ntfs-fuse
OK, so what does this mean? I s this an example of a hard link?
Title: Re: Duplicate executables in ntfsprogs
Post by: tinypoodle on September 18, 2012, 11:02:22 PM
Exactly.

Now either that is so on purpose, or modifying what bmarkus said, symbolic links got replaced by hard links.
Either way that shouldn't be bothersome regarding total size.
Title: Re: Duplicate executables in ntfsprogs
Post by: Rich on September 18, 2012, 11:17:11 PM
Hi tinypoodle
OK, thanks.

@juanito: Never mind.
Title: Re: Duplicate executables in ntfsprogs
Post by: tinypoodle on September 18, 2012, 11:26:11 PM
In addition ../bin/ntfsmount also has inode 15.