LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 08-04-2022, 11:42 AM   #16
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0

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
 
Old 08-04-2022, 12:34 PM   #17
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
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 ? ?
 
Old 08-06-2022, 11:20 AM   #18
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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 View Post
In general it is (where the last 2 are numbers and depend upon your wishes)
device mount-point type options ? ?
 
Old 08-06-2022, 12:08 PM   #19
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486Reputation: 1486
Quote:
Originally Posted by tg550 View Post
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.
Old 08-06-2022, 12:33 PM   #20
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-06-2022, 01:41 PM   #21
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,608

Rep: Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617Reputation: 2617
The key words from computersavvy's post were:
Code:
man fstab
Try it. read it. That's how you learn.
 
1 members found this post helpful.
Old 08-06-2022, 04:15 PM   #22
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,428
Blog Entries: 7

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
https://www.howtogeek.com/howto/3812...-does-it-work/
https://wiki.archlinux.org/title/Fstab
https://slackwiki.com/Fstab
https://wiki.debian.org/fstab
 
1 members found this post helpful.
Old 08-07-2022, 03:43 AM   #23
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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.
 
Old 08-07-2022, 07:33 AM   #24
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,428
Blog Entries: 7

Rep: Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959Reputation: 1959
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/
 
Old 08-07-2022, 09:18 AM   #25
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 08-07-2022, 09:40 AM   #26
DownSouth
LQ Newbie
 
Registered: Apr 2020
Posts: 27

Rep: Reputation: Disabled
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.
 
Old 08-07-2022, 10:28 AM   #27
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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
 
Old 08-07-2022, 08:23 PM   #28
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,030
Blog Entries: 27

Rep: Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524
@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.
 
Old 08-08-2022, 11:28 AM   #29
tg550
LQ Newbie
 
Registered: Jul 2022
Posts: 14

Original Poster
Rep: Reputation: 0
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?
 
Old 08-08-2022, 11:38 AM   #30
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,030
Blog Entries: 27

Rep: Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524
Quote:
Originally Posted by tg550 View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Time taken to copy data from PC to External USB HDD and External USB HDD to PC will same? jegadezz Linux - Newbie 3 11-14-2017 09:22 AM
Run customised HDD driver for external HDD while generic HDD driver for bootable purpose sonia49 Linux - Newbie 1 09-28-2016 08:52 PM
Calculate transfer speed from PC to external HDD linustalman Linux - Software 3 09-04-2013 09:57 AM
Slow USB transfer rates (60kb p/s) External HDD --> Internal HDD drfrostbyte Linux - Hardware 4 03-28-2011 01:20 AM
NIC transfer speed fast... receive speed slow landev Linux - Networking 5 11-07-2006 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:43 AM.

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