[opensuse] Always mount a USB drive with NTFS-3G?
I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop. When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default. Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how? Thanks! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Doctor Who wrote:
I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop.
When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default.
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
Thanks!
Try formatting it with Yast Partitioner and specifying a mount point. This will create an FSTAB entry, that always causes it to mount correctly. -- Use OpenOffice.org http://www.openoffice.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James Knott wrote:
Doctor Who wrote:
I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop.
When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default.
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
Thanks!
Try formatting it with Yast Partitioner and specifying a mount point.
And destroy all of his data on the disk??? Uh..... noooooooo..........
This will create an FSTAB entry, that always causes it to mount correctly.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Aaron Kulkis wrote:
James Knott wrote:
Doctor Who wrote:
I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop.
When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default.
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
Thanks!
Try formatting it with Yast Partitioner and specifying a mount point.
And destroy all of his data on the disk???
Uh..... noooooooo..........
This will create an FSTAB entry, that always causes it to mount correctly.
In oS 10.3 all NTFS partitions are mounted using the ntfs-3g driver by default. If you are using 10.3, you may use YaST2 Disk module to just create the FSTAB entries for automatically mounting; you do not need to format partitions at all. Kind regards -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 18, 2008 3:13 PM, Doctor Who
I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop.
When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default.
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
Try with ntfs-config* * http://packages.opensuse-community.org/index.jsp?searchTerm=ntfs-config&distro=openSUSE_103 -- Kind Regards Visitá/Go to >> http://www.opensuse.org
On Jan 18, 2008 1:15 PM, Gabriel .
On Jan 18, 2008 3:13 PM, Doctor Who
wrote: I have a Western Digital 250GB USB drive formatted with NTFS. I use it interchangeably with my openSUSE boxes and a Windows XP work laptop.
When I plug it into my openSUSE laptop, it mounts fine and I can browse the contents (with Konqueror, for example). But it does not let me drag files to the drive because it does not mount the drive with ntfs-3g support by default.
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
Try with ntfs-config*
* http://packages.opensuse-community.org/index.jsp?searchTerm=ntfs-config&distro=openSUSE_103
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console. Any ideas? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-01-18 at 14:22 -0500, Doctor Who wrote:
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console.
Any ideas?
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged). - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHkQtZtTMYHG2NR9URAq1XAJ9UJDSmKZfvay9HkA7hNYV6PSi3kQCgkpJJ PQOd3uS0MgEgbUIUADN4LkY= =/3Wd -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-01-18 at 14:22 -0500, Doctor Who wrote:
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console.
Any ideas?
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged).
Personally, I prefer using a volume label.... That way, it can identify that particular disk drive as needing 3G support, but if he decides to make, say an ext3 USB drive, it won't be a major annoyance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 18, 2008 8:28 PM, Aaron Kulkis
Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-01-18 at 14:22 -0500, Doctor Who wrote:
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console.
Any ideas?
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged).
Personally, I prefer using a volume label.... That way, it can identify that particular disk drive as needing 3G support, but if he decides to make, say an ext3 USB drive, it won't be a major annoyance.
So is that something like?: LABEL=WD_Passport /media/WD_Passport ntfs-3g defaults 0 0 Does it matter what the /media mount point is named? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Doctor Who wrote:
On Jan 18, 2008 8:28 PM, Aaron Kulkis
wrote: Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-01-18 at 14:22 -0500, Doctor Who wrote:
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console.
Any ideas? Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged). Personally, I prefer using a volume label.... That way, it can identify that particular disk drive as needing 3G support, but if he decides to make, say an ext3 USB drive, it won't be a major annoyance.
So is that something like?:
LABEL=WD_Passport /media/WD_Passport ntfs-3g defaults 0 0
Does it matter what the /media mount point is named?
just as long as you make sure that /media/WD_Passport exists, you're set. oh, and why do I use volume label, rather then the unique device ID? Because with a volume label, you can replace the device without having to change the fstab on every one of your computers.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 20, 2008 6:15 AM, Aaron Kulkis
just as long as you make sure that /media/WD_Passport exists, you're set.
oh, and why do I use volume label, rather then the unique device ID? Because with a volume label, you can replace the device without having to change the fstab on every one of your computers.
How do you assign a label to a device on the command line? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Chee How Chua wrote:
On Jan 20, 2008 6:15 AM, Aaron Kulkis
wrote: just as long as you make sure that /media/WD_Passport exists, you're set.
oh, and why do I use volume label, rather then the unique device ID? Because with a volume label, you can replace the device without having to change the fstab on every one of your computers.
How do you assign a label to a device on the command line?
Use fdisk. Or change it in Windows -- probably simpler to do without the risk of an accidental re-formatting. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Sunday 2008-01-20 at 23:01 -0500, Aaron Kulkis wrote:
Chee How Chua wrote:
oh, and why do I use volume label, rather then the unique device ID? Because with a volume label, you can replace the device without having to change the fstab on every one of your computers.
How do you assign a label to a device on the command line?
Use fdisk.
Notice that what fdisk call "label" is not the "label" of this conversation (man fdisk).
Or change it in Windows -- probably simpler to do without the risk of an accidental re-formatting.
Only for vfat. In linux, you can use "mlabel" for vfat partitions, "e2label" for ext2/3, "xfs_admin -L label" for xfs, "reiserfstune -l label" for reiserfs... Also, mkfs can set the label when creating some of filesystem types. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHlxYMtTMYHG2NR9URAjr8AKCJr5GoZiHZENthnjDFCpWr2660OQCgi4U+ 2QpknFSm+G8jwL+4oo0skP8= =as6f -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 23, 2008 5:25 AM, Carlos E. R.
In linux, you can use "mlabel" for vfat partitions, "e2label" for ext2/3, "xfs_admin -L label" for xfs, "reiserfstune -l label" for reiserfs... Also, mkfs can set the label when creating some of filesystem types.
- -- Cheers,
Any solution for NTFS? And where do I find mlabel. I just looked in Yast2 and don't find anything relevant when I search (OS 10.3) Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Wednesday 2008-01-23 at 13:25 -0500, Greg Freemyer wrote:
On Jan 23, 2008 5:25 AM, Carlos E. R. <> wrote:
In linux, you can use "mlabel" for vfat partitions, "e2label" for ext2/3, "xfs_admin -L label" for xfs, "reiserfstune -l label" for reiserfs... Also, mkfs can set the label when creating some of filesystem types.
Any solution for NTFS?
Dunno... You can when you create the volume with mkntfs. There is also "ntfslabel", whichs says it can set the label. There you are! "pinfo" is your friend :-P
And where do I find mlabel. I just looked in Yast2 and don't find anything relevant when I search (OS 10.3)
Tsk, tsk... its part of the mtools package. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHl4ovtTMYHG2NR9URAo4UAKCMHQVo9ISVQxttX0I2iMtj+MokXwCdGgqv /Y7qEFxYos3oC76ClGj4Ivg= =9DzK -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 24, 2008 2:40 AM, Carlos E. R.
On Jan 23, 2008 5:25 AM, Carlos E. R. <> wrote:
In linux, you can use "mlabel" for vfat partitions, "e2label" for ext2/3, "xfs_admin -L label" for xfs, "reiserfstune -l label" for reiserfs... Also, mkfs can set the label when creating some of filesystem types.
Any solution for NTFS?
Dunno...
You can when you create the volume with mkntfs. There is also "ntfslabel", whichs says it can set the label.
There you are!
"pinfo" is your friend :-P
And where do I find mlabel. I just looked in Yast2 and don't find anything relevant when I search (OS 10.3)
Tsk, tsk... its part of the mtools package.
- -- Cheers, Carlos E. R.
Thanks! Very informative. Will try it out. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-01-19 at 12:05 -0500, Doctor Who wrote:
So is that something like?:
LABEL=WD_Passport /media/WD_Passport ntfs-3g defaults 0 0
Exactly - provided ntfs labels are supported.
Does it matter what the /media mount point is named?
Not really, as long as it exists. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHkqSdtTMYHG2NR9URAuz4AJ4kXJjN0ofMIDDDMk/dybZ4xo2pvwCeJd5V NMVkNye2zkP97d8710vckUM= =wjiF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-01-18 at 20:28 -0500, Aaron Kulkis wrote:
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged).
Personally, I prefer using a volume label.... That way, it can identify that particular disk drive as needing 3G support, but if he decides to make, say an ext3 USB drive, it won't be a major annoyance.
Me too, but not all formats allow for a label. I don't know if you can mount by label an vfat partition, yast did not offer that to me, I think. And the OP is using NTFS. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHkjJJtTMYHG2NR9URAkfVAKCI/ccNa12KPKdPA985iTf7Z4GlAwCggiNr E1z9shPj4PiDCopIJREJIZ0= =7ejs -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Jan 18, 2008 3:25 PM, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2008-01-18 at 14:22 -0500, Doctor Who wrote:
Thanks. I installed the package successfully, but I don't see how it helps to mount the drive with ntfs-3g. According to the homepage, I should see a box pop-up when I plug the drive in giving me the option to be able to write to the drive, but that doesn't happen here. I *do* have ntfs-3g installed and can write to the drive if I mount it manually from a console.
Any ideas?
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged).
Not sure what you mean here...what would that look like? Would I need to create a name for it myself like /dev/disk/by-id/wd-usb or do I get the name from /var/log/messages as it's detected, or something else entirely? Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2008-01-18 at 22:22 -0500, Doctor Who wrote:
Try creating an fstab line for it, using "/dev/disk/by-id/..." as the device node (it is independent of where it is plugged).
Not sure what you mean here...what would that look like? Would I need to create a name for it myself like /dev/disk/by-id/wd-usb or do I get the name from /var/log/messages as it's detected, or something else entirely?
Trick: once the drive is mounted, and supposing you discovered it is /dev/sda1, do a grep for it: ls -l /dev/disk/by-id/ | grep sda1 You can also see it using the yast partitioner, and I suppose there are other methods I haven't investigated. Example (vfat): /dev/disk/by-id/usb-EGOMAN_Audio_Player_00311000100000000001-part1 /mnt/usb/mp3 vfat noauto,user,users,uid=cer,gid=users,fmask=0117,dmask=0007,iocharset=iso8859-1,codepage=437 0 0 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHkjEVtTMYHG2NR9URAjSTAKCW2vLWWtudffgqh5wYKzdCIOX2ogCfcEpo K9bEdyU6WCeegj+86bhTdg4= =GSSJ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Freitag, den 18.01.2008, 12:13 -0500 schrieb Doctor Who:
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
here is your solution: http://de.opensuse.org/NTFS#Automatisches_Einbinden_externer_Festplatten_mit... but it's written in german. i hope you can read & understand. -- einen schönen Tag noch, & bitte kein TOFU (http://de.wikipedia.org/wiki/TOFU) DI Rainer Klier Abteilung IT - Entwicklung ECOLOG Logistiksysteme GmbH Bauernstraße 11, A-4600 Wels Tel. ++43/7242/66200 Fax ++43/7242/66200-200 mailto:kra@ecolog.at http://www.ecolog.at Fb-Nummer 171431f Landesgericht Wels A member of TGW LOGISTICS GROUP -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rainer Klier wrote:
Am Freitag, den 18.01.2008, 12:13 -0500 schrieb Doctor Who:
Is it possible to have the drive mounted with ntfs-3g support automatically every time it's plugged in with it's own permanent mount point (like /mnt/wd/)? If so, how?
If you are on oS 10.3, just use the Yast2 Partitioner; within it you may define such parameters with no need of reformatting any partition in the drive. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (10)
-
Aaron Kulkis
-
Carlos E. R.
-
CF
-
Chee How Chua
-
Doctor Who
-
Gabriel .
-
Greg Freemyer
-
James Knott
-
Philipp Thomas
-
Rainer Klier