- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Mounting NTFS in linux
Operating System - Linux
1753437
Members
4845
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 09:48 PM
тАО07-09-2003 09:48 PM
Re: Mounting NTFS in linux
The basic steps are:
mkdir /mount_point
Where the "mount_point" is the name of the directory E.g. "/mnt".
chmod 777 /mnt
This sets the permissions open to everyone, however it will be superceded by the permissions of the directory that is mounted over it. E.g. if the device was a cd then the files would always be read-only.
vi /etc/fstab
Add your mount line as you've stated above then save and exit the file use :x! I use this command as it overrides file protections on the file your editing.
mount /mnt
Your filesystem should now be available. Most Linux versions can only read NTFS and will not allow you to make changes to it, but this should now be available to all users.
If it's a one-off mount you can forego the editing of "fstab" and just specify the full mount command. Eg. mount /dev/sda3 /mnt
Linux can usually work out the type of filesystem, however if it can't you can add extra options to the mount command to force it.
mkdir /mount_point
Where the "mount_point" is the name of the directory E.g. "/mnt".
chmod 777 /mnt
This sets the permissions open to everyone, however it will be superceded by the permissions of the directory that is mounted over it. E.g. if the device was a cd then the files would always be read-only.
vi /etc/fstab
Add your mount line as you've stated above then save and exit the file use :x! I use this command as it overrides file protections on the file your editing.
mount /mnt
Your filesystem should now be available. Most Linux versions can only read NTFS and will not allow you to make changes to it, but this should now be available to all users.
If it's a one-off mount you can forego the editing of "fstab" and just specify the full mount command. Eg. mount /dev/sda3 /mnt
Linux can usually work out the type of filesystem, however if it can't you can add extra options to the mount command to force it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2003 10:35 PM
тАО07-09-2003 10:35 PM
Re: Mounting NTFS in linux
The are two options that you can use to assign a filesystem to a specific user.
uid=luke,gid=luke
these will declare the user 'luke', group 'luke' as the owner of the filesystem.
so your line in /etc/fstab is:
/mountpoint /dev/hdaX ntfs uid=luke,gid=luke 0 0
This trick works well with fat32 (vfat for linux) partitions.
(I don't know if 'ntfs' is right, I never used it).
hth
Claudio
uid=luke,gid=luke
these will declare the user 'luke', group 'luke' as the owner of the filesystem.
so your line in /etc/fstab is:
/mountpoint /dev/hdaX ntfs uid=luke,gid=luke 0 0
This trick works well with fat32 (vfat for linux) partitions.
(I don't know if 'ntfs' is right, I never used it).
hth
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2003 01:05 PM
тАО07-11-2003 01:05 PM
Re: Mounting NTFS in linux
Hello!
You need to know that the suport of the ntfs
driver is for read only so you can't write
to the ntfs drive.
Caesar
You need to know that the suport of the ntfs
driver is for read only so you can't write
to the ntfs drive.
Caesar
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP