Linux - HardwareThis 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.
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.
1st I'll explain something, windoze copies to any internal or external hard drive, on-the-fly, Linux doesn't, it uses a temporary storage buffer.
When coping to a USB hard drive, yes it shows the file copying bar, but after the bar has finished Linux is still emptying the buffer, and there is no visual indication that the copying process has completely finished.
Is there a way that Ubuntu can use on-the-fly copying to USB and the copy bar reflects the true copying process?, so that when the bar has reached the end at 100%, it actually means copying has completed and the USB drive can be removed.
The problem in using umount is that I have to add myself to the sudoers file, or add myself to the root group so that I can use 'sudo umount <dev>'
The other option might work using sync, but Ubuntu uses UUID's for drive designations in the fstab file, and it changes every time the drive is re-inserted, thus adding sync as an option in fstab will not work, because of the UUID change.
There has to be a way to add the sync option to the automount command, so that when any USB storage device is attached, the automount would apply the sync option during it's mounting of the drive.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Quote:
Originally Posted by Usalabs
The problem in using umount is that I have to add myself to the sudoers file, or add myself to the root group so that I can use 'sudo umount <dev>'
If you add the option user to the mount options in fstab that won't be needed.
Quote:
The other option might work using sync, but Ubuntu uses UUID's for drive designations in the fstab file, and it changes every time the drive is re-inserted, thus adding sync as an option in fstab will not work, because of the UUID change.
Then don't use UUIDs. It is not mandatory. On the contrary, UUIDs were introduced to be sure that a certain drive would be recognized as that drive and mounted accordingly. Instead of using sba, sdb, etc which order could change during booting. You want to mount ignoring the UUID, so enter /dev/sdb, /dev/sdc in your fstab to mount USB sticks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.