Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
08-04-2022, 11:42 AM
|
#16
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
Ok thanks, so just paste this line in fstab save it and when I plug the drive in it should work right?
Code:
mount -o async,flush /dev/sdb/mount/usbmountpointorsomeothernameicanchoose
|
|
|
08-04-2022, 12:34 PM
|
#17
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
The command given was a cli example.
Read the man page for fstab to know the format and what each field is for with allowed content.
In general it is (where the last 2 are numbers and depend upon your wishes)
device mount-point type options ? ?
|
|
|
08-06-2022, 11:20 AM
|
#18
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
I'm not sure I follow what you're saying computersavvyy. Whats a 'cli example' ?
Also I don't understand this part, what are you referring to?
Quote:
Originally Posted by computersavvy
In general it is (where the last 2 are numbers and depend upon your wishes)
device mount-point type options ? ?
|
|
|
|
08-06-2022, 12:08 PM
|
#19
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Quote:
Originally Posted by tg550
I'm not sure I follow what you're saying computersavvyy. Whats a 'cli example' ?
|
'cli' --> command line interface.
An example that is shown for use on the command line. Often using example paths and names instead of literal as would be done on your own system.
Quote:
Also I don't understand this part, what are you referring to?
Code:
Originally Posted by computersavvy View Post
In general it is (where the last 2 are numbers and depend upon your wishes)
device mount-point type options ? ?
|
The syntax used for an entry in /etc/fstab. Look at the actual entries there and you see it is far different structure from what is used to perform a mount from the command line. 'man fstab'
Your post #16 would never work in /etc/fstab
Last edited by computersavvy; 08-06-2022 at 12:09 PM.
|
|
2 members found this post helpful.
|
08-06-2022, 12:33 PM
|
#20
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
Ok thanks, so maybe you can help me understand what and where I would put into fstab then? As I look back over the posts I just feel more confused now.
I think I understand fstab I'm just not confident editing it.
|
|
|
08-06-2022, 01:41 PM
|
#21
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,608
|
The key words from computersavvy's post were: Try it. read it. That's how you learn.
|
|
1 members found this post helpful.
|
08-06-2022, 04:15 PM
|
#22
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,428
|
|
|
1 members found this post helpful.
|
08-07-2022, 03:43 AM
|
#23
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
I pasted the following in to my fstab and it didn't help
Code:
dev/disk/by-uuid/F444938644934A6E /media/ToshibaHDD ntfs async,flush 0 0
I'm also unsure what the -o means in your post teckk, can you explain please?
Code:
mount -o async,flush /dev/sdb1 ~/mount/dir
I've read through some of the links you posted, the first one is way clearer than the other rubbish I've read on fstab, very helpful thanks.
Last edited by Timothy Miller; 08-07-2022 at 08:24 PM.
Reason: Removed personal insults.
|
|
|
08-07-2022, 07:33 AM
|
#24
|
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,428
|
Most linux commands have a man page. Open up a terminal and enter:
Code:
man fstab
man mount
You can then scroll down/up with the up/down keys. You can search for a term with the / key, then enter the search term. In this case -o. You can then jump to each occurrence of -o with the n key.
You can also make a text/pdf/html file from a man page.
Examples:
Code:
man -P cat mount > mount.txt
man mount | roff2text > mount.txt
man mount | col -b > mount.txt
man -t mount | ps2ascii - mount.txt
You are going to have to start reading the man pages. That is where the info is. Set your machine up the way that you want.
Man pages are also online.
https://www.man7.org/linux/man-pages/
http://man.he.net/
https://linux.die.net/man/
|
|
|
08-07-2022, 09:18 AM
|
#25
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
Thanks again for that helpful info, of course I'm reading everything I can find to understand better and to try and solve the problem but as a relative newcomer to Linux I'm understandably (I would hope) hesitant about editing these types of things.
The problem still isn't solved though, I edited fstab with your suggestions teckk and nothing has changed, the drive mounts automatically and the write speeds are still insanely slow at <80kb/s. Any ideas what else I can do other than sell the thing?
|
|
|
08-07-2022, 09:40 AM
|
#26
|
LQ Newbie
Registered: Apr 2020
Posts: 27
Rep: 
|
tg550
Your comment at the start of post #23
computersavvy & business_kid gave you good advice, not their fault if you don't use it.
Don't come on here insulting people who are volunteering their time & experience.
Last edited by Timothy Miller; 08-08-2022 at 04:27 PM.
Reason: removed insults.
|
|
|
08-07-2022, 10:28 AM
|
#27
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
I'm not here to be condescended to, I'm asking for help and clarification. Do you really have nothing better to do with your time and energy than stick your neck in to something that doesn't involve you and stoke the fire? Pretty pathetic if you ask me...
Last edited by Timothy Miller; 08-07-2022 at 08:24 PM.
Reason: removed personal insults
|
|
|
08-07-2022, 08:23 PM
|
#28
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,030
|
@tg550, stop the insuts to forum members. If you don't like someone's answer, you have every right to say it's not helpful, but stop using insulting language to do so. If this behaviour persists, your rights to post will be removed.
|
|
|
08-08-2022, 11:28 AM
|
#29
|
LQ Newbie
Registered: Jul 2022
Posts: 14
Original Poster
Rep:
|
Are you going to warn the other members about their conduct or is it just me? I noticed you allowed down south's comment to stand, maybe you can explain why you have double standards?
|
|
|
08-08-2022, 11:38 AM
|
#30
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,030
|
Quote:
Originally Posted by tg550
Are you going to warn the other members about their conduct or is it just me? I noticed you allowed down south's comment to stand, maybe you can explain why you have double standards?
|
It's not a double standard, it's simply a question of responding to reports. Noone reported his reply, at least 1 user reported your reply(ies). So I wasn't concerned with looking at anyone else's replies, just the ones that get reported.
|
|
|
All times are GMT -5. The time now is 04:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|