Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 102369

Summary: mkfs.ntfs symlink for mkntfs of ntfsprogs
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2005-08-13 07:17:27 UTC
mkfs.ntfs is missing for ntfs. Adding the following line to then end of
src_install fixes this:

dosym /usr/sbin/mkntfs /usr/sbin/mkfs.ntfs


--- ntfsprogs-1.11.1-r1.ebuild  2005-08-13 17:05:07.104196952 +0300
+++ ntfsprogs-1.11.1-r2.ebuild  2005-08-13 17:06:39.782107768 +0300
@@ -1,3 +1,4 @@
+
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header:
/var/cvsroot/gentoo-x86/sys-fs/ntfsprogs/ntfsprogs-1.11.1-r1.ebuild,v 1.1
2005/07/29 00:24:28 vapier Exp $
@@ -39,4 +40,5 @@
        make DESTDIR="${D}" install || die "Install failed"
        dodoc AUTHORS CREDITS ChangeLog NEWS README TODO.* \
                doc/attribute_definitions doc/*.txt doc/tunable_settings
+       dosym /usr/sbin/mkntfs /usr/sbin/mkfs.ntfs
 }
Comment 1 SpanKY gentoo-dev 2005-08-13 17:46:25 UTC
dont see much use for this ...
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2005-08-14 02:07:00 UTC
Every other filesystem has this command. Why not for ntfs? It is much easier
when they all follow the same format. 
Comment 3 SpanKY gentoo-dev 2005-08-14 06:13:48 UTC
e-mail the ntfsprogs devs then and see if they'll be willing to add it to their
build system ... if they go for it i'll add it to our ebuild ...
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2005-08-14 06:17:32 UTC
betelgeuse@pena /usr/portage/sys-fs $ grep "dosym.*mkfs" -r *
jfsutils/jfsutils-1.1.4.ebuild: dosym /sbin/jfs_mkfs /sbin/mkfs.jfs
jfsutils/jfsutils-1.1.7.ebuild: dosym /sbin/jfs_mkfs /sbin/mkfs.jfs
jfsutils/jfsutils-1.1.8.ebuild: dosym /sbin/jfs_mkfs /sbin/mkfs.jfs
reiserfsprogs/reiserfsprogs-3.6.17.ebuild:      dosym mkreiserfs /sbin/mkfs.reiserfs
reiserfsprogs/reiserfsprogs-3.6.18.ebuild:      dosym mkreiserfs /sbin/mkfs.reiserfs
reiserfsprogs/reiserfsprogs-3.6.19.ebuild:      dosym mkreiserfs /sbin/mkfs.reiserfs

At least a couple of ebuilds to the symlinking but I will mail upstream. 
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2005-08-26 13:10:29 UTC
(In reply to comment #3)
> e-mail the ntfsprogs devs then and see if they'll be willing to add it to their
> build system ... if they go for it i'll add it to our ebuild ...

This is done in the upstream cvs. I can try digging it up after I get my system
running again after a recent hard drive failure.
Comment 6 SpanKY gentoo-dev 2005-08-26 20:14:33 UTC
thanks, now in portage