WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Duplicate executables in ntfsprogs  (Read 2136 times)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Duplicate executables in ntfsprogs
« 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Duplicate executables in ntfsprogs
« Reply #1 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Duplicate executables in ntfsprogs
« Reply #2 on: September 18, 2012, 10:48:20 PM »
What does "ls -li" show?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: Duplicate executables in ntfsprogs
« Reply #3 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?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Duplicate executables in ntfsprogs
« Reply #4 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.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: Duplicate executables in ntfsprogs
« Reply #5 on: September 18, 2012, 11:17:11 PM »
Hi tinypoodle
OK, thanks.

@juanito: Never mind.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Duplicate executables in ntfsprogs
« Reply #6 on: September 18, 2012, 11:26:11 PM »
In addition ../bin/ntfsmount also has inode 15.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)