LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2008, 09:50 AM   #31
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73

Quote:
Originally Posted by febriansasi View Post
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 View Post
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.
 
Old 01-23-2008, 10:08 AM   #32
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by mattydee View Post
@shadowsnipes

Makes sense. I hadn't thought of that approach.

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.
 
Old 01-23-2008, 08:08 PM   #33
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Quote:
Originally Posted by shadowsnipes View Post
That's kind of a given isn't it?
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.
 
Old 01-23-2008, 10:10 PM   #34
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
@mattydee

no, I was just saying in general, for added security you need to lock down Windows. It's funny yet true.
 
Old 01-24-2008, 10:12 AM   #35
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Quote:
Originally Posted by shadowsnipes View Post
@mattydee

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 )
 
Old 01-28-2008, 12:57 AM   #36
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i tried it
it works very well
thanx for all
BUT.......
really i want to mount my drives so it can read and write automatically without typing
Quote:
mount -t ntfs-3g /dev/sda1 /mnt/windows
 
Old 01-28-2008, 01:01 AM   #37
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
Quote:
Originally Posted by ahmed gamal View Post
i tried it
it works very well
thanx for all
BUT.......
really i want to mount my drives so it can read and write automatically without typing
Change or add the entry in /etc/fstab
 
Old 01-28-2008, 09:58 AM   #38
ahmed gamal
Member
 
Registered: Aug 2005
Location: Egypt
Distribution: slackware + XP
Posts: 591

Original Poster
Rep: Reputation: 30
i am sorry
i opened fstab
and see what is inside it
i don't know what to change ????????
 
Old 01-28-2008, 11:23 PM   #39
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
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.

Code:
/dev/sda1      /mnt/P_COMPBKUP         ntfs-3g     defaults,noauto,gid=102,umask=007       0       0
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.
 
Old 02-08-2008, 07:05 AM   #40
febriansasi
LQ Newbie
 
Registered: Sep 2006
Location: /home/febrian/
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24

Rep: Reputation: 17
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.
 
Old 02-08-2008, 03:29 PM   #41
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by febriansasi View Post
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.
 
Old 02-11-2008, 12:14 AM   #42
febriansasi
LQ Newbie
 
Registered: Sep 2006
Location: /home/febrian/
Distribution: SLACKWARE Current, KDE 3.5.9, JFS on Thinkpad R61
Posts: 24

Rep: Reputation: 17
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where are my NTFS c: and FAT32 D: drives riba43 SUSE / openSUSE 21 11-27-2006 12:17 AM
dd ntfs to fat32 sr_25 Linux - Newbie 8 07-16-2006 08:03 PM
how to convert ntfs to fat32 Longinus Linux - Newbie 7 08-05-2004 06:58 AM
NTFS vs FAT32 Santorres General 21 03-18-2004 02:48 AM
NTFS vs. FAT32 44TR Linux - General 13 06-27-2003 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration