SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You don't have to. Just install these packages :
1. ntfsprogs
2. FUSE
3. ntfs-3g
You can download the binary in linuxpackages.net, or the source in google.com (sorry :P I forgot)
For me it works. I can write in ntfs partition even as a normal user.
I don't think ntfsprogs is required for ntfs-3g. It's a different project that does similar things. Besides, I think the main part of it is included in Slackware since it is a part of the kernel.
Quote:
Originally Posted by ahmed gamal
i found ntfs-3g 1.1 and 1.8 which one is more stable
and what is Fuse?
Currently, stable ntfs-3g is ntfs-3g-1.1120 and the latest test version is ntfs-3g-1.2121-RC. This is shown clearly on the ntfs-3g homepage. I don't know where you found 1.8.
"FUSE is a simple interface for userspace programs to export
a virtual filesystem to the Linux kernel." - exert from the FUSE slackBuild page. The page also links to the source and homepage for FUSE.
Similarly, here's the ntfs-3g slackBuild page that includes a link to the homepage and source.
Use the slackbuild to build and install fuse, and then do the same for ntfs-3g. You will then need to mount your ntfs drive as ntfs-3g type (versus vfat, ext3, etc).
If you are not sure how to use a Slackbuild please read the SlackBuild HowTo.
Although you would only see added security if you locked down windows and created separate user partitions.
That's kind of a given isn't it?
For simplicity having separate user data partitions can be made transparent to the users using shortcuts and symlinks. I've done this before and people don't think anything about it. I don't generally recommend hacking Windows to point whole user profiles to a shared partition, however. Rather instead I share the "My Documents" and Desktop folders as that is what most users care about the most. Settings for most programs don't transfer over to Linux anyways, so it is pointless to share the rest of the profile. Programs like Firefox and Thunderbird are exceptions and I have developed methods to share those profiles successfully between Linux and Windows.
If you have a lot of users then you are talking about using a server that hands out your user profiles/data upon login (using LDAP and whatnot). This is what I've seen and used in University lab settings.
Not in the context of the ext2 driver... meaning if you don't lock down windows and create separate user partitions (which most don't in a home desktop environment) then there is no security difference between the 2 drivers.
So if you want to advocate the use of the ntfs-3g driver for a home user, then you need to stipulate that these steps must be taken in order to reap any of the security benefits.
I doubt Ahmed Gamal (or the average user) will bother with the extra steps, but I may be wrong.
no, I was just saying in general, for added security you need to lock down Windows. It's funny yet true.
Oh ok, I see
I wonder if Vista is more secure... I think you need to enter your password for any admin operations, Ubuntu style, so I'm assuming ntfs perms would be respected.
(And like Windows, Ubuntu overwrites your mbr/boot-loader without permission when installing. But that's a whole other topic )
Look at the other lines in fstab and use a similar format. Imagine columns of attributes are separated by spaces of some amount. man mount to learn more about the options.
Here is an example of one I use for an external drive.
Since it is an external drive I don't want it to be mounted at boot up (thus, the 'noauto'. Otherwise use 'auto'). The gid sets the group to the group with id 102, which is a special group I created on my machine for this kind of purpose. Look in /etc/group to find out what numbers correspond to which group. The umask changes what the perms will be (in this case owner and group will have rw and execute perms).
For an ntfs drive you can safely use 0's for the last two groups. You can read more about these and other options (including the useful user option) under the man page for mount.
So, simply use a text editor (such as pico) to edit the file (as root, of course) and add a single line with the settings you want for your mount point and then you are all set! If you don't use the auto option then you can manually mount the partition without specifying the options such as
Code:
mount /mnt/windows
If you want a normal user to be able to mount the partition you either need to make the user the owner of the partition, use HAL with some ntfs type plugin (so you can mount it with Konqueror, for instance), or use pmount, which is very similar to the mount command.
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24
Rep:
I know this is out of topics but I want to know can I change my filesystem to another without lose the data on it?
I use ext3 and I want to change to ext2.
I know this is out of topics but I want to know can I change my filesystem to another without lose the data on it?
I use ext3 and I want to change to ext2.
Just mount it as ext2 instead.
If you really must make sure the journal is gone you can
Code:
tune2fs -O ^has_journal /dev/your_hdd_partition
Only do this if the partition is unmounted. You should also fsck (-f) the partition afterwards.
It is a little more involved to do this if the filesystem in question is / as you have to boot into a LiveCD to take away the journal from /.
I suggest reading this document about ext2/ext3 conversions that I found with a quick Google search. You can ignore the initrd stuff unless you don't have the filesystem drivers built in your kernel.
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24
Rep:
Thanks, I ask this because I have problem with my harddisk. It always print something about dma error, after I read some posts, there's something about the kernel.
I recompile the kernel and seems no more problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.